show ip dns relay
Use this command to display the IPv4 DNS relay configuration including VRF name, DNS servers, and client/user facing interfaces.
Command Syntax
show ip dns relay
Parameters
None
Command Mode
Exec mode
Applicability
This command was introduced in OcNOS version 5.0.
Example
#show ip dns relay
DNS feature status: Enabled
DNS relay service status: Enabled
VRF Name: vrf1
Status : Running
DNS Servers: 1.1.1.2
Interfaces :
Name Type State Address
-------------------------------- ----------
xe1 Uplink UP 1.1.1.1
xe32 Downlink UP 2.2.2.1
xe33 Downlink UP 3.3.3.1
xe44 Downlink UP 4.4.4.1
VRF Name: management
Status : Running
DNS Servers: 8.8.8.8
Interfaces :
Name Type State Address
-------------------------------- ----------
eth0 Downlink UP 172.29.4.139
Table 11-19 explains the fields in the output.
Table 11-19: show ip dns relay fields
Field | Description |
---|
DNS feature status | Whether DNS relay is enabled |
DNS relay service status | Whether DNS relay is enabled |
VRF Name | Name of the VRF |
Status | Not-running, Running, or Failed |
DNS Servers | IPv4 address of the DNS server |
Name | DNS server facing interface |
Type | Whether an uplink or a downlink |
State | Whether the interface is up of down |
Address | IPv4 address of the interface |
Last modified date: 10/19/2023