
C613-50186-01 Rev B
Command Reference for AR2050V
724
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
D
OMAIN
N
AME
S
ERVICE
(DNS) C
OMMANDS
IP
NAME
-
SERVER
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#
configure terminal
awplus(config)#
ip name-server 10.10.10.5
To enable your device to send DNS queries to a DNS server with the IPv6 address
2001:0db8:010d::1, use the commands:
awplus#
configure terminal
awplus(config)#
ip name-server 2001:0db8:010d::1
For DNS relay, to direct DNS lookups for domains with suffixes of
"engineering.acme" or "intranet.acme" to an internal corporate name-server, use
the commands:
awplus#
configure terminal
awplus(config)#
ip dns forwarding domain-list corporatedomains
awplus(config-domain-list)#
description Our internal network
domains; do not send DNS requests to internet
awplus(config-domain-list)#
domain engineering.acme
awplus(config-domain-list)#
domain intranet.acme
awplus(config-domain-list)#
exit
awplus(config)#
ip name-server 172.16.0.1 suffix-list
corporatedomains
Example
(VRF-lite)
To enable your switch to send DNS queries (on VRF instance RED) to a DNS server
with the IPv4 address
10.10.10.5
use the commands:
awplus#
configure terminal
awplus(config)#
ip name-server vrf RED 10.10.10.5
Related
Commands
Command
changes
Version 5.4.6-2.1: VRF-lite support added.