■
■
■
◆
When pinging a host name, be sure the DNS server address has been
configured with the
E
XAMPLE
IP>ping 192.168.2.19
PING server 192.168.2.19
60 bytes from 192.168.2.19: icmp_seq=0, time=0ms
60 bytes from 192.168.2.19: icmp_seq=1, time=0ms
60 bytes from 192.168.2.19: icmp_seq=2, time=0ms
60 bytes from 192.168.2.19: icmp_seq=3, time=0ms
60 bytes from 192.168.2.19: icmp_seq=4, time=0ms
Sent 5 packets, received 5 OK, 0 bad
IP>
This command displays or sets a DNS server to which client requests for
ip dns
mapping host names to IP addresses are forwarded.
S
YNTAX
ip dns [ip-addr]
D
EFAULT
None
E
XAMPLE
IP>dns 192.168.1.55
IP>
This command displays or sets DNS proxy mode which can maintain a local
ip dns_proxy
database based on previous responses to DNS queries forwarded on behalf
of attached clients.
S
YNTAX
ip dns_proxy [enable | disable]
Destination does not respond - If the host does not respond, a
"timeout" appears in ten seconds.
Destination unreachable - The gateway for this destination indicates
that the destination is unreachable.
Network or host unreachable - The gateway found no corresponding
entry in the route table.
ip dns
ip-addr - IP address of domain-name server. An IPv4 address
consists of 4 numbers, 0 to 255, separated by periods.
S
ETTING
enable - Enables DNS proxy service.
disable - Disables DNS proxy service.
– 213 –
C
HAPTER
command.
| IP Commands
10