Dns-server, Domain-name, Dns-server 1373 domain-name 1373 – LevelOne GTL-2691 User Manual
Page 1373
C
HAPTER
46
| DHCP Commands
DHCP Server
– 1373 –
dns-server
This command specifies the Domain Name System (DNS) IP servers
available to a DHCP client. Use the no form to remove the DNS server list.
S
YNTAX
dns-server address1 [address2]
no dns-server
address1 - Specifies the IP address of the primary DNS server.
address2 - Specifies the IP address of the alternate DNS server.
D
EFAULT
S
ETTING
None
C
OMMAND
M
ODE
DHCP Pool Configuration
U
SAGE
G
UIDELINES
◆
If DNS IP servers are not configured for a DHCP client, the client cannot
correlate host names to IP addresses.
◆
Servers are listed in order of preference (starting with address1 as the
most preferred server).
E
XAMPLE
Console(config-dhcp)#dns-server 10.1.1.253 192.168.3.19
Console(config-dhcp)#
domain-name
This command specifies the domain name for a DHCP client. Use the no
form to remove the domain name.
S
YNTAX
domain-name domain
no domain-name
domain - Specifies the domain name of the client.
(Range: 1-32 characters)
D
EFAULT
S
ETTING
None
C
OMMAND
M
ODE
DHCP Pool Configuration
E
XAMPLE
Console(config-dhcp)#domain-name sample.com
Console(config-dhcp)#