Dns Configuration Example - 3Com 4210 PWR Configuration Manual

9/18/26 port and pwr 9/18/26 port 4210 series switch
Table of Contents

Advertisement

552
C
48: DNS C
HAPTER
DNS Configuration
Example
Static Domain Name
Resolution
Configuration Example
ONFIGURATION
Table 407 Display and maintain DNS
Operation
Display the DNS server
information
Display the DNS
suffixes
Display the information
in the dynamic domain
name cache
Display the DNS
resolution result
Clear the information
in the dynamic domain
name cache
Network requirements
The switch uses static domain name resolution to access host 10.1.1.2 through
domain name host.com.
Network diagram
Figure 198 Network diagram for static DNS configuration
10.1 .1.1/24
Switch
Configuration procedure
# Configure a mapping between host name host.com and IP address 10.1.1.2.
<4210> system-view
[4210] 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.
[4210] 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
Command...
display dns server [
dynamic ]
display dns domain [
dynamic ]
display dns dynamic-host
nslookup type { ptr
ip-address | a domain-name }
reset dns dynamic-host
10 .1.1. 2/ 24
host.com
data bytes, press CTRL_C to break
Remarks
Available in any view
Available in user view
Host

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents