Skip to content
forked from mrichman/godnsbl

Go library for RBL (Real-time Blackhole List) lookups

License

Notifications You must be signed in to change notification settings

Luzilla/godnsbl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

godnsbl Travis-CI License Go Report Card

Package godnsbl lets you perform RBL (Real-time Blackhole List - https://en.wikipedia.org/wiki/DNSBL) lookups using Golang

The command-line tool in cmd demonstrates the use of goroutines to perform concurrent lookups.

To test:

go get github.com/mrichman/godnsbl
cd $GOPATH/src/github.com/mrichman/godnsbl/cmd/godnsbl
go run main.go 127.0.0.2

The output will be a JSON-formatted list of results with the following fields:

[
...
{  
   "address":"127.0.0.2",
   "listed":true,
   "text":"Client host blocked using Barracuda Reputation, see http://www.barracudanetworks.com/reputation/?r=1\u0026ip=127.0.0.2",
   "error":false,
   "error_type":null
}
...
]

About

Go library for RBL (Real-time Blackhole List) lookups

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%