C613-50170-01 Rev B
Command Reference for x510 Series
827
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
D
OMAIN
N
AME
S
ERVICE
(DNS) C
OMMANDS
IP
DOMAIN
-
NAME
ip domain-name
Overview
This command sets a default domain for the DNS. The DNS client appends this
domain to incomplete host-names in DNS requests.
The
no
variant of this command removes the domain-name previously set by this
command.
Syntax
ip domain-name <
domain-name
>
no ip domain-name <
domain-name
>
Mode
Global Configuration
Usage
If there are no domains in the DNS list (created using the
command)
then your device uses the domain specified with this command. If any domain
exists in the DNS list, then the device does not use the domain configured with this
command.
When your device is using its DHCP client for an interface, it can receive Option 15
from the DHCP server. This option replaces the domain name set with this
command.
Example
To configure the domain name, enter the following commands:
awplus#
configure terminal
awplus(config)#
ip domain-name company.com
Related
Commands
Parameter
Description
<domain-name>
Domain string, for example “company.com”.