Path: csiph.com!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Dan Purgert Newsgroups: alt.os.linux Subject: Re: resolv.conf Date: Sun, 5 May 2019 14:00:13 -0000 (UTC) Organization: A noiseless patient Spider Lines: 61 Message-ID: References: Injection-Date: Sun, 5 May 2019 14:00:13 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="7bee1f962854a4f3c19804ee1a4a334e"; logging-data="7797"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/io4p4pFJ28pwvkN9YeM4Lsuef03om70Y=" User-Agent: slrn/1.0.3 (Linux) Cancel-Lock: sha1:mknvgHYiSRGnYuyXBRqPDLF5U+U= Xref: csiph.com alt.os.linux:56081 -----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