3com S7906E Guide De Référence
1-15
Parameters
ip-address&<1-8>: DNS server IP address. &<1-8> means you can specify up to eight DNS server
addresses separated by spaces.
all: Specifies all DNS server addresses to be removed.
Description
Use the dns-list command to specify DNS server addresses in a DHCP address pool.
Use the undo dns-list command to remove DNS server addresses from a DHCP address pool.
By default, no DNS server address is specified.
If you repeatedly use the dns-list command, the latest configuration will overwrite the previous one.
Related commands: dhcp server ip-pool.
Examples
# Specify the DNS server address 10.1.1.254 for the DHCP client in DHCP address pool 0.
<Sysname> system-view
[Sysname] dhcp server ip-pool 0
[Sysname-dhcp-pool-0] dns-list 10.1.1.254
domain-name
Syntax
domain-name domain-name
undo domain-name
View
DHCP address pool view
Default Level
2: System level
Parameters
domain-name: Domain name suffix for DHCP clients, a string of 1 to 50 characters.
Description
Use the domain-name command to specify a domain name suffix for the DHCP clients in the DHCP
address pool.
Use the undo domain-name command to remove the specified domain name suffix.
No domain name suffix is specified by default.
Related commands: dhcp server ip-pool.
Examples
# Specify a domain name suffix of mydomain.com for the DHCP clients in DHCP address pool 0.
<Sysname> system-view
[Sysname] dhcp server ip-pool 0