[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: routing problem




On 22/3/21 5:17 am, Dan Ritter wrote:
ghe2001 wrote:
There are 2 computers on my LAN.  I'll call one Fast and the other Slow.  When I, for example, type ping www.cbs.com, Fast pings right away, Slow pauses for about 5 seconds ('time' says that).  When I ping something in /etc/hosts, both start right away.  On Slow, 'route' takes the 5 second pause, but 'route -n' is fast.  On Fast, both are equally snappy.

You have just described a DNS lookup problem.

-dsr-


in particular

cat /etc/resolv.conf

on each machine and then use

dig @<one of the listed DNS servers> google.com

One or more of the digs will be slow on the slow machine telling you where your DNS problems are

I'd suggest copying /etc/resolv.conf from the fast machine to slow machine, but it's often overwritten by abominations such as NetworkManager

--
Jeremy

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: