mirror of
https://github.com/opnsense/src.git
synced 2026-03-16 23:55:19 -04:00
The "domain-search" option (option 119) allows a DHCP server to publish
a list of implicit domain suffixes used during name lookup. This option
is described in RFC 3397.
For instance, if the domain-search option says:
".example.org .example.com"
and one wants to resolve "foobar", the resolver will try:
1. "foobar.example.org"
2. "foobar.example.com"
The file /etc/resolv.conf is updated with a "search" directive if the
DHCP server provides "domain-search".
A regression test suite is included in this patch under
tools/regression/sbin/dhclient.
PR: bin/151940
Sponsored by Yakaz (http://www.yakaz.com)
16 lines
279 B
Makefile
16 lines
279 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../../../sbin/dhclient
|
|
|
|
SRCS= alloc.c convert.c hash.c options.c tables.c \
|
|
fake.c \
|
|
option-domain-search.c
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../../../sbin/dhclient
|
|
LDADD= -lutil
|
|
|
|
PROG= option-domain-search
|
|
|
|
WARNS?= 2
|
|
|
|
.include <bsd.prog.mk>
|