All MIBs › CISCO-STACK-MIB › dnsServerAddr
dnsServerAddr
Module: CISCO-STACK-MIB
OID (symbolic): CISCO-STACK-MIB::dnsServerAddr
OID (numeric): 1.3.6.1.4.1.9.5.1.13.2.1.1
Node type: OBJECT-TYPE
Type: IpAddress
Access: read-only
Description: The IP address of a DNS server.
What is dnsServerAddr?
Read-only IP address of a configured DNS server that the device uses for name resolution.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.9.5.1.13.2.1.1 snmpwalk -v2c -c public <target> CISCO-STACK-MIB::dnsServerAddr
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.9.5.1.13.2.1.1.1 snmpget -v2c -c public <target> CISCO-STACK-MIB::dnsServerAddr.1
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> dnsServerAddr.1
Start monitoring Cisco Catalyst switch (legacy/mid-generation) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the CISCO-STACK-MIB::dnsServerAddr OID value, configure state conditions and alerts, and monitor any Cisco Catalyst switch (legacy/mid-generation) from a single console.
OID Breakdown
Upper-level ancestors (8 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.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.9 | cisco | CAT2600-MIB |
| 1.3.6.1.4.1.9.5 | workgroup | CISCO-ES-STACK-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.9.5.1 | ciscoStackMIB | CISCO-STACK-MIB |
| 1.3.6.1.4.1.9.5.1.13 | dnsGrp | CISCO-STACK-MIB |
| 1.3.6.1.4.1.9.5.1.13.2 | dnsServerTable | CISCO-STACK-MIB |
| 1.3.6.1.4.1.9.5.1.13.2.1 | dnsServerEntry | CISCO-STACK-MIB |
| 1.3.6.1.4.1.9.5.1.13.2.1.1 | dnsServerAddr | CISCO-STACK-MIB |