Configuring Domain Name Resolution
551
Configuring Domain
Name Resolution
Configuring Static
Domain Name
Resolution
n
The IP address you assign to a host name last time will overwrite the previous one
if there is any.
You may create up to 50 static mappings between domain names and IP
addresses.
Configuring Dynamic
Domain Name
Resolution
n
You may configure up to six DNS servers and ten DNS suffixes.
Displaying and
Maintaining DNS
After the above configuration, you can execute the display command and the
nslookup type command in any view to display the DNS configuration information
and the DNS resolution result to verify the configuration effect. You can execute
the reset command in user view to clear the information stored in the dynamic
domain name resolution cache.
Table 405
Configure static domain name resolution
Operation
Command
Remarks
Enter system view
system-view
-
Configure a mapping
between a host name and
an IP address
ip host
hostname ip-address
Required
No IP address is
assigned to a host
name by default.
Table 406
Configure dynamic domain name resolution
Operation
Command
Remarks
Enter the system view
system-view
-
Enable dynamic domain name
resolution
dns resolve
Required
Disabled by default
Configure an IP address for the
DNS server
dns server
ip-address
Required
No IP address is configured
for the DNS server by
default.
Configure DNS suffixes
dns domain
domain-name
Optional
No DNS suffix is configured
by default
Table 407
Display and maintain DNS
Operation
Command…
Remarks
Display static DNS
database
display ip host
Available in any view
Summary of Contents for Switch 4210 9-Port
Page 22: ...20 CHAPTER 1 CLI CONFIGURATION ...
Page 74: ...72 CHAPTER 3 CONFIGURATION FILE MANAGEMENT ...
Page 84: ...82 CHAPTER 5 VLAN CONFIGURATION ...
Page 96: ...94 CHAPTER 8 IP PERFORMANCE CONFIGURATION ...
Page 108: ...106 CHAPTER 9 PORT BASIC CONFIGURATION ...
Page 122: ...120 CHAPTER 11 PORT ISOLATION CONFIGURATION ...
Page 140: ...138 CHAPTER 13 MAC ADDRESS TABLE MANAGEMENT ...
Page 234: ...232 CHAPTER 17 802 1X CONFIGURATION ...
Page 246: ...244 CHAPTER 20 AAA OVERVIEW ...
Page 270: ...268 CHAPTER 21 AAA CONFIGURATION ...
Page 292: ...290 CHAPTER 26 DHCP BOOTP CLIENT CONFIGURATION ...
Page 318: ...316 CHAPTER 29 MIRRORING CONFIGURATION ...
Page 340: ...338 CHAPTER 30 CLUSTER ...
Page 362: ...360 CHAPTER 33 SNMP CONFIGURATION ...
Page 368: ...366 CHAPTER 34 RMON CONFIGURATION ...
Page 450: ...448 CHAPTER 39 TFTP CONFIGURATION ...
Page 451: ......
Page 452: ...450 CHAPTER 39 TFTP CONFIGURATION ...
Page 470: ...468 CHAPTER 40 INFORMATION CENTER ...
Page 496: ...494 CHAPTER 44 DEVICE MANAGEMENT ...