beautypg.com

Configuring a domain name suffix for the client, Configuring dns servers for the client – H3C Technologies H3C S12500 Series Switches User Manual

Page 54

background image

40

Step Command

Remarks

7.

Exclude IP addresses from
dynamic allocation.

forbidden-ip ip-address&<1-8>

Optional.
Except IP addresses of the DHCP

server interfaces, all addresses in
the DHCP address pool are

assignable by default.

NOTE:

Excluded IP addresses specified with the forbidden-ip command in DHCP address pool view are not
assignable in the current extended address pool, but are assignable in other address pools.

Configuring a domain name suffix for the client

You can specify a domain name suffix in each DHCP address pool on the DHCP server to provide the

clients with the domain name suffix. With this suffix assigned, the client only needs to input part of a

domain name, and the system will add the domain name suffix for name resolution. For more information

about DNS, see "Configuring IPv4 DNS."
To configure a domain name suffix in the DHCP address pool:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter the DHCP address pool
view.

dhcp server ip-pool pool-name
[ extended ]

N/A

3.

Specify a domain name suffix

for the client.

domain-name domain-name

Not specified by default.

Configuring DNS servers for the client

A DHCP client contacts a Domain Name System (DNS) server to resolve names. You can specify up to

eight DNS servers in the DHCP address pool.
To configure DNS servers in the DHCP address pool:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter DHCP address pool
view.

dhcp server ip-pool pool-name
[ extended ]

N/A

3.

Specify DNS servers for the

client.

dns-list ip-address&<1-8>

Not specified by default.