beautypg.com

Ip domain-name – Allied Telesis AT-8100 Series User Manual

Page 368

background image

Chapter 18: Domain Name System (DNS) Commands

368

IP DOMAIN-NAME

Syntax

ip domain-name <

domain-name

>

Parameters

domain-name

Specifies a domain string, for example “alliedtelesis.com.”

Mode

Global Configuration mode

Description

Use this command to set a default domain for the DNS. The DNS client on
the switch appends this domain to incomplete host names in DNS
requests.

If a domain exists in the DNS list, the switch does not use the default
domain you specify with this command. The switch uses the default
domain only when no domains are specified in the DNS list. To view the
DNS list, use the SHOW IP DOMAIN-NAME command.

When the switch is using its DHCP client for an interface, it can receive
DHCP option 15 from the DHCP server. The option 15 replaces the
domain name specified by the IP DOMAIN-NAME command with the
domain name from the DHCP server.

Confirmation Command

“SHOW IP NAME-SERVER” on page 372

Example

The following command configures the domain name, “alliedtelesis.com:”

awplus> enable
awplus# configure terminal
awplus(config)# ip domain-name

alliedtelesis.com