1-5Dynamic Domain Name Resolution Configuration ExampleNetwork requirementsAs shown in Figure 1-3, the switch serving as a DNS client uses dynamic domain name resolution toaccess the host at 3.1.1.1/16 through its domain name host. The DNS server has the IP address2.1.1.2/16. The DNS suffix is com.Network diagramFigure 1-3 Network diagram for dynamic DNS configurationConfiguration procedureBefore doing the following configuration, make sure that:z The routes between the DNS server, Switch, and Host are reachable.z Necessary configurations are done on the devices. For the IP addresses of the interfaces, see thefigure above.z There is a mapping between domain name host and IP address 3.1.1.1/16 on the DNS server.z The DNS server works normally.# Enable dynamic domain name resolution. system-view[Sysname] dns resolve# Configure the IP address 2.1.1.2 for the DNS server.[Sysname] dns server 2.1.1.2# Configure com as the DNS suffix[Sysname] dns domain comExecute the ping host command on Switch to verify that the communication between Switch and Hostis normal and that the corresponding IP address is 3.1.1.1.[Sysname] ping hostTrying DNS server (2.1.1.2)PING host.com (3.1.1.1): 56 data bytes, press CTRL_C to breakReply from 3.1.1.1: bytes=56 Sequence=1 ttl=125 time=4 ms