Update the values in config.json:
{
"listenHost": "0.0.0.0", // Listening host
"listenPort": "53", // Listening port (DNS requests default to port UDP 53)
"hostBase": "rbl.iheardyouliek.com", // The base hostname requests will be prepended to.
"standardResponse": "127.0.0.2", // The response returned when there's a match.
"logfile": "./access.log" // Path to the file used for logging.
}
####Example output:
[root@desktop andrew]# host 2.0.0.127.rbl.iheardyouliek.com
2.0.0.127.rbl.iheardyouliek.com has address 127.0.0.2
[root@desktop andrew]# dig txt 2.0.0.127.rbl.iheardyouliek.com +short
"cbl.abuseat.org"
"multi.surbl.org"
"bl.spamcannibal.org"
"spam.abuse.ch"
"b.barracudacentral.org"
"bl.spamcop.net"
"spam.dnsbl.sorbs.net"
"dnsbl.sorbs.net"
- b.barracudacentral.org - Barracuda - (Requires sign-up)
- bl.spamcop.net - Spamcop
- dnsbl.sorbs.net - Sorbs](http://sorbs.net) (Aggregate Zone)
- spam.dnsbl.sorbs.net - Sorbs (Spam specific)
- cbl.abuseat.org - Composite Blocking List
- zen.spamhaus.org - Spamhaus
- multi.surbl.org - Multi SURBL
- bl.spamcannibal.org - Spam Cannibal
- spam.abuse.ch - Swiss Security - Abuse.ch
- ubl.unsubscore.com - The Unsubscribe Blacklist(UBL)
- dnsbl-3.uceprotect.net - UCEPROTECT Network
- [Server] Figure out why each request has two packets, resulting in two log entries.
Ran from cli:
rbl.js
[root@phoenix rbl]# ./rbl.js 127.0.0.2
Barracuda has your IP on it's blacklist!
SpamCop has your IP on it's blacklist!
Sorbs Aggregate Zone has your IP on it's blacklist!
Composite Blocking List has your IP on it's blacklist!
Sorbs spam.dnsbl Zone has your IP on it's blacklist!
Spam Cannibal has your IP on it's blacklist!
Multi SURBL has your IP on it's blacklist!
dnsbl.abuse.ch has your IP on it's blacklist!