
C613-50152-01 Rev C
Command Reference for IX5-28GPX
723
AlliedWare Plus™ Operating System - Version 5.4.7-0.x
D
OMAIN
N
AME
S
ERVICE
(DNS) C
OMMANDS
IP
DNS
FORWARDING
SOURCE
-
INTERFACE
ip dns forwarding source-interface
Overview
Use this command to set the interface to use for forwarding and receiving DNS
queries.
Use the
no
variant of this command to unset the interface used for forwarding and
receiving DNS queries.
Syntax
ip dns forwarding source-interface <
interface-name
>
no ip dns forwarding source-interface
Default
The default is that no interface is set and the device selects the appropriate source
IP address automatically.
Mode
Global Configuration
Examples
To set
vlan1
as the source interface for relayed DNS queries, use the commands:
awplus#
configure terminal
awplus(config)#
ip dns forwarding source-interface vlan1
To clear the source interface for relayed DNS queries, use the commands:
awplus#
configure terminal
awplus(config)#
no ip dns forwarding source-interface
Related
Commands
Parameter
Description
<
interface-name
>
An alphanumeric string that is the interface name.