Configuring domain name resolution, Configuring static domain name resolution, Configuring dynamic domain name resolution – H3C Technologies H3C S3600 Series Switches User Manual
Page 1121
1-3
Configuring Domain Name Resolution
Configuring Static Domain Name Resolution
Follow these steps to configure static domain name resolution:
To do…
Use the 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.
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
Follow these steps to configure dynamic domain name resolution:
To do…
Use the 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
You may configure up to six DNS servers and ten DNS suffixes.