Ip dns forwarding source-interface – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual
Page 653
IP Addressing and Protocol Commands
Software Reference for x310 Series Switches
C613-50046-01 REV A
AlliedWare Plus
TM
Operating System - Version 5.4.4C
25.19
ip dns forwarding source-interface
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 switch selects the appropriate source IP
address automatically.
Mode
Global Configuration
Usage
See
for more information about DNS Relay to map IPv4 and
IPv6 addresses to name servers to maintain a a database of hostname-to-address
mappings.
Examples
To set vlan1 as the source interface for relayed DNS queries, use the commands:
To clear the source interface for relayed DNS queries, use the commands:
Related Commands
debug ip dns forwarding
ip dns forwarding
show ip dns forwarding
Parameter
Description
<interface-name>
An alphanumeric string that is the interface name.
awplus#
configure terminal
awplus(config)#
ip dns forwarding source-interface vlan1
awplus#
configure terminal
awplus(config)#
no ip dns forwarding source-interface