All MIBs › CPE-DSL-MIB › cpeDnsSecondAddress
cpeDnsSecondAddress
Module: CPE-DSL-MIB
OID (symbolic): CPE-DSL-MIB::cpeDnsSecondAddress
OID (numeric): 1.3.6.1.4.1.16972.2.7.2
Node type: OBJECT-TYPE
Type: IpAddress
Access: read-write
Description: the secondary DNS IP address
What is cpeDnsSecondAddress?
This read-write IpAddress object holds the secondary DNS server address, used as a fallback if the primary resolver is unreachable. An admin sets it to a different resolver than cpeDnsPrimaryAddress so name resolution keeps working if one DNS server goes down. For example, an ISP points cpeDnsSecondAddress at a resolver in a different data center than the primary for redundancy.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.16972.2.7.2 snmpwalk -v2c -c public <target> CPE-DSL-MIB::cpeDnsSecondAddress
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.16972.2.7.2.1 snmpget -v2c -c public <target> CPE-DSL-MIB::cpeDnsSecondAddress.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.16972.2.7.2.1 a <value>
Start monitoring Huawei xDSL CPE modem/router with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the CPE-DSL-MIB::cpeDnsSecondAddress OID value, configure state conditions and alerts, and monitor any Huawei xDSL CPE modem/router from a single console.
OID Breakdown
Upper-level ancestors (6 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 |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.16972 | cpeDSL | CPE-DSL-MIB |
| 1.3.6.1.4.1.16972.2 | cpeConfig | CPE-DSL-MIB |
| 1.3.6.1.4.1.16972.2.7 | cpeWanDns | CPE-DSL-MIB |
| 1.3.6.1.4.1.16972.2.7.2 | cpeDnsSecondAddress | CPE-DSL-MIB |