Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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
Last edited by davidmuraya; 09-09-2008 at 04:27 AM..
Reason: Clarity
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.
Distribution: OpenBSD 4.5-beta, OS X 10.5.6, CentOS 4 & 5
Posts: 3,631
Thanked: 14
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.
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.
Thanks.
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
I just noticed the I'm using IPs for the NS records, and that I have a trailing period. I'm honestly not sure why I did that, normal fully-qualified hostname (with period) should work fine. My reverse zone is working correctly with bind 9.4.x though.
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.
I just noticed the I'm using IPs for the NS records, and that I have a trailing period. I'm honestly not sure why I did that, normal fully-qualified hostname (with period) should work fine. My reverse zone is working correctly with bind 9.4.x though.
thanks a bunch!
That was definately the problem!
It is now working perfectly!!!!
Thanks again
It has even become faster in resolving.
Last edited by davidmuraya; 09-12-2008 at 05:20 AM..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.