[Dnsmasq-discuss] Multiple search domains

Ken Restivo ken@restivo.org
Sat, 16 Apr 2005 19:38:30 -0700


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I've just switched over to dnsmasq from ISC dhcpd, and I'm quite pleased.

One thing that I really miss from ISC-land, though, is the ability to specify more than one search domain.

i.e. I used to put "home.restivo.org restivo.org" into domain_name in dhcpd.conf, and sure enough it would serve up two search domains. My client resolv.conf's would read "search home.restivo.org restivo.org" and everything worked fabulously. 

Alas, I haven't figured out how to get dnsmasq to accept more than one domain with separating whitespace for the "domain" option.

Is there some trick I'm missing? I had a look at the options-parsing code in dnsmasq and it looked like stuff I shouldn't mess with ;-).

Thanks again for a great, small, way cool caching DNS and DHCP server.

- -ken
- -- 
- ---------------
The world's most affordable web hosting.
http://www.nearlyfreespeech.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCYcwme8HF+6xeOIcRAvalAKCkWhQ6Fii2ooRal4qnYnqcfIBJRQCg4Khl
Kc+lf/K0L6DV5QXLbYasI68=
=T3H/
-----END PGP SIGNATURE-----