1-5Configuring the DNS ProxyFollow these steps to configure the DNS proxy:To do… Use the command… RemarksEnter system view system-view —Enable DNS proxy dns proxy enable RequiredDisabled by default.Displaying and Maintaining DNSTo do… Use the command… RemarksDisplay the static domain nameresolution table display ip hostDisplay DNS server information display dns server [ dynamic ]Available inany viewDisplay domain name suffixes display dns domain [ dynamic ]Display the information of the dynamicdomain name cache display dns dynamic-hostAvailable inany viewClear the information of the dynamicdomain name cache reset dns dynamic-host Available inuser viewDNS Configuration ExamplesStatic Domain Name Resolution Configuration ExampleNetwork requirementsSwitch uses the static domain name resolution to access Host with IP address 10.1.1.2 through domainname host.com.Figure 1-3 Network diagram for static domain name resolutionConfiguration 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 Switch can use the static domain nameresolution to get the IP address 10.1.1.2 corresponding to host.com.[Sysname] ping host.comPING host.com (10.1.1.2):