DNS server parameter settings on S series switch

When S series switches (except S1700 switches) function as DHCP servers, they can deliver DNS service parameters to clients through DHCP. The configuration process is as follows:
- Interface address pool:
[HUAWEI] dhcp enable
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] ip address 10.10.10.10 24
[HUAWEI-Vlanif100] dhcp select interface
[HUAWEI-Vlanif100] dhcp server dns-list 192.168.1.254 //Configure an IP address for the DNS server.
[HUAWEI-Vlanif100] dhcp server domain-name huawei.com //Configure a domain name suffix.
- Global address pool:
[HUAWEI] ip pool global1
[HUAWEi-ip-pool-global1] dns-list 192.168.1.254 //Configure an IP address for the DNS server.
[HUAWEI-ip-pool-global1] domain-name huawei.com //Configure a domain name suffix.
- Using a DHCP Option template:
[HUAWEI] dhcp option template template1
[HUAWEI-dhcp-option-template-template1] dns-list 192.168.1.254 //Configure an IP address for the DNS server.
[HUAWEI-dhcp-option-template-template1] domain-name huawei.com //Configure a domain name suffix.

Other related questions:
Delete DNS parameters on S series switch
If you have more questions, you can seek help from following ways:
To iKnow To Live Chat To Google
Scroll to top