DNS problem

DNS problem

Post by CJ Ferguso » Thu, 26 Jul 2001 06:03:16



I have a linux-2.4.5 box connected to the Internet via PacBell DSL. My box
is also doing NAT and masquerading duties for my internal network. A problem
has risen recently with DNS. A week or so ago, I noticed that my Internet
connection speed was slowing down. I checked my linux box and discovered
that I was getting dropped packets whenever I pinged a node beyond my
gateway. I restarted the box and eveything seemed fine. Now, I am
encountering the problem again, and a reboot does not clear it up. Here's
the symptoms. When I use "ping -c 20 www.business.com", I usually receive >
30% packet loss. At the same time I am running the ping, I am using ethereal
to watch the traffic on my DSL interace(eth0). On ethereal's output, I see a
DNS query to the primary DNS server(dns1), a correct reply, 20 ICMP ping
requests AND replies. Also, I see queries to the secondary DNS server. It
seems odd to me that ping reports packet loss while ethereal reports all
request packets answered. Another item is that if I ping by IP address, I
experience no packet loss. I am looking for suggestions on how to track down
this problem. I suspect the problem may be with PacBell, but I need more
evidence before I go after them.

Any ideas?

CJ

 
 
 

DNS problem

Post by Karl Heye » Sun, 29 Jul 2001 04:35:42




> I have a linux-2.4.5 box connected to the Internet via PacBell DSL. My box
> is also doing NAT and masquerading duties for my internal network. A problem
> has risen recently with DNS. A week or so ago, I noticed that my Internet
> connection speed was slowing down. I checked my linux box and discovered
> that I was getting dropped packets whenever I pinged a node beyond my
> gateway. I restarted the box and eveything seemed fine. Now, I am
> encountering the problem again, and a reboot does not clear it up. Here's
> the symptoms. When I use "ping -c 20 www.business.com", I usually receive >
> 30% packet loss. At the same time I am running the ping, I am using ethereal
> to watch the traffic on my DSL interace(eth0). On ethereal's output, I see a
> DNS query to the primary DNS server(dns1), a correct reply, 20 ICMP ping
> requests AND replies. Also, I see queries to the secondary DNS server. It
> seems odd to me that ping reports packet loss while ethereal reports all
> request packets answered. Another item is that if I ping by IP address, I
> experience no packet loss. I am looking for suggestions on how to track down
> this problem. I suspect the problem may be with PacBell, but I need more
> evidence before I go after them.

> Any ideas?

A couple of possibilities.

change the DNS server you use to something else like one of the root name
servers or install the caching name server.

ping the DNS by name then by IP, see what the error rate are?

traceroute <DNS server>

karl.