DHCP question

Matthew J. Brodeur mbrodeur at NextTime.com
Fri Feb 21 13:21:28 EST 2003


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

On Fri, 21 Feb 2003 pll at lanminds.com wrote:

> Does anyone know offhand how many DNS search domains are allowed to be 
> issued by a DHCP server to the client?

   Technically, one.  ISC says, "The current DHCP spec doesn't support
specifying a domain suffix search list."  This may just be their
reading of the spec, though.
http://arsinfo.cit.buffalo.edu/FAQ/faq.cgi?pkg=ISC%20DHCP&cat=Configuration#115
   In reality it is possible even with ISC DHCPd, but you're at the
mercy of the DHCP clients to interpret the list properly.  Just use
a line like this in dhcpd.conf:
option domain-name	"domain1.com domain2.com domain3.com";
   ...and MOST systems will put a line in resolv.conf like:
search domain1.com domain2.com domain3.com

   Unfortunately systems that don't handle this hack will probably
reject the lease offer outright.  Off hand I know that OpenBSD will
spew "Bogus option" errors if it sees spaces in the domain name.  I
have NO idea what Windows will do.
   There is a recent RFC (3397) called "DHCP Domain Search Option" but
I don't think anyone has implemented it.


- -- 
Matthew J. Brodeur                                             RHCE, GSEC
MBrodeur at NextTime.com                             http://www.NextTime.com

Zero Defects, n.:
	The result of shutting down a production line.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE+Vm4rc8/WFSz+GKMRAgJjAKCTju9BEi+XgwOlAgSzOr3mozUjIwCfRUK9
y2Jr4cIl6UnI4R4iW2JRn14=
=MfxO
-----END PGP SIGNATURE-----




More information about the gnhlug-discuss mailing list