
l
Run the
display dns dynamic-host
command to check the information about dynamic DNS
entries in the domain name cache.
----End
Example
Run the
display ip host
command. If static DNS entries including the mappings between host
names and IP addresses, are displayed, it means that the configuration succeeds. For example:
<Quidway>
display ip host
Host Age Flags Address
hw 0 static 10.1.1.1
gww 0 static 192.168.1.1
Run the
display dns server
command. If IP addresses of all domain servers are displayed, it
means that the configuration succeeds. For example:
<Quidway>
display dns server
IPv4 Dns Servers :
Domain-server IpAddress
1 172.16.1.1
2 172.16.1.2
IPv6 Dns Servers :
No configured servers.
Run the
display dns domain
command. If the list of suffixes of domain names is displayed, it
means that the configuration succeeds. For example:
<Quidway>
display dns domain
No Domain-name
1 com
2 net
Run the
display dns dynamic-host
command. If information about the dynamic domain name
cache is displayed, it means that the configuration succeeds. For example:
<Quidway>
display dns dynamic-host
No Domain-name IpAddress TTL Alias
1 www.huawei.com 91.1.1.1 3521
2 www.huawei.com.cn 87.1.1.1 3000
4.4 Maintaining DNS
The operations of DNS maintenance include clearing DNS statistics and monitoring the DNS
operating status.
4.4.1 Clearing DNS Entries
This section describes DNS entry clearance through the reset command.
Context
CAUTION
DNS entries cannot be restored after being cleared. So, confirm the action before you use this
command.
Quidway S2700 Series Ethernet Switches
Configuration Guide - IP Service
4 DNS Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
50