Re: DNS Resolution Pt. 2


Subject: Re: DNS Resolution Pt. 2
From: Dr. Alfonso F. Agnew (aagnew@mail.smu.edu)
Date: Sun Jan 21 2001 - 21:50:06 MST


Thanks N. Ferrier, J. Bertsch, K. Suska, and V. Duperron for your
replies!

In reply to the various questions:

I do have a resolve.conf file that I believe is correct (see below for
its content). I did try using 'search' instead of 'domain' in that file
with no improvement.

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
*** Can't find server name for address 129.116.64.8: No response from
server
*** Can't find server name for address 129.116.3.2: No response from
server
*** Default servers are not available

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.

My /etc/host.conf file contains:
order hosts,bind
multi on

My /etc/hosts file contains:
127.0.0.1 localhost localhost.localdomain

Please see the original message, included below, for /etc/resolve.conf,
netstat and ifconfig output, and ping output. I am particularly
unqualified to read a routing table....

Thanks 10^6!!!!

Alfonso

Network Gurus,

I have my dialup ppp connection working, but dns resolution is not
working. I can connect and ping an ip address, but not a url. Here's
is a transcript of a troubleshooting session. During my installation, I

chose not to install bind, but just the caching nameserver rpm, since I
use remote dns's (see my resolve.conf below). Installing bind later did

not help. If helpful I could include a `ps -lA' for further trouble
shooting help.

Please help! Thanks!
Alfonso

P.S. I have done my homework on ppp,dns,route, via` man (topic)',
reading "Running Linux", and more. I still can't see what's wrong, so
I'm still missing something....

*************************************

[root@localhost /root]# ifconfig
lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          UP LOOPBACK RUNNING MTU:3924 Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0

ppp0 Link encap:Point-to-Point Protocol
          inet addr:129.119.251.31 P-t-P:129.119.251.5
Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
          RX packets:15 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:10

**************************************************

[root@localhost /root]# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt

Iface
129.119.251.5 0.0.0.0 255.255.255.255 UH 0 0 0

ppp0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0

lo
0.0.0.0 129.119.251.5 0.0.0.0 UG 0 0 0

ppp0

**************************************************
[root@localhost /root]# cat /etc/resolv.conf
domain smu.edu #kppp temp entry
nameserver 129.116.64.10 #kppp temp entry
nameserver 129.116.64.8 #kppp temp entry
nameserver 129.116.3.2 #kppp temp entry

**************************************************

[root@localhost /root]# ping 129.119.251.5
PING 129.119.251.5 (129.119.251.5) from 129.119.251.31 : 56(84) bytes of

data.
64 bytes from 129.119.251.5: icmp_seq=0 ttl=255 time=1247.0 ms
64 bytes from 129.119.251.5: icmp_seq=1 ttl=255 time=250.7 ms
64 bytes from 129.119.251.5: icmp_seq=2 ttl=255 time=170.0 ms
64 bytes from 129.119.251.5: icmp_seq=3 ttl=255 time=130.0 ms

--- 129.119.251.5 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 130.0/449.4/1247.0 ms

***************************************************

[root@localhost /root]# ping mail.smu.edu
ping: unknown host mail.smu.edu



This archive was generated by hypermail 2a24 : Sun Jan 21 2001 - 21:52:37 MST