1-4DNS Configuration ExamplesStatic Domain Name Resolution Configuration ExampleNetwork requirementsThe switch uses static domain name resolution to access host 10.1.1.2 through domain namehost.com.Network diagramFigure 1-2 Network diagram for static DNS configurationConfiguration procedure# Configure a mapping between host name host.com and IP address 10.1.1.2. system-view[Sysname] ip host host.com 10.1.1.2# Execute the ping host.com command to verify that the device can use static domain name resolutionto get the IP address 10.1.1.2 corresponding to host.com.[Sysname] ping host.comPING host.com (10.1.1.2): 56 data bytes, press CTRL_C to breakReply from 10.1.1.2: bytes=56 Sequence=1 ttl=127 time=3 msReply from 10.1.1.2: bytes=56 Sequence=2 ttl=127 time=3 msReply from 10.1.1.2: bytes=56 Sequence=3 ttl=127 time=2 msReply from 10.1.1.2: bytes=56 Sequence=4 ttl=127 time=5 msReply from 10.1.1.2: bytes=56 Sequence=5 ttl=127 time=3 ms--- host.com ping statistics ---5 packet(s) transmitted5 packet(s) received0.00% packet lossround-trip min/avg/max = 2/3/5 msDynamic 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.