All MIBs › DNS-RESOLVER-MIB › dnsResNCacheErrCode
dnsResNCacheErrCode
Module: DNS-RESOLVER-MIB
OID (symbolic): DNS-RESOLVER-MIB::dnsResNCacheErrCode
OID (numeric): 1.3.6.1.2.1.32.2.1.5.5.1.7
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-only
Description:
The authoritative error that has been cached:
nonexistantName(1) indicates an authoritative name error (RCODE = 3).
noData(2) indicates an authoritative response with no error (RCODE = 0) and no relevant data.
other(3) indicates some other cached authoritative error. At present, no such errors are known to exist.
What is dnsResNCacheErrCode?
This read-only object indicates which type of authoritative DNS error is cached in a negative cache entry: nonexistent name (NXDOMAIN), no data (NODATA), or other errors. An operator inspects this to understand why a DNS query result is cached as negative and how long the resolver should honor the negative cache before retrying.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.2.1.32.2.1.5.5.1.7 snmpwalk -v2c -c public <target> DNS-RESOLVER-MIB::dnsResNCacheErrCode
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.2.1.32.2.1.5.5.1.7.1 snmpget -v2c -c public <target> DNS-RESOLVER-MIB::dnsResNCacheErrCode.1
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.5 | dnsResNCache | DNS-RESOLVER-MIB |
| 1.3.6.1.2.1.32.2.1.5.5 | dnsResNCacheErrTable | DNS-RESOLVER-MIB |
| 1.3.6.1.2.1.32.2.1.5.5.1 | dnsResNCacheErrEntry | DNS-RESOLVER-MIB |
| 1.3.6.1.2.1.32.2.1.5.5.1.7 | dnsResNCacheErrCode | DNS-RESOLVER-MIB |