I have bind 9.8 on FreeBSD 9.1-RC running as a recursive resolver and authoratative primary for a private subnet. Windows users on our LAN complain periodically that they're unable to access our local servers. On investigation it turned out to be a name resolution failure.
The funny thing is that doing an nslookup on the windows clients for say http://www.xxx.ac.lk works fine. However, if I try to ping http://www.xxx.ac.lk or access it in the browser I get a hostname lookup failure (Accessing http://www.xxx.ac.lk by its IP works just fine.)
So why is the name lookup failing in ping and the in the browser, while nslookup of the name works just fine?
The funny thing is that doing an nslookup on the windows clients for say http://www.xxx.ac.lk works fine. However, if I try to ping http://www.xxx.ac.lk or access it in the browser I get a hostname lookup failure (Accessing http://www.xxx.ac.lk by its IP works just fine.)
So why is the name lookup failing in ping and the in the browser, while nslookup of the name works just fine?