ls -d

Ejaz mejaz at cyberia.net.sa
Mon Aug 11 13:43:25 UTC 2008


Dear all, 
I have two dns server with same version of bind and with similar configuration, 

When ever i go with my ns2 (ns2.cyberia.net.sa)  server into nslookup mode, any can  can run the command: ls -d "domain name" as an arugement and gettting full dump information about that domain. 

Please can any one guide me that How do I set up my Bind to not show my domain if someone does this(ls -d "domainname")  to me. 


Eg: > "ls -d okaz.com.sa" It is showing all the info about the zone, 
[ns2.cyberia.net.sa]
 okaz.com.sa.                   SOA    ns1.cyberia.net.sa root.cyberia.net.sa
2005032204 43200 4320 1209600 21600)
 okaz.com.sa.                   NS     ns1.cyberia.net.sa
 okaz.com.sa.                   NS     ns2.cyberia.net.sa
 okaz.com.sa.                   MX     10   mail.okaz.com.sa
 okaz.com.sa.                   MX     20   sund.cyberia.net.sa
 mail.editorial                 CNAME  mail.okaz.com.sa
 ftp                            A      212.119.73.52
 localhost                      A      127.0.0.1
 mail                           A      212.119.73.51
 news                           A      212.119.67.85
 web-email                      A      212.119.73.56
 webmail                        A      212.119.73.54
 wts01                          A      212.118.103.173
 wts02                          A      212.118.103.174
 www                            A      212.119.67.86


Regards


More information about the bind-users mailing list