The dns-domain-name command configures the DNS domain name suffix assigned by the DHCPv6 server to a DHCPv6 client.
The undo dns-domain-name command deletes the assigned domain name suffix.
By default, no DNS domain name suffix is configured for the DHCPv6 client.
Parameter |
Description |
Value |
|---|---|---|
dns-domain-name |
Specifies the DNS domain name suffix assigned to a DHCPv6 client. |
The value is a string of case-insensitive characters without spaces. It can be the combination of letters, digits, underscores (_), hyphens (-), or dots (.) and cannot be - or --. |
Usage Scenario
The dns-domain-name command is used on DHCPv6 servers. The DHCPv6 server specifies a domain name suffix when allocating IPv6 addresses for clients. You can use the dns-domain-name command on the DHCPv6 server to specify a domain name for each global address pool. When allocating IPv6 addresses to clients, the DHCPv6 server also sends the domain name suffix to the clients.
Precautions
Only one DNS domain name can be configured for an IPv6 address pool.