/
set system dns-search-list

set system dns-search-list


The set system dns-search-list command configures the DNS search list of a server or a host on a DNS client that the DNS client wants to access.


Command Syntax

set system dns-search-list <dns-search-list>


Parameter

Parameter

Description

dns-search-list <dns-search-list>

Specifies a suffix of one or more domains. The value is a string.


Usage Guidelines

Many servers or hosts have the same suffix. In this case, you can configure domain name suffixes. For example, you can configure a suffix com for the host whose domain name is pica8. When a DNS client accesses the host, it enters only "pica8" to send a query message to the DNS server. The DNS client automatically adds the suffix com. Then the DNS server searches for the IP address mapped to "pica8.com" first. If receiving no response, the DNS client sends a query message containing "pica8" to the DNS server to search for the mapped IP address.


Example

  • Configure two domain name suffixes as xyz.com and abc.net.

admin@Xorplus# set system dns-search-list xyz.com
admin@Xorplus# set system dns-search-list abc.net
admin@Xorplus# commit

Copyright © 2025 Pica8 Inc. All Rights Reserved.