All MIBs › DNS-RESOLVER-MIB › dnsResCacheStatus
dnsResCacheStatus
Module: DNS-RESOLVER-MIB
OID (symbolic): DNS-RESOLVER-MIB::dnsResCacheStatus
OID (numeric): 1.3.6.1.2.1.32.2.1.4.1
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: Status/action for the resolver's cache.
enabled(1) means that the use of the cache is allowed. Query operations can return this state.
disabled(2) means that the 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 cache, but does not otherwise change the resolver's state. 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 dnsResCacheStatus?
This object manages the operational state and actions of a DNS resolver's cache. It can be set to enabled (cache is used), disabled (cache is not used), or clear (delete all cached entries). An operator would use this to enable/disable caching for troubleshooting, or to manually flush the cache when DNS records need to be refreshed immediately.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.2.1.32.2.1.4.1 snmpwalk -v2c -c public <target> DNS-RESOLVER-MIB::dnsResCacheStatus
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.2.1.32.2.1.4.1.1 snmpget -v2c -c public <target> DNS-RESOLVER-MIB::dnsResCacheStatus.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.2.1.32.2.1.4.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::dnsResCacheStatus 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.4 | dnsResCache | DNS-RESOLVER-MIB |
| 1.3.6.1.2.1.32.2.1.4.1 | dnsResCacheStatus | DNS-RESOLVER-MIB |