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>
OID Breakdown
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | BIANCA-BRICK-PPP-MIB |
| 1.3.6 | dod | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1 | internet | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.2 | mgmt | BKTEL-HFC862-BASE-MIB |
| 1.3.6.1.2.1 | mib_2 | CHECKPOINT-MIB-2 |
| 1.3.6.1.2.1.32 | dns | DNS-SERVER-MIB |
| 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 |