
10-4
Configuring the DNS Client
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 IP address in the static
name resolution table
ip
host
hostname
ip-address
Required
Not configured by
default.
The IP address you last assign to the host name 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 system view
system-view
—
Enable dynamic domain name
resolution
dns resolve
Required
Disabled by default.
Specify a DNS server
dns server ip-address
Required
Not specified by default.
Configure a domain name
suffix
dns domain domain-name
Optional
Not configured by default, that
is, only the provided domain
name is resolved.
You may configure up to six DNS servers and ten DNS suffixes.
Summary of Contents for 4210G Series
Page 459: ...4 8...
Page 493: ...12 1...
Page 968: ...19 6 000f e235 dc71 1 Config static GigabitEthernet 1 0 1 NOAGED 1 mac address es found...