How to stop someone from doing a host -l on your domain...

goldboyd

Golden Member
Oct 12, 1999
1,932
0
0
I have a dns server running bind 8.2.4 and was wondering how I can stop somebody from doing a host -l and getting all the hosts i have setup for that domain.

thanks
 

Damaged

Diamond Member
Oct 11, 1999
3,020
0
0
Yah.

options {
allow-transfer { xxx.xxx.xxx.xxx; };

host -l does a zone transfer, then filters out what you specifically requested is all.

If you're running secondaries (slaves in BIND 4 terminology) make sure you allow those hosts.
 

Damaged

Diamond Member
Oct 11, 1999
3,020
0
0
Oh yeah! And glad to see you're running an up to date version of BIND and are security conscious. I can't tell you how many purported web hosting companies I've run into that allow full zone transfers of their records. BAD! VERY, VERY BAD and those so-called system administrators/engineers should be ashamed. :)