:: Re: [DNG] Weird network issue - slo…
トップ ページ
このメッセージを削除
このメッセージに返信
著者: Hendrik Boom
日付:  
To: dng
題目: Re: [DNG] Weird network issue - slow to resolve IPs
On Sat, Oct 13, 2018 at 11:52:34PM -0700, Rick Moen wrote:
> Quoting golinux@??? (golinux@???):
>
> > Well, I picked a few names at random. netflix pops up as soon as I
> > hit enter. Ditto Microsoft, outlook, Apple, twitter, instagram,
> > reddit, snapchat and facebook. Redhat is in a slower lane as is the
> > Linux Foundation. Even Ubuntu takes a while. But I don't get out
> > much so maybe some of you know some popular destinations that I
> > missed.
>
> I assume you mean using a Web browser. I would suggest starting your
> checks using 'dig'.
>
> But first, a brief interlude about _where_ your nameservice is coming
> from:
>
> If you look in /etc/resolv.conf, you'll see one or more 'nameserver'
> lines. Mine on my server is like this:
>
> $ cat /etc/resolv.conf
> search linuxmafia.com deirdre.org unixmercenary.net
> nameserver 127.0.0.1
> nameserver 198.144.192.2
> nameserver 198.144.192.4
> #nameserver 198.144.195.186
> $
>
> (If you are getting your IP address using DHCP, you are extremely likely
> to be getting passed nameserver IP addresses with your IP address lease,
> resulting in the DHCP client software overwriting /etc/resolv.conf with,
> among other things, 'nameserver nnn.nnn.nnn.nnn' information.


Is there any practical way of suppressing this overwriting?

Or is it essential for the usual coffee-shop mode? Is the
coffee-shop's DNS service is how my http: requests are hijacked to give
me an advertising and agree-to-not-show-nudity page without which they
cut me off? And whih causes my browser to cut me off if it's https:?

-- hendrik