Re: [Hampshire] Search domains in resolv.conf

Etusivu
Lähettäjä: Andy Smith
Päiväys:  
Vastaanottaja: hampshire
Aihe: Re: [Hampshire] Search domains in resolv.conf

Vastaa
gpg: failed to create temporary file '/var/lib/lurker/.#lk0x57272100.hantslug.org.uk.13438': Permission denied
gpg: keyblock resource '/var/lib/lurker/pubring.gpg': Permission denied
gpg: verify signatures failed: Unknown system error
Hi Charlie,

On Wed, Oct 03, 2007 at 05:05:29PM +0100, Charlie de Courcy wrote:
> This works fine for a single session by adding 'search blah.com' into
> the top line of /etc/resolv.conf or via the networkmanager gui; however
> as soon as I restart, it overwrites the information and I lose my search
> domain.


In the dhclient.conf file you can specify some local domains to be
added on to the end of the "search" line every time. "man
dhclient.conf" look at "append".

Others take to making the /etc/resolv.conf immutable (chattr +i) so
that it can never be overwritten.

Cheers,
Andy