TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:9160] nslookup fails in Mandrake 6.1




Obvious question, but I'll ask anyway.

Does the hosts file contain your nameservers?








Unni Nambiar <unambiar@Legato.COM> on 10/13/99 09:08:29

Please respond to tclug-list@mn-linux.org
                                                                            
                                                                            
                                                                            


                                                              
                                                              
                                                              
 To:      "Tclug-List (E-mail)" <tclug-list@mn-linux.org>     
                                                              
 cc:      (bcc: Chris Foss/Creative Business Solutions)       
                                                              
                                                              
                                                              
 Subject: [TCLUG:9160] nslookup fails in Mandrake 6.1         
                                                              







Hi,

Summary:
Name resolution refuses to work after installing Mandrake6.1 despite
correct
/etc/resolv.conf.  It gives error "Can't find server name for address
X.X.X.X: No reponse from server".  Ping with ip address works fine, so
network is okay.

Background:
I have 3 machines (RH6.0, Mandrake6.1, Win95) and a Cisco 675 router
connected to a hub.  The router connects to the outside world via DSL.  All
three machines are served addresses via DHCP using the router's built-in
DHCP server.  The router gets its address and other information from from
the ISP (USWest).

Everything works fine except for name resolution on Mandrake 6.1.  nslookup
gives error message "Can't find server name for address X.X.X.X: No reponse
from server".

I get this for both primary and secondary nameserver's in /etc/resolv.conf
which contains only the 2 nameserver entries (no search, domain etc. since
they don't apply on my network).  The DNS servers are USWest's.  I am not
running any DNS servers on my network (other than squid running its own dns
caches).

Doing some research, i found that this address indicates that reverse
address lookup (reverse.arpa zone) is not properly setup on the DNS server.
Since nslookup first tries to get the server name for the nameserver ip
addresses using reverse lookup, it fails.

Why i don't think this is a reverse address lookup issue is,

1. DNS server is USWest.
2. nslookup works fine on RH 6.0.  Even the Win95 box is able to do name
resolution.

Note also that the failure is "No response from server" i.e. timeout.

For those interested, comparing strace output of nslookup on RH6.0 and
Mandrake6.1, i can see both instances sending the request out and then
going
into a select() call.  RH6.0 successfully wakes up and proceeds, while
Mandrake 6.1 gets a timeout.

I tried replacing dhcpcd with pump for a dhcp client with no luck. I tried
using the RH6.0 nslookup on Makdrake6.1 and still no luck.

Since i installed Mandrake6.1 over ftp and didn't have that much disk space
to play with, i was selective in what packages i installed.  Could i be
missing some crucial package ?

I'm out of ideas here and don't know what else to try.  Can anybody help ?

Thanks in advance.

-Unni

---------------------------------------------------------------------
To unsubscribe, e-mail: tclug-list-unsubscribe@mn-linux.org
For additional commands, e-mail: tclug-list-help@mn-linux.org