Re: DNS Resolution Pt. 2

Subject: Re: DNS Resolution Pt. 2
From: Dr. Alfonso F. Agnew (
Date: Sun Jan 21 2001 - 21:50:06 MST

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

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
*** Can't find server name for address No response from
*** Can't find server name for address No response from
*** Can't find server name for address No response from
*** 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: 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!!!!


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!

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: Mask:
          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: P-t-P:
          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 UH 0 0 0

ppp0 U 0 0 0

lo UG 0 0 0


[root@localhost /root]# cat /etc/resolv.conf
domain #kppp temp entry
nameserver #kppp temp entry
nameserver #kppp temp entry
nameserver #kppp temp entry


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

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

--- 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
ping: unknown host

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