Configuration procedure, Displaying and maintaining ipv4 dns, Ipv4 dns configuration examples – H3C Technologies H3C WX3000E Series Wireless Switches User Manual
Page 87: Network requirements

76
Configuration procedure
Follow these steps to configure DNS spoofing:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable DNS spoofing and
specify the translated IP address dns spoofing ip-address
Required
Disabled by default.
Displaying and maintaining IPv4 DNS
To do…
Use the command…
Remarks
Display the static IPv4 domain name
resolution table
display ip host [ | { begin | exclude |
include } regular-expression ]
Available in any view
Display IPv4 DNS server information
display dns server [ dynamic ] [ | { begin
| exclude | include } regular-expression ] Available in any view
Display DNS suffixes
display dns domain [ dynamic ] [ |
{ begin | exclude | include }
regular-expression ]
Available in any view
Display the information of the
dynamic IPv4 domain name cache
display dns host ip [ | { begin | exclude |
include } regular-expression ]
Available in any view
Clear the information of the dynamic
IPv4 domain name cache
reset dns host ip
Available in user view
IPv4 DNS configuration examples
Static domain name resolution configuration example
Network requirements
As shown in
, the device wants to access the host by using an easy-to-remember domain name
rather than an IP address.
Configure static domain name resolution on the device so that the device can use the domain name
host.com to access the host whose IP address is 10.1.1.2.
Figure 30 Network diagram for static domain name resolution
Configuration procedure
# Configure a mapping between host name host.com and IP address 10.1.1.2.
- H3C WX5500E Series Access Controllers H3C WX3500E Series Access Controllers H3C WX2500E Series Access Controllers H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C LSWM1WCM10 Access Controller Module H3C LSUM3WCMD0 Access Controller Module H3C LSUM1WCME0 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module H3C WA3600 Series Access Points H3C WA2600 Series WLAN Access Points