Dns Configuration Examples; Static Domain Name Resolution Configuration Example - 3Com 4200G 12-Port Configuration Manual

4200g family
Hide thumbs Also See for 4200G 12-Port:
Table of Contents

Advertisement

Display the DNS resolution result
Clear the information in the
dynamic domain name cache

DNS Configuration Examples

Static Domain Name Resolution Configuration Example

Network requirements
The switch uses static domain name resolution to access host 10.1.1.2 through domain
name host.com.
Network diagram
Figure 1-2 Network diagram for static DNS configuration
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 device can use 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): 56
Reply from 10.1.1.2: bytes=56 Sequence=1 ttl=127 time=3 ms
Reply from 10.1.1.2: bytes=56 Sequence=2 ttl=127 time=3 ms
Reply from 10.1.1.2: bytes=56 Sequence=3 ttl=127 time=2 ms
Reply from 10.1.1.2: bytes=56 Sequence=4 ttl=127 time=5 ms
Reply from 10.1.1.2: bytes=56 Sequence=5 ttl=127 time=3 ms
--- host.com ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 2/3/5 ms
To do...
Use the command...
nslookup type { ptr ip-address |
a domain-name }
reset dns dynamic-host
data bytes, press CTRL_C to break
1-4
Remarks
Available in
user view

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

4200g 24-port4200g 48-portSwitch 4800g pwr 24-port

Table of Contents