To do…

Use the command…

Remarks

 

 

Enter system view

system-view

 

 

 

 

 

 

 

Configure a mapping

 

Required

 

 

between a host name and

ip host hostname ip-address

No IP address is assigned to a

 

 

an IP address

 

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

 

dns resolve

 

Required

 

 

 

resolution

 

 

Disabled by default

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Required

 

 

 

Configure an IP address for the

 

dns server ip-address

 

No IP address is configured

 

 

 

DNS server

 

 

for the DNS server by

 

 

 

 

 

 

 

 

 

 

 

 

 

default.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Optional

 

 

 

Configure DNS suffixes

 

dns domain domain-name

 

No DNS suffix is configured

 

 

 

 

 

 

 

by default

 

 

 

 

 

 

 

 

 

You may configure up to six DNS servers and ten DNS suffixes.

DNS Configuration Example

Static Domain Name Resolution Configuration Example

Network requirements

As shown in Figure 1-2, Switch uses static domain name resolution to access host 10.1.1.2 through domain name host.com.

1-3

Page 647
Image 647
3Com WX3000 operation manual DNS Configuration Example, Configuring Dynamic Domain Name Resolution