Cannot find server name though DNS works
Hi,
I have configured a small zone in Bind 9 for a small intranet. When I use the nslookup command on a Windows box, it shows Default server: cannot find server name though it the remote DNS (The Fedora 9 Machine running the bind) resolves the name to IP. How can I configure it to show Default Server: server1.example.com Address: 192.168.XXXXX.XXX |
How is the windows box receiving the default server?
Most of the time dhcp will do that, so you should configure dhcpd.conf properly. Otherwise you have to go to (windows box) network-tcpip-properties-advanced-dns tab and enter your dns server manually. |
is the search path set in the /etc/resolv.conf ?
like on the server /etc/resolv.conf search blahfassel.local nameservers 127.0.0.1 and at the clients /etc/resolv.conf search blahfassel.local nameserver 172.100.1.1 ??? |
Windows nslookup will complain if the DNS server doesn't have a reverse-DNS entry for it's own IP. You need to properly setup the in-addr.arpa zone for your subnet.
|
Quote:
I probably think this is the problem. I tried inserting reverse dns entries but it kept showing errors ie. NS record not found etc. Could u post a in-addr.arpa zone |
PHP Code:
|
ok, wonderful, as I see but 1st I guess that you know already that there is a correct reverse zone need.
So did you try what I've told you? In the DHCP config the option is domain-name "blahfassel"; I had once exactly this case, and there was a well configured reverse zone as well as a forward zone. But "nslookups" from the clients failed. So after I've adjusted the dhcp to the above mentioned option it worked. |
Quote:
thanks a bunch! That was definately the problem! It is now working perfectly!!!! Thanks again It has even become faster in resolving. |
All times are GMT -5. The time now is 06:27 PM. |