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

Re: Slow connections - DNS problems?



On Tue, Mar 23, 2021 at 10:32:27PM -0700, Charlie Gibbs wrote:
> I read Usenet (including this mailing list via the newsgroup
> linux.debian.user) on my laptop. so I can keep up from anywhere.
> It works well, but at home it takes 20 or 30 seconds to connect
> to my NNTP server, newsguy.com.  If I take my laptop to the office
> and run slrnpull there, it connects instantly.  I've mentioned this
> to people in the past, and the consensus seems to be that it's some
> sort of DNS problem.
> 
> My laptop is running NetworkManager.  When I wake it up at
> a new location, resolv.conf (which is actually a link to
> /run/NetworkManager/resolv.conf) gets overwritten with
> information that works where I now am.  At the office,
> it's simply:
> 
> # Generated by NetworkManager
> nameserver 192.168.1.5
> nameserver 192.168.1.1
> 
> while at home it becomes more intricate:
> 
> # Generated by NetworkManager
> search telus
> nameserver 192.168.0.1
> nameserver 75.153.171.122
> nameserver 2001:568:ff09:10a::56
> # NOTE: the libc resolver may not support more than 3 nameservers.
> # The nameservers listed below may not be recognized.
> nameserver 2001:568:ff09:10b::122
> 
> My home router (supplied by Telus, notice the "search" line)
> shows two DNS addresses - 75.153.176.1 and 75.153.171.122 -
> on its configuration screen.  The second address (but not the
> first) winds up in resolv.conf.  The router is at 192.168.0.1.
> Dunno about those IPv6 addresses; I've made no conscious effort
> to use IPv6 anywhere.
> 
> I suspect there's something fishy about that home resolv.conf;
> can one of you gurus suggest what it might be?

The 20-30 seconds hint at a DNS timeout.

Try removing your first entry (192.168.0.1) from resolv.conf and
see whether this changes (don't restart, NM will clobber your
changes!)

Of course, the above isn't a permanent solution, just a first
troubleshooting step. If it doesn't help, we've got to look
elsewhere.

If it helps, that means that your home router (presumably that
192.168.0.1) is announcing itself as a DNS but isn't up to the
task and doesn't answer queries. That means that you either
convince it to do its job properly, or you convince your NM
to ignore it as a DNS (for NM I can't help you: I dislike that
guy :)

Cheers
 - t
> 
> -- 
> cgibbs@surfnaked.ca (Charlie Gibbs)
> 

Attachment: signature.asc
Description: Digital signature


Reply to: