GithubHelp home page GithubHelp logo

godnsbl's Introduction

godnsbl Build Status GoDoc

godnsbl will take an IP and tell you which dnsbl(dnsrbl) that IP is listed on.

Output

Data is returned as a struct. Documentation

type DnsblReturn struct {
    Err       string      // Will always be "" unless there is an error
    Listed    bool        // If any of the dnsrbl lists contain this IP
    Count     int         // How many have blacklisted this IP
    Total     int         // How many total dnsrbl were checked
    Responses []DnsblData // List of all the responses
}

If the output was rendered to json it would look like the following below. This example would normally list 37 examples but I truncated it to save space to 3.

{
	"Err": "",
	"Listed": true,
	"Count": 32,
	"Total": 37,
	"Responses": [{
		"Status": "ok",
		"Msg": "",
		"Listed": true,
		"Name": "http.dnsbl.sorbs.net",
		"RespTime": 43,
		"Resp": "127.0.0.2"
	}, {
		"Status": "ok",
		"Msg": "",
		"Listed": true,
		"Name": "web.dnsbl.sorbs.net",
		"RespTime": 41,
		"Resp": "127.0.0.7"
	}, {
		"Status": "ok",
		"Msg": "",
		"Listed": true,
		"Name": "bl.spamcop.net",
		"RespTime": 52,
		"Resp": "127.0.0.2"
	}]
}

Currently Checks the following DNSBL

  • b.barracudacentral.org
  • bl.spamcop.net
  • dnsrbl.org
  • babl.rbl.webiron.net
  • cabl.rbl.webiron.net
  • stabl.rbl.webiron.net
  • crawler.rbl.webiron.net
  • bad.psky.me
  • http.dnsbl.sorbs.net
  • socks.dnsbl.sorbs.net
  • misc.dnsbl.sorbs.net
  • smtp.dnsbl.sorbs.net
  • web.dnsbl.sorbs.net
  • spam.dnsbl.sorbs.net
  • escalations.dnsbl.sorbs.net
  • zombie.dnsbl.sorbs.net
  • recent.spam.dnsbl.sorbs.net
  • dyna.spamrats.com
  • spam.abuse.ch
  • rbl.interserver.net
  • tor.dan.me.uk
  • torexit.dan.me.uk
  • dnsbl-1.uceprotect.net
  • dnsbl-2.uceprotect.net
  • dnsbl-3.uceprotect.net
  • cbl.abuseat.org
  • spam.spamrats.com
  • ips.backscatterer.org
  • truncate.gbudb.net
  • psbl.surriel.com
  • db.wpbl.info
  • bl.spamcannibal.org
  • dnsbl.inps.de
  • bl.blocklist.de
  • rbl.megarbl.net
  • all.s5h.net
  • srnblack.surgate.net

godnsbl's People

Contributors

nerdbaggy avatar

Stargazers

Jorrit Klein Bramel avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.