The domain-search-list command configures a DNS search domain name.
The undo domain-search-list command deletes the configuration.
By default, no DNS search domain name is configured for an address pool.
Usage Scenario
When the first-time domain name resolution for a DHCP client fails, the search domain name needs to be added for another resolution. To allow the DHCP server to send search domain names to DHCP clients through Option 119, run the domain-search-list command to configure a search domain name.
Precautions
If the domain-search-list command is run more than once, all configurations take effect.
A maximum of four search domains can be configured in one address pool.