devDNSServerType
PDN-DNS-MIB ·
.1.3.6.1.4.1.1795.2.24.2.17.1.4.1.2
Object
This Objects allows an NMS to specify whether the Server IP address is the primary DNS server or the secondary DNS server. Only One Primary DNS server is allowed to be configured.
Context
- MIB
- PDN-DNS-MIB
- OID
.1.3.6.1.4.1.1795.2.24.2.17.1.4.1.2- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- devDNSServerEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'PDN-DNS-MIB' -M '/opt/observium/mibs/paradyne:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PDN-DNS-MIB::devDNSServerType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'PDN-DNS-MIB' -M '/opt/observium/mibs/paradyne:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PDN-DNS-MIB::devDNSServerType.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'PDN-DNS-MIB' -M '/opt/observium/mibs/paradyne:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'PDN-DNS-MIB::devDNSServerType'
Syntax
- Source
- PDN-TCDNSServerType
- Base type
Enumeration
Values & Constraints
Type Values
1 | primary |
2 | secondary |