DNS-RESOLVER-MIB :: dnsResCacheStatus

MIB Reference — IPNetwork Monitor

All MIBsDNS-RESOLVER-MIBdnsResCacheStatus

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 OIDNameModule
1isoLANART-AGENT
1.3orgBIANCA-BRICK-PPP-MIB
1.3.6dodBIANCA-BRICK-PPP-MIB
1.3.6.1internetBIANCA-BRICK-PPP-MIB
1.3.6.1.2mgmtBKTEL-HFC862-BASE-MIB
1.3.6.1.2.1mib_2CHECKPOINT-MIB-2
1.3.6.1.2.1.32dnsDNS-SERVER-MIB
1.3.6.1.2.1.32.2dnsResMIBDNS-RESOLVER-MIB
1.3.6.1.2.1.32.2.1dnsResMIBObjectsDNS-RESOLVER-MIB
1.3.6.1.2.1.32.2.1.4dnsResCacheDNS-RESOLVER-MIB
1.3.6.1.2.1.32.2.1.4.1dnsResCacheStatusDNS-RESOLVER-MIB