Re: [Hampshire] Search domains in resolv.conf

Top Page
Author: Hugo Mills
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] Search domains in resolv.conf

Reply to this message
gpg: failed to create temporary file '/var/lib/lurker/.#lk0x57431100.hantslug.org.uk.3135': Permission denied
gpg: keyblock resource '/var/lib/lurker/pubring.gpg': Permission denied
gpg: Signature made Thu Oct 4 11:03:49 2007 BST
gpg: using DSA key 20ACB3BE515C238D
gpg: Can't check signature: No public key
On Thu, Oct 04, 2007 at 10:50:07AM +0100, Charlie de Courcy wrote:
> So I've been playing with settings this morning.
>
> Ubuntu feisty seems to have defaulted to the dhcp3 client.
>
> I've been going through the man and I can use 'supersede' or 'append' to 
> modify the search domain.
> ie. supersede creates -   search my.comdefault.com
> append created -            search default.commy.com

>
> I can't seem to make it create:
>
> search default.com
> search my.com


Why do you need two separate "search" statements? You probably need
only one, with the search domains space separated on the same.

> The man says to use 'append [ option declaration ]' but doesn't seem to
> state exactly what those options are?


The options are any DHCP options (probably as defined in the dhcpd3
server config file in this case). If you look at the sample config
file at the end of the man page, it uses:

interface "ep0" {
[...]
    supersede domain-name "fugue.com rc.vix.com home.vix.com";
[...]
}


I'd suggest that this is what you probably need (where "ep0" is the
name of your network interface).

Hugo.

-- 
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
              --- Python is executable pseudocode; perl ---              
                        is executable line-noise.