Socket
Socket
Sign inDemoInstall

github.com/mrichman/godnsbl

Package Overview
Dependencies
0
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    github.com/mrichman/godnsbl

Package godnsbl lets you perform RBL (Real-time Blackhole List - https://en.wikipedia.org/wiki/DNSBL) lookups using Golang JSON annotations on the types are provided as a convenience.


Version published

Readme

Source

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
}
...
]

FAQs

Last updated on 22 Jun 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc