IPI-DNS-RELAY
Configure enable dns feature
Use this attribute to enable the DNS relay agent feature.
Attribute Name: enable-dns-feature
Attribute Type: empty
Netconf edit-config payload
<dns-relay xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dns-relay">
<config>
</enable-dns-feature><!-- operation="delete"-->
</config>
</dns-relay>
Command Syntax
feature dns relay
Configure enable dnsv4 relay
Use this attribute to enable the IPv4 DNS relay agent.
Attribute Name: enable-dnsv4-relay
Attribute Type: empty
Netconf edit-config payload
<dns-relay xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dns-relay">
<config>
</enable-dnsv4-relay><!-- operation="delete"-->
</config>
</dns-relay>
Command Syntax
ip dns relay
Configure enable dnsv6 relay
Use this attribute to enable the IPv6 DNS relay agent.
Attribute Name: enable-dnsv6-relay
Attribute Type: empty
Netconf edit-config payload
<dns-relay xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dns-relay">
<config>
</enable-dnsv6-relay><!-- operation="delete"-->
</config>
</dns-relay>
Command Syntax
ipv6 dns relay
Configure dns server v4 addr
Use this attribute to set the IPv4 address
Attribute Name: dns-server-v4-addr
Attribute Type: inet:ipv4-address
Netconf edit-config payload
<dns-relay xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dns-relay">
<config>
<dns-server-v4-addr>A.B.C.D</dns-server-v4-addr> <!-- operation="delete"-->
</config>
</dns-relay>
Command Syntax
ip dns relay address A.B.C.D
Configure dns server v6 addr
Use this attribute to set the IPv6 address
Attribute Name: dns-server-v6-addr
Attribute Type: inet:ipv6-address
Netconf edit-config payload
<dns-relay xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dns-relay">
<config>
<dns-server-v6-addr>X:X::X:X</dns-server-v6-addr> <!-- operation="delete"-->
</config>
</dns-relay>
Command Syntax
ipv6 dns relay address X:X::X:X
Configure name
Use this attribute to enable the IPv4 DNS relay agent.
Attribute Name: enable-dnsv4-relay
Attribute Type: empty
Netconf edit-config payload
<dns-relay xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dns-relay">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
</enable-dnsv4-relay><!-- operation="delete"-->
</interface>
</interfaces>
</dns-relay>
Command Syntax
ip dns relay
Configure dns relay uplink
Use this attribute to set the uplink IPv4 DNS relay agent.
Attribute Name: dns-relay-uplink
Attribute Type: empty
Netconf edit-config payload
<dns-relay xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dns-relay">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
</dns-relay-uplink><!-- operation="delete"-->
</interface>
</interfaces>
</dns-relay>
Command Syntax
ip dns relay uplink
Configure dns relay v6 uplink
Use this attribute to set the uplink IPv6 DNS relay agent.
Attribute Name: dns-relay-v6-uplink
Attribute Type: empty
Netconf edit-config payload
<dns-relay xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dns-relay">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
</dns-relay-v6-uplink><!-- operation="delete"-->
</interface>
</interfaces>
</dns-relay>
Command Syntax
ipv6 dns relay uplink
Configure vrf name
Use this attribute to set the IPv4 address
This command is supported when following feature are enabled Virtual routing and forwarding
Attribute Name: dns-server-v4-addr
Attribute Type: inet:ipv4-address
Netconf edit-config payload
<dns-relay xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dns-relay">
<vrfs>
<vrf>
<vrf-name>WORD</vrf-name>
<config>
<vrf-name>WORD</vrf-name>
</config>
<dns-server-v4-addr>A.B.C.D</dns-server-v4-addr> <!-- operation="delete"-->
</vrf>
</vrfs>
</dns-relay>
Command Syntax
ip dns relay address A.B.C.D
Last modified date: 07-14-2023