Subject: RE: How to Create a Local DNSBL List?
I just read the message about W2K servers and the issues… I run a Linux/BIND DNS server, so I hadn’t thought about the diffrences when I posted my previous reply.
You do NOT need a reverse-lookup zone for this to work. And unfortunately, I know of no way of importing a text file of ip addresses into W2K’s DNS Server.
That said… the bad news is this - to make a reverse-lookup zone “work” in W2K DNS, you have to make a boatload of entries…
Here’s an example. Say I wanted to block IP address 11.12.13.14. I have a “bad DNS zone” off of my ‘Root’ zone - but you could make any zone you wanted to, so long as you don’t mind resolving it (in other words, you wouldn’t want to name your zone “google.com” if you ever wanted to be able to resolve the “real” names/address for that site).
So my root AD domain is “fmpa.local” and I want to call my “bad” zone “DNSBL”. So I made a new domain (from within the fmpa.local tree) called “DNSBL”. For the lookup to process, you need to reverse-style the IP address you want to block… AND make domains for each of those octets. Ick. So here we go.
Our “bad” IP address is 11.12.13.14 - which we need to turn around to 14.13.12.11. To do this, we need to make new domains for each octet in the address, going forward from the “real” address. So from within the new dnsbl.fmpa.local, I would add a new domain called “11”.
Open that “folder”, add a new domain called “12”.
Open that folder, add a new domain called “13”.
Then add a HOST in the 13 domain called “14”, and make it point to 127.0.0.2.
Now, when you do a lookup, you should get a reply… eg,
nslookup 14.13.12.11.dnsbl.fmpa.local
should reply “127.0.0.2” if you’re using that server for your DNS from the computer you’re doing the lookup from.
Yes, it’s probably a pain in the a$$, but unless you can add another box just for these bad domains, I don’t see much of a way around it with W2K. It might actually take you LESS time to setup a Linux box with BIND8 to do the same work for you, and just use it for this special purpose. You could easily get by with a 486-class workstation for just doing this little bit of work!
Anyway. Long answer to what should be a simple problem…