[GRLUG] Persistant search domain

L. V. Lammert lvl at omnitec.net
Wed Mar 28 22:41:48 EDT 2012


> We can't help you if we can't guess what's causing your search domain
> to be updated. I suppose we could assume you're using a relatively
> default installation of dhcpcd... but telling us your distro,
> etc. would eliminiate some of this guessing.
>
Ahh, .. does nobody use WiFi? Selecting a different connection
automatically rewrited resolv.conf based on the connection profile and
DHCP information from the router.

That would be common across the board.

> If you're using dhcpcd, you can always edit /etc/resolv.conf.head or
> /etc/resolv.conf.tail
>
Interesting, .. have to check that out - thanks! I had not seen any
evidence they would actually be supported without an 'include' section in
resolv.conf, a la bash.bashrc.local.

> If I am reading resolv.conf(5) correctly, the last search' line wins so
> inserting `search my-domain.com' into /etc/resolv.conf.tail would force
> `my-domain.com' to be your search domain.
>
It certainly would *IF* there were a way to set a persistant search domain
(hint, the subject <g>!).

	Lee


More information about the grlug mailing list