S series switches (except S1700 switches) support only configuration of the DNS client. There are two DNS resolution modes: static and dynamic. The two modes can be used together. The switch first uses static DNS resolution (by searching the local static domain name resolution table). If static DNS resolution fails, the switch uses dynamic DNS resolution (by sending a DNS resolution request to the DNS server). Dynamic DNS resolution takes a period of time and requires cooperation from the DNS server. You can add common domain names to the static domain name resolution table to improve the efficiency of resolving domain names.
To enable static and dynamic DNS resolution on S series switches, perform the following configuration:
1. Configuration of static DNS resolution [Huawei] ip host hostB 10.4.1.1 //Configure a static DNS entry.
2. Configuration of dynamic DNS resolution [Huawei] dns resolve //Enable dynamic DNS resolution. [Huawei] dns server 10.3.1.2 //Set the IP address of the DNS server. [Huawei] dns domain net //Configure the DNS domain name.
Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
Politically sensitive content
Content concerning pornography, gambling, and drug abuse
Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
* Including Third Party’s Trade Secret or No:?
Third Party’s Trade Secret
Third Party’s Trade Secret refers to Third Party’s (other than Huawei’s) technical or commercial information which is unknown to the public, with commercial value, and kept confidential by Third Party. It may include without limitation Price Information, Roadmap, Commercial Authorization, Core Algorithm and Source Code. Should you have any questions, please contact e.support@huawei.com.