Link to home
Start Free TrialLog in
Avatar of rawandnet
rawandnet

asked on

DHCP Search Options 119 and 15 on LInux

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?
Avatar of David Sankovsky
David Sankovsky
Flag of Israel image

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

subnet 192.168.1.0 netmask 255.255.255.0 {
    range 192.168.1.101 192.168.1.199;
    option domain-name "example.com";
    option domain-search "example.com", "sales.example.com", "marketing.example.com";
    option domain-name-servers 192.168.1.1;
    option routers 192.168.1.1;
}

Open in new window

Avatar of rawandnet
rawandnet

ASKER

The Syntax was as follow
option dns-domain-search-list code 119 = string;
option dns-domain-search-list "auis.local";
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.