Skip to content

Reads one or more DNSBL hosts from stdin and checks if the IP address is listed

License

Notifications You must be signed in to change notification settings

c-rack/dnsblcheck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dnsblcheck, reads one or more DNSBL hosts from stdin and checks if the IP address is listed

dnsblcheck is a command-line utility written in Go to check if an IP address is listed at a DNS-based Blackhole List (DNSBL).

An example list of DNSBL hosts is included (original source).

If the IP address is listed, the DNS TXT record is printed to stdout and program exits with status code 1.

Installation

You need a working Go installation to compile dnsblcheck.

git clone https://github.com/c-rack/dnsblcheck
cd dnsblcheck
go build

Usage

cat dnsbl.txt | ./dnsblcheck 127.0.0.1

License

Copyright (C) 2013 Constantin Rack

Licensed under the MIT License.

About

Reads one or more DNSBL hosts from stdin and checks if the IP address is listed

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages