dnsResNCacheStatus
DNS-RESOLVER-MIB ·
.0.0.32.2.1.5.1
Object
scalar r/w
Enumeration
Status/action for the resolver's negative response
cache.
enabled(1) means that the use of the negative response
cache is allowed. Query operations can return this
state.
disabled(2) means that the negative response cache is
not being used. Query operations can return this state.
Setting this variable to clear(3) deletes the entire
contents of the resolver's negative response cache. The
status will retain its previous value from before the
clear operation (i.e., enabled(1) or disabled(2)). The
value of clear(3) can NOT be returned by a query
operation.
Context
- MIB
- DNS-RESOLVER-MIB
- OID
.0.0.32.2.1.5.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- dnsResNCache
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DNS-RESOLVER-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DNS-RESOLVER-MIB::dnsResNCacheStatus.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DNS-RESOLVER-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DNS-RESOLVER-MIB::dnsResNCacheStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enabled |
2 | disabled |
3 | clear |
Conformance
Member of
Compliance refinements
dnsResMIBCompliance
readonly
This object need not be writable.