Re: DNS Resolution Pt. 2


Subject: Re: DNS Resolution Pt. 2
From: Nic Ferrier (nferrier@tapsellferrier.co.uk)
Date: Mon Jan 22 2001 - 05:37:59 MST


>>> "Dr. Alfonso F. Agnew" <aagnew@mail.smu.edu> 22-Jan-01 4:50:06 AM
>>>

>I can ping numerical ip's including my nameservers,
>but not I didn't originally try nslookup (I couldn't find
>it nor the nsswitch.conf file discussed in my copy of
>"Running Linux"). This is what I get:

>[root@localhost /root]# nslookup sun.com
>*** Can't find server name for address 129.116.64.10:
>No response from server

>I know for sure that the ip addresses are correct and
>that they are the dns servers for my university ppp
>account, since they work on the macos side.
>In fact, I've been using these dns servers with linux
>for over a year, before I hosed my system! I've done
>a reinstall (default) from my ydlcs1.2 (and linuxppc2000)
>cd's, and that's how I've come to this problem.
>I solved this by accident a year ago, so I don't have a
>solution written down. Perhaps it would help to know that
>the problem exists even when I use my old /etc directory
>from before this latest install, when I had everything working
>nicely. I do have the bind and caching-nameserver rpms
>installed, so the /etc/nsswitch.conf, and /etc/host.conf
>files are default for caching dns only.

I think what's happening is that your PPP connection is not the
default route.

From looking at your netstat details:

>[root@localhost /root]# netstat -rn
>Kernel IP routing table
>Destination Gateway
>129.119.251.5 0.0.0.0
>127.0.0.0 0.0.0.0
>0.0.0.0 129.119.251.5

And looking at my own PPP stuff:

Dest Gateway
m.n.o.p 0.0.0.0
0.0.0.0 a.b.c.d

where:
  a.b.c.d is my PPP address
  m.n.o.p is the endpoint address

So in your situation this would be:

129.119.251.5 0.0.0.0
0.0.0.0 129.119.251.31

But I'm not sure the two are analagous since the networks of my 2
hosts are different. PPP is also not my primary connection.

Anyway... it is something to do with default routes.

I bet you can telnet 129.119.251.5 can't you.

Nic



This archive was generated by hypermail 2a24 : Mon Jan 22 2001 - 05:26:52 MST