zhDnsResConfigQueryOrder
ZHONE-COM-IP-DNS-RESOLVER-MIB ·
.1.3.6.1.4.1.5504.4.1.12.2.1.1
Object
column r/w
Enumeration
Kind of resolver query for this routing domain:
hostsFirst(1) searches the local hosts table first,
then the list of nameservers
dnsFirst(2) searches the list of nameservers first, then
the local hosts table
dnsOnly(3) searches only the list of nameservers
Context
- MIB
- ZHONE-COM-IP-DNS-RESOLVER-MIB
- OID
.1.3.6.1.4.1.5504.4.1.12.2.1.1- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- zhDnsResConfigEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'ZHONE-COM-IP-DNS-RESOLVER-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZHONE-COM-IP-DNS-RESOLVER-MIB::zhDnsResConfigQueryOrder'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZHONE-COM-IP-DNS-RESOLVER-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZHONE-COM-IP-DNS-RESOLVER-MIB::zhDnsResConfigQueryOrder.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZHONE-COM-IP-DNS-RESOLVER-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZHONE-COM-IP-DNS-RESOLVER-MIB::zhDnsResConfigQueryOrder'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | hostsFirst |
2 | dnsFirst |
3 | dnsOnly |