Configuring Dynamic Domain Name Resolution; Displaying And Maintaining Dns - H3C S3100 Series Operation Manual

H3c s3100 series ethernet switches operation manual
Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

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

Table 1-2 Configure dynamic domain name resolution
Operation
Enter the system view
Enable dynamic domain name
resolution
Configure an IP address for the
DNS server
Configure DNS suffixes
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 1-3 Display and maintain DNS
Operation
Display static DNS database
Display the DNS server
information
Display the DNS suffixes
Display the information in the
dynamic domain name cache
Display the DNS resolution result
Command
system-view
dns resolve
dns server ip-address
dns domain domain-name
Command...
display ip host
display dns server [ dynamic ]
display dns domain [ dynamic ]
display dns dynamic-host
nslookup type { ptr ip-address | a
domain-name }
1-3
Remarks
Required
Disabled by default
Required
No IP address is configured for
the DNS server by default.
Optional
No DNS suffix is configured by
default
Remarks
Available in any
view
Available in any
view

Advertisement

Chapters

Table of Contents
loading

Table of Contents