Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.os.linux > #56081

Re: resolv.conf

From Dan Purgert <dan@djph.net>
Newsgroups alt.os.linux
Subject Re: resolv.conf
Date 2019-05-05 14:00 +0000
Organization A noiseless patient Spider
Message-ID <slrnqctr3d.n0k.dan@djph.net> (permalink)
References <gj86j5Fkj77U1@mid.individual.net>

Show all headers | View raw


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Mike Easter wrote:
> /etc/resolv.conf has a search line which in my case contains a domain
> name.
>
> That content was not populated by me.

Upstream DHCP server provided it.

>
> The/My router also contains that same domain name information which also 
> was not populated by me.

ISP DHCP server provided it.

>
> To me, that means that domain name was provided by the protocol 
> automatic DHCP, the same source of my WAN IP address and DNS server IPs; 
> and then some process initiated by my system, not me, populated the 
> resolv.conf with that string.

Dynamic Host Configuration Protocol is kinda nice like that, innit?

>
> I understand a little bit about the theoretical usefulness of that 
> domain name in some local network situations, but it is NOT valuable in 
> my case, and is potentially a source of 'misinformation' if certain 
> requests tack on the search domain name:
>
> theoretical example, if resolv.conf contains:
>
> search example.com
>
> Trying to resolve w3.org problem recently discussed here at some point 
> wanted to resolve w3.org.example.com.  Ridiculous.

That shouldn't happen, as ".org" is already a TLD.  Only way I can see
that happening is if the DNS server responded in the negative to
"w3.org" (so then w3.org.searchdomain was tried).

But then, it's been a while since I've read up on how DNS queries get
searchdomains tacked on.

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEBcqaUD8uEzVNxUrujhHd8xJ5ooEFAlzO7GwACgkQjhHd8xJ5
ooEWQwf/Tr2TPL2MqnbD0OYV1YbY6v2IOWh34QK/DAn8i/VbXQfMKT7rzU4eij0u
rZj8c43v9S29ZBQ+oVS/JaHa+eAF3gbLfvz3u9/MZyBCz6pveZdUaYlHVrCZEEB2
AsxWJKP9UC5E1mMY7QfCs9GqWBDi0hkTeumkY8BoYP82hW6tRQentOaQHiIBBO87
ZBsxnJwNSwgz92qCnu8u5pJxtqm2QYCNIZOMfZW3gxbR2k1c3ne88/Y0+ByRGYOk
WuIVYM84hhKBDSDF5HsKDloaOUAmbVbCsN+RdR3NiNtg1aYvVulCutcJQsFd8LXM
2SIgbwPZ9Q80xVGx507vH/dV/rUv0Q==
=9GED
-----END PGP SIGNATURE-----

-- 
|_|O|_| 
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5  4AEE 8E11 DDF3 1279 A281

Back to alt.os.linux | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

resolv.conf Mike Easter <MikeE@ster.invalid> - 2019-05-05 06:25 -0700
  Re: resolv.conf "Carlos E. R." <robin_listas@es.invalid> - 2019-05-05 15:39 +0200
  Re: resolv.conf Dan Purgert <dan@djph.net> - 2019-05-05 14:00 +0000
  Re: resolv.conf "J.O. Aho" <user@example.net> - 2019-05-05 17:34 +0200
    Re: resolv.conf Mike Easter <MikeE@ster.invalid> - 2019-05-05 09:02 -0700
  Re: resolv.conf Mike Easter <MikeE@ster.invalid> - 2019-05-05 08:47 -0700
    Re: resolv.conf "J.O. Aho" <user@example.net> - 2019-05-05 18:08 +0200
      Re: resolv.conf Mike Easter <MikeE@ster.invalid> - 2019-05-05 09:17 -0700
        Re: resolv.conf Mike Easter <MikeE@ster.invalid> - 2019-05-05 09:31 -0700
          Re: resolv.conf Mike Easter <MikeE@ster.invalid> - 2019-05-05 16:39 -0700
            Re: resolv.conf "J.O. Aho" <user@example.net> - 2019-05-06 07:52 +0200
              Re: resolv.conf Mike Easter <MikeE@ster.invalid> - 2019-05-06 09:30 -0700
                Re: resolv.conf "J.O. Aho" <user@example.net> - 2019-05-06 19:13 +0200
                Re: resolv.conf Mike Easter <MikeE@ster.invalid> - 2019-05-06 12:03 -0700
            Re: resolv.conf "Carlos E. R." <robin_listas@es.invalid> - 2019-05-06 09:14 +0200
        Re: resolv.conf Grant Taylor <gtaylor@tnetconsulting.net> - 2019-05-05 10:37 -0600
  Re: resolv.conf Grant Taylor <gtaylor@tnetconsulting.net> - 2019-05-05 10:35 -0600

csiph-web