Ip name-server, Ip host, Ip name-server ip host – Allied Telesis AT-S94 CLI (AT-8000S Series) User Manual
Page 143

IP Addressing Commands
Page 142
Example
The following example defines default domain name www.website.com.
ip name-server
The ip name-server Global Configuration mode command defines the available name servers. Use the no form
of this command to remove a name server.
Syntax
ip name-server server-address [server-address2 … server-address8]
no ip name-server [server-address1 … server-address8]
Parameters
•
server-address — Specifies IP addresses of the name servers.
Default Configuration
No name server addresses are specified.
Command Mode
Global Configuration mode
User Guidelines
The preference of the servers is determined by the order in which they were entered.
Up to 8 servers can be defined using one command or using multiple commands.
Example
The following example sets the available name server.
ip host
The ip host Global Configuration mode command defines static host name-to-address mapping in the host cache.
Use the no form of this command to remove the name-to-address mapping.
Syntax
ip host name address
no ip host name
Parameters
•
name — Specifies the name of the host. (Range: 1-158 characters)
•
address — Specifies the associated IP address.
console(config)# ip domain-name www.website.com
console(config)# ip name-server 176.16.1.18