Re: can dhcp send multiple search list entries for /etc/resolv.conf?
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 lists@feilner-it.net,
>
> On Fri, 12 Aug 2005 14:28:04 +0200
> lists@feilner-it.net 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
> joerg@schuetter.org http://www.lug-untermain.de/
>
Reply to: