Ip Name-Server - Allied Telesis x510-28GTX Command Reference Manual

Stackable gigabit edge switches x510 series
Table of Contents

Advertisement

D
N
S
(DNS) C
OMAIN
AME
ERVICE
-
IP NAME
SERVER

ip name-server

Overview
This command adds IPv4 or IPv6 DNS server addresses. The DNS client on your
device sends DNS queries to IP addresses in this list when trying to resolve a host
name. Host names cannot be resolved until you have added at least one server to
this list. A maximum of three name servers can be added to this list.
The no variant of this command removes the specified DNS name-server address.
ip name-server <ip-addr>
Syntax
no ip name-server <ip-addr>
Mode
Global Configuration
Usage
To allow the device to operate as a DNS proxy, your device must have learned
about a DNS name-server to forward requests to. Name-servers can be learned
through the following means:
This command is used to statically configure a DNS name-server for the device to
use.
Examples
To allow a device to send DNS queries to a DNS server with the IPv4 address
10.10.10.5, use the commands:
awplus#
awplus(config)#
To enable your device to send DNS queries to a DNS server with the IPv6 address
2001:0db8:010d::1, use the commands:
awplus#
awplus(config)#
Related
ip domain-list
Commands
ip domain-lookup
ip domain-name
show ip dns forwarding cache
show ip name-server
C613-50170-01 Rev B
OMMANDS
Parameter
Description
<ip-addr>
The IP address of the DNS server that is being added to the name
server list. The address is entered in the form A.B.C.D for an IPv4
address, or in the form X:X::X:X for an IPv6 address.
Manual configuration, using the ip name-server command
Learned from DHCP server with Option 6
configure terminal
ip name-server 10.10.10.5
configure terminal
ip name-server 2001:0db8:010d::1
Command Reference for x510 Series
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
828

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents