Hello @ll,

setting multiple search domains in dhcp works, we're using ist here at work
since we also have multiple domains (thanks to M$ Active directory...).
You have to set the following options in the dhcpd.conf:

option domain-name "foo.domain.tld";
option domain-search-list code 119 = text;
option domain-search-list "foo1.domain.tld foo2.domain.tld...";

One funny thing that it ONLY works for WIN32 at the moment, I haven't figured
out why - my linux box only gets the first entry...
But, since we have almost only WIN2k workstations, it's okay and more an
academic question for us why Linux doesn't like it...

Have a nice hackin',

Harald

On Fri, Aug 12, 2005 at 03:01:51PM +0200, Jrg Schtter wrote:
> Hello [EMAIL PROTECTED],
> 
> On Fri, 12 Aug 2005 14:28:04 +0200
> [EMAIL PROTECTED] wrote:
> 
> > Hello, 
> > I have a setup where I need several searchlist entries in my 
> > clients' /etc/resolv.conf like in this example:
> > ---------------------
> > nameserver 192.168.0.2
> > search feilner-it.localnet wlan.feilner-it.localnet vpn.feilner-it.localnet
> > ---------------------
> > This works perfect for our name resolution. if the host can not
> > be resolved in feilner-it.localnet, the client tries
> > wlan.feilner-it.localnet and then vpn.feilner-it.localnet.
> > 
> > My question is: 
> > Can I have this data sent by dhcp?
> 
> No, the dhcp protocol has no option for this data.
> 
> J?rg
> 
> -- 
> J?rg Sch?tter                      http://www.schuetter.org/joerg
> [EMAIL PROTECTED]                http://www.lug-untermain.de/
> 

Reply via email to