IPI-DNS-CLIENT
Configure default domain name
Default domain name used to complete unqualified host names (names without a dotted-decimal domain name).
Attribute Name: default-domain-name
Attribute Type: inet:domain-name
Netconf edit-config payload
<dns xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dns-client">
<vrfs>
<vrf>
<vrf-name>management</vrf-name>
<config>
<vrf-name>management</vrf-name>
</config>
<default-domain-name>DOMAIN-NAME</default-domain-name> <!-- operation="delete"-->
</vrf>
</vrfs>
</dns>
Command Syntax
ip domain-name (vrf management|) DOMAIN-NAME
Configure lookup enabled
Enable DNS translation.
Attribute Name: lookup-enabled
Attribute Type: boolean
Netconf edit-config payload
<dns xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dns-client">
<vrfs>
<vrf>
<vrf-name>management</vrf-name>
<config>
<vrf-name>management</vrf-name>
</config>
<lookup-enabled>true</lookup-enabled> <!-- operation="delete"-->
</vrf>
</vrfs>
</dns>
Command Syntax
ip domain-lookup (vrf management|)
Configure vrf name
Enable DNS translation.
Attribute Name: lookup-enabled
Attribute Type: boolean
Netconf edit-config payload
<dns xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dns-client">
<vrfs>
<vrf>
<vrf-name>management</vrf-name>
<config>
<vrf-name>management</vrf-name>
</config>
<lookup-enabled>true</lookup-enabled> <!-- operation="delete"-->
</vrf>
</vrfs>
</dns>
Command Syntax
no ip domain-lookup (vrf management|)
Configure address
Name server address used for name resolution.
Attribute Name: address
Attribute Type: inet:ip-address
Netconf edit-config payload
<dns xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dns-client">
<vrfs>
<vrf>
<vrf-name>management</vrf-name>
<config>
<vrf-name>management</vrf-name>
</config>
<servers>
<server> <!-- operation="delete"-->
<address>CML_IP_ADDR_T</address>
<config>
<address>CML_IP_ADDR_T</address>
</config>
</server>
</servers>
</vrf>
</vrfs>
</dns>
Command Syntax
ip name-server (vrf management|) (A.B.C.D|X:X::X:X)
Configure domain name
Use this attribute to define a list of default domain names used to complete unqualified host names. Each domain in the list is to be tried in turn. The ip domain-list command is similar to the ip domain-name command, except that with the ip domain-list command you can define a list of domains, each to be tried in turn.If there is no domain list, the default domain name specified with the ip domain-name command is used. If there is a domain list, the default domain name is not used.
Attribute Name: domain-name
Attribute Type: inet:domain-name
Netconf edit-config payload
<dns xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dns-client">
<vrfs>
<vrf>
<vrf-name>management</vrf-name>
<config>
<vrf-name>management</vrf-name>
</config>
<search-domains>
<search-domain> <!-- operation="delete"-->
<domain-name>DOMAIN-NAME</domain-name>
<config>
<domain-name>CML_DOMAIN_NAME_T</domain-name>
</config>
</search-domain>
</search-domains>
</vrf>
</vrfs>
</dns>
Command Syntax
ip domain-list (vrf management|) DOMAIN-NAME
Configure ipv6 address
Configure a static hostname-to-address IPv6 mapping in DNS.
Attribute Name: ipv6-address
Attribute Type: inet:ipv6-address
Attribute Name: ipv4-address
Attribute Type: inet:ipv4-address
Netconf edit-config payload
<dns xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dns-client">
<vrfs>
<vrf>
<vrf-name>management</vrf-name>
<config>
<vrf-name>management</vrf-name>
</config>
<host-entries>
<host-entry>
<hostname>HOSTNAME</hostname>
<config>
<hostname>1</hostname>
<ipv4-address>A.B.C.D</ipv4-address> <!-- operation="delete"-->
</config>
<ipv6-address>X:X::X:X</ipv6-address> <!-- operation="delete"-->
</host-entry>
</host-entries>
</vrf>
</vrfs>
</dns>
Command Syntax
ip host (vrf management|) HOSTNAME A.B.C.D X:X::X:X
Configure ipv4 address
Configure a static hostname-to-address IPv4 mapping in DNS.
Attribute Name: ipv4-address
Attribute Type: inet:ipv4-address
Attribute Name: ipv6-address
Attribute Type: inet:ipv6-address
Netconf edit-config payload
<dns xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dns-client">
<vrfs>
<vrf>
<vrf-name>management</vrf-name>
<config>
<vrf-name>management</vrf-name>
</config>
<host-entries>
<host-entry>
<hostname>HOSTNAME</hostname>
<config>
<hostname>1</hostname>
<ipv6-address>X:X::X:X</ipv6-address> <!-- operation="delete"-->
</config>
<ipv4-address>A.B.C.D</ipv4-address> <!-- operation="delete"-->
</host-entry>
</host-entries>
</vrf>
</vrfs>
</dns>
Command Syntax
ip host (vrf management|) HOSTNAME X:X::X:X A.B.C.D
Configure hostname
Configure a static hostname-to-address IPv4 mapping in DNS.
Attribute Name: ipv4-address
Attribute Type: inet:ipv4-address
Netconf edit-config payload
<dns xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dns-client">
<vrfs>
<vrf>
<vrf-name>management</vrf-name>
<config>
<vrf-name>management</vrf-name>
</config>
<host-entries>
<host-entry>
<hostname>HOSTNAME</hostname>
<config>
<hostname>1</hostname>
</config>
<ipv4-address>A.B.C.D</ipv4-address> <!-- operation="delete"-->
</host-entry>
</host-entries>
</vrf>
</vrfs>
</dns>
Command Syntax
ip host (vrf management|) HOSTNAME A.B.C.D
Configure enable
DNS client debug.
Attribute Name: enable
Attribute Type: uint8
Netconf edit-config payload
<dns xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dns-client">
<debug>
<config>
</enable><!-- operation="delete"-->
</config>
</debug>
</dns>
Command Syntax
debug dns client
debug dns client
Netconf RPC payload
<dns-client-terminal-debug-on xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dns-client"/>
Command Syntax
debug dns client
no debug dns client
Netconf RPC payload
<dns-client-terminal-debug-off xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dns-client"/>
Command Syntax
no debug dns client
Last modified date: 07-14-2023