1-30 
DNS Test 
Network requirements 
An Switch 4200G serves as the remote-ping client, and a PC serves as the DNS server. Perform a 
remote-ping DNS test between the switch and the DNS server to test the time required from the client 
sends a DNS request to it receives a resolution result from the DNS server.  
Network diagram 
Figure 1-10 Network diagram for the DNS test 
 
 
 
 
Configuration procedure 
z  Configure DNS Server: 
Use Windows 2003 Server as the DNS server. For DNS server configuration, refer to the related 
instruction on Windows 2003 Server configuration. 
z  Configure remote-ping Client (Switch A) 
# Enable the remote-ping client. 
<Sysname> system-view 
[Sysname] remote-ping-agent enable 
# Create a remote-ping test group, setting the administrator name to administrator and test tag to dns. 
[Sysname] remote-ping administrator dns 
# Configure the test type as dns.  
[Sysname-remote-ping-administrator-dns] test-type dns 
# Configure the IP address of the DNS server as 10.2.2.2.  
[Sysname-remote-ping-administrator-dns] dns-server 10.2.2.2 
# Configure to resolve the domain name www.test.com.  
[Sysname-remote-ping-administrator-dns] dns resolve-target www.test.com 
# Configure to make 10 probes per test.  
[Sysname-remote-ping-administrator-dns] count 10 
# Set the probe timeout time to 5 seconds. 
[Sysname-remote-ping-administrator-dns] timeout 5 
# Start the test.  
[Sysname-remote-ping-administrator-dns] test-enable 
# Display test results. 
[Sysname-remote-ping-administrator-dns] display remote-ping results administrator dns 
remote-ping entry(admin administrator, tag dns) test result: 
      Destination ip address:10.2.2.2 
      Send operation times: 10              Receive response times: 10