An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

        

# godnsbl
Interface for querying DNSBL using GO.

## Usage
```
package main

import (
"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).