
C613-50186-01 Rev B
Command Reference for AR2050V
729
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
D
OMAIN
N
AME
S
ERVICE
(DNS) C
OMMANDS
PPP
IPCP
DNS
SUFFIX
-
LIST
ppp ipcp dns suffix-list
Overview
Use this command to configure a suffix-list to be associated with DNS
name-servers learned over the PPP connection.
Use the
no
variant of this command to remove the suffix-list.
Syntax
ppp ipcp dns suffix-list <
domain-list-name
>
no ppp ipcp dns suffix-list
Mode
Interface Configuration
Usage
A PPP connection can be configured to learn DNS servers from the remote peer by
using the command
This command allows a user to associate a domain-list to be used to match against
the suffixes of incoming DNS requests. For example, a customer branch office may
have a router that is used to give remote-access to their head office, over which
they learn the IP address of the head office's DNS server. A domain list can be
created that contains a suffix used for services internal to that company, for
example, "example.lc". This domain-list is associated as a suffix-list to the PPP
connection. So when the PPP connection is completed with the head office, users
at the branch office that browse to "intranet.example.lc" will have the DNS request
forwarded to the DNS server learned over the PPP connection. Without having the
suffix-list configured, the DNS request for "intranet.example.lc" would instead be
sent to the primary DNS server, which is likely to be the branch office's ISP, and they
will simply respond with a negative reply, because .example.lc is not a globally
routable domain.
Examples
At a branch office, to direct DNS lookups for domains with suffixes of
"engineering.acme" or "intranet.acme" to an internal corporate name-server run at
head-office that was learned over a PPP connection, use the commands:
awplus#
configure terminal
awplus(config)#
ip dns forwarding domain-list corporatedomains
host(config-domain-list)#
description Our internal network
domains; do not send DNS requests to internet
host(config-domain-list)#
domain engineering.acme
host(config-domain-list)#
domain intranet.acme
awplus(config)#
interface ppp0
awplus(config-if)#
ppp ipcp dns required
awplus(config-if)#
ppp ipcp dns suffix-list corporatedomains
Parameter
Description
<
domain-list-name
>
The name of the DNS domain-list