DHCP Search Options 119 and 15 on LInux

rawandnet used Ask the Experts™
To complete unqualified domain name system (DNS) names that will be used to search and submit DNS queries at the client for resolution, you must have a list of DSN suffixes that can be appended to these DNS names.

For DHCP clients, this can be set by assigning the DNS domain name option (Option 15) and providing a single DNS suffix for the client to append and use in searches.
In some circumstances it is preferable that a DHCP client be configured by using multiple DNS suffixes, supported with the use of DHCP Search Option 119.

I am having difficutlies configure this option on Linux DHCP server.  I get error emssages when set following for Option 119 or other options for 15.
supersede domain-search “example.com example.net”;  (for Option 119).

Would you be able to tell me what the correct sentax for this option?
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

That would depend on the DHCP server you use. If it is dhcpd this is an example syntax:

subnet netmask {
    option domain-name "example.com";
    option domain-search "example.com", "sales.example.com", "marketing.example.com";
    option domain-name-servers;
    option routers;

Open in new window


The Syntax was as follow
option dns-domain-search-list code 119 = string;
option dns-domain-search-list "auis.local";

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial