-.\" $Id: dhcp-options.5,v 1.38 2007/06/28 18:29:49 dhankins Exp $
+.\" $Id: dhcp-options.5,v 1.39 2007/09/17 17:52:01 dhankins Exp $
.\"
.\" Copyright (c) 2004-2007 by Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (c) 1996-2003 by Internet Software Consortium
should be listed in order of preference.
.RE
.PP
-.B option \fBdomain-search\fR \fIstring\fR\fB;\fR
+.B option \fBdomain-search\fR \fIdomain-list\fR\fB;\fR
.RS 0.25i
.PP
The domain-search option specifies a 'search list' of Domain Names to be
used by the client to locate not-fully-qualified domain names. The difference
between this option and historic use of the domain-name option for the same
ends is that this option is encoded in RFC1035 compressed labels on the wire.
+For example:
+.nf
+.sp 1
+ option domain-search "example.com", "sales.example.com",
+ "eng.example.com";
+.fi
.RE
.PP
.B option \fBextensions-path\fR \fItext\fR\fB;\fR
an option that is compressed and the \fBcompressed\fR keyword is omitted, it
will still decompress the option (relative to the option contents field). The
keyword only controls whether or not transmitted packets are compressed.
+.PP
+Note that when
+.B domain-list
+formatted options are output as environment variables to
+.B dhclient-script(8),
+the standard DNS \-escape mechanism is used: they are decimal. This is
+appropriate for direct use in eg /etc/resolv.conf.
.nf
.fi