Alcatel-Lucent 6850-48 Reference Guide

Page of 3444
DNS Commands
OmniSwitch CLI Reference Guide
September 2009
page 11-3
ip name-server
Specify the IP addresses of up to three servers to query on a host lookup.
ip name-server server-address1 [server-address2 [server-address3]]
no ip name-server {server-address1 [server-address2 [server-address3]] | all}
Syntax Definitions
server-address1
The IP address of the primary DNS server to query for host lookup. This 
is the only address that is required.
server-address2
The IP address of the secondary DNS server to query for host lookup. 
This server will be queried only if the desired host name or host IP 
address is not located by the primary DNS server. A second IP address 
is optional.
server-address3
The IP address of the DNS server with the lower priority. This server 
will be queried only if the desired host name or IP address is not located 
by the primary and secondary DNS servers. A third IP address is 
optional.
all 
Removes all configured DNS servers.
Defaults
N/A
Platforms Supported
OmniSwitch 6400, 6850, 6855, 9000, 9000E
Usage Guidelines
• Use the no form of this command to remove individual or all DNS servers.
• Configuration of the DNS resolver to resolve any host query requires that you first set the default 
domain name with the ip domain-name command and enable the DNS resolver function with the ip 
domain-lookup 
command before you specify the IP addresses of the DNS servers by using the ip 
name-server
 command.
• You can configure up to three IPv4 DNS servers and three IPv6 DNS servers in a switch.
Examples
-> ip name-server 189.202.191.14 189.202.191.15 188.255.19.1 
-> ip name-server 10.255.11.66
-> no ip name-server 10.255.11.66
-> no ip name-server all
Release History
Release 6.1; command was introduced.