All MIBs › DNS-RESOLVER-MIB › dnsResNCacheStatus
dnsResNCacheStatus
Module: DNS-RESOLVER-MIB
OID (symbolic): DNS-RESOLVER-MIB::dnsResNCacheStatus
OID (numeric): 1.3.6.1.2.1.32.2.1.5.1
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: 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.
What is dnsResNCacheStatus?
Controls the resolver's negative-response cache: enabled allows caching of 'no such name/data' answers, disabled turns it off, and setting it to clear wipes the cache's contents (after which the status reverts to its prior enabled/disabled value).
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.2.1.32.2.1.5.1 snmpwalk -v2c -c public <target> DNS-RESOLVER-MIB::dnsResNCacheStatus
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.2.1.32.2.1.5.1.1 snmpget -v2c -c public <target> DNS-RESOLVER-MIB::dnsResNCacheStatus.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.2.1.32.2.1.5.1.1 i <value>
Start monitoring Host/network device running DNS resolver client software (vendor-neutral, RFC 1612) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the DNS-RESOLVER-MIB::dnsResNCacheStatus OID value, configure state conditions and alerts, and monitor any Host/network device running DNS resolver client software (vendor-neutral, RFC 1612) from a single console.
OID Breakdown
Upper-level ancestors (7 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.2 | mgmt | AXON-MIB |
| 1.3.6.1.2.1 | mib_2 | AXON-MIB |
| 1.3.6.1.2.1.32 | dns | DNS-SERVER-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.2.1.32.2 | dnsResMIB | DNS-RESOLVER-MIB |
| 1.3.6.1.2.1.32.2.1 | dnsResMIBObjects | DNS-RESOLVER-MIB |
| 1.3.6.1.2.1.32.2.1.5 | dnsResNCache | DNS-RESOLVER-MIB |
| 1.3.6.1.2.1.32.2.1.5.1 | dnsResNCacheStatus | DNS-RESOLVER-MIB |