
C613-50186-01 Rev B
Command Reference for AR2050V
716
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
D
OMAIN
N
AME
S
ERVICE
(DNS) C
OMMANDS
IP
DNS
FORWARDING
DOMAIN
-
LIST
ip dns forwarding domain-list
Overview
Use this command to create a domain-list that can be used as a suffix-list for DNS
lookups. This command puts the device into a new mode where subsequent
commands can be entered. The new mode is "Domain List Configuration" mode.
Use the
no
variant of this command to delete the domain-list.
Syntax
ip dns forwarding domain-list
<domain-list-name>
no ip dns forwarding domain-list
<domain-list-name>
Mode
Global Configuration
Usage
The domain list can be used by features that need to match against domains. A
domain list by itself does nothing; it must be attached to another feature to have
functionality (like a prefix-list).For example, the domain list can be used as a suffix
list on an DNS name-server. The DNS server can be either statically configured, or
learned over a PPP connection.
Note that this command is separate from the
ip domain-list
command, which is
used by DNS client to append a domain on to the end of a partial hostname to form
a fully-qualified domain.
Examples
To create a domain list to include domains that are internal to the company such
as "engineering.acme" or "intranet.acme", use the commands:
awplus#
configure terminal
awplus(config)#
ip dns forwarding domain-list corporatedomains
awplus(config-domain-list)#
description internal network domain
awplus(config-domain-list)#
domain engineering.acme
awplus(config-domain-list)#
domain intranet.acme
To delete the domain list, use the commands:
awplus#
configure terminal
awplus(config)#
no ip dns forwarding domain-list
corporatedomains
Related
Commands
Parameter
Description
<domain-list-name>
Name of the list.