Avi Schwartz wrote:
Hi,
In my small network, I set one machine (10.23.20.1) to be the firewall/print server/caching DNS. All the machines in the network have their name server set to 10.23.20.1 via /etc/resolv.conf:
nameserver 10.23.20.1
The problem I am having is that when I run nslookup I get the following error:
*** Can't find server name for address 10.23.20.1: Non-existent host/domain *** Default servers are not available
On the other hand, if I comment out the nameserver line from /etc/resolv.conf I can have the following session:
seahorse:/etc # nslookup Default Server: seahorse Address: 0.0.0.0
server 10.23.20.1 Default Server: [10.23.20.1] Address: 10.23.20.1 www.yahoo.com Server: [10.23.20.1] Address: 10.23.20.1 Non-authoritative answer: Name: www.yahoo.akadns.net Addresses: 216.32.74.52, 216.32.74.53, 216.32.74.54, 216.32.74.55 216.32.74.50, 216.32.74.51 Aliases: www.yahoo.com
seahorse:/etc #
The strange thing is that only nslookup complains, all other programs seem to work just fine. So the question is what is causing nslookup to error out in the first example and can I fix it?
Do you have your reverse lookups set correctly? I presume this machine handles name resolving within your network as well? Make sure you have a 20.23.10.inaddr.arpa zone in your /etc/named.conf file. Hope that helps, Chris -- Sorry everybody - all the servers at the ISP I use for email have been down for the past four days. They've come back up again, so now I have to catch up on all that mail... __ _ -o)/ / (_)__ __ ____ __ Chris Reeves /\\ /__/ / _ \/ // /\ \/ / ICQ# 22219005 _\_v __/_/_//_/\_,_/ /_/\_\ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/