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


Groups > alt.os.linux > #56082

Re: resolv.conf

From "J.O. Aho" <user@example.net>
Newsgroups alt.os.linux
Subject Re: resolv.conf
Date 2019-05-05 17:34 +0200
Message-ID <gj8e48Fm6meU1@mid.individual.net> (permalink)
References <gj86j5Fkj77U1@mid.individual.net>

Show all headers | View raw


On 05/05/2019 15.25, 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.

No, but you got it from the DHCP server you got your local ip from, 
which in it's own turn got it from the DHCP server which provided it 
with an ip.

As I wrote in your earlier thread, what you get depends on the 
combination of the DHCP server and your DHCP client settings.

If you don't want the search value or want to set something you want, 
configure your /etc/dhcp/dhclient.conf


> 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.

Say you just type:
ssh mymediacenter

instead of

ssh mymediacenter.example.org

you save some typing. In your case it's like a fallback in case you were 
looking for a subdomain in your domain.

-- 

  //Aho

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