DNS server parameter settings on S series switch

Publication Date:  2016-11-24 Views:  131 Downloads:  0
Issue Description
DNS server parameter settings on S series switch
Solution
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.

END