https://github.com/dutchcoders/godnsbl
Interface for querying DNSBL using GO.
https://github.com/dutchcoders/godnsbl
Last synced: 3 months ago
JSON representation
Interface for querying DNSBL using GO.
- Host: GitHub
- URL: https://github.com/dutchcoders/godnsbl
- Owner: dutchcoders
- License: mit
- Created: 2015-02-01T21:17:19.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-01T21:20:55.000Z (over 10 years ago)
- Last Synced: 2023-08-03T21:05:35.038Z (almost 2 years ago)
- Language: Go
- Size: 133 KB
- Stars: 5
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# godnsbl
Interface for querying DNSBL using GO.## Usage
```
package mainimport (
"github.com/dutchcoders/godnsbl"
"net"
)func main() {
ip := net.ParseIP("1.2.3.4")var result dnsbl.Result
var err error
if result, err := dnsbl.Check(test.blacklist, net.ParseIP(test.got)); err != nil {
panic(err)
}fmt.Println("%#v", result)
}
```## Contributions
Contributions are welcome.
## Creators
**Remco Verhoef**
-
-## Copyright and license
Code and documentation copyright 2011-2014 Remco Verhoef.
Code released under [the MIT license](LICENSE).