1-5
Configuring the DNS Proxy
Follow these steps to configure the DNS proxy:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable DNS proxy
dns proxy enable
Required
Disabled by default.
Displaying and Maintaining DNS
To do…
Use the command…
Remarks
Display the static domain name
resolution table
display ip host
Display DNS server information
display dns server
[
dynamic
]
Available in
any view
Display domain name suffixes
display dns domain
[
dynamic
]
Display the information of the dynamic
domain name cache
display dns dynamic-host
Available in
any view
Clear the information of the dynamic
domain name cache
reset dns dynamic-host
Available in
user view
DNS Configuration Examples
Static Domain Name Resolution Configuration Example
Network requirements
Switch uses the static domain name resolution to access Host with IP address 10.1.1.2 through domain
name host.com.
Figure 1-3
Network diagram for static domain name resolution
Configuration procedure
# Configure a mapping between host name host.com and IP address 10.1.1.2.
<Sysname> 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 name
resolution to get the IP address 10.1.1.2 corresponding to host.com.
[Sysname] ping host.com
PING host.com (10.1.1.2):
Summary of Contents for S5500-SI Series
Page 161: ...3 10 GigabitEthernet1 0 1 2 MANUAL...
Page 220: ...1 7 Clearing ARP entries from the ARP table may cause communication failures...
Page 331: ...1 7 1 1 ms 1 ms 1 ms 1 1 6 1 2 1 ms 1 ms 1 ms 1 1 4 1 3 1 ms 1 ms 1 ms 1 1 2 2 Trace complete...
Page 493: ...2 8...
Page 1111: ...1 10 Installing patches Installation completed and patches will continue to run after reboot...