ip dns relay (interface)
Use this command to configure an IPv4 interface as a DNS relay client-facing port.
Use the no form of this command to remove an IPv4 interface as a DNS relay client-facing port.
Command Syntax
ip dns relay
no ip dns relay
Parameters
None
Default
N/A
Command Mode
Interface mode
Applicability
This command was introduced in OcNOS version 5.0.
Example
#configure terminal
(config)#int xe44
(config-if)#ip address 4.4.4.1/24
(config-if)#ip dns relay
(config)#int xe44
(config-if)#ip vrf forwarding vrf1
(config-if)#ip address 4.4.4.1/24
(config-if)#ip dns relay
Last modified date: 10/19/2023