localHostStaticPrimaryDns
MX-SYSTEM-CONFIG-MIB ·
.1.3.6.1.4.1.4935.15.1.1.10.2
Object
User-defined static primary DNS (domain name server) IP address. The DNS is used mainly to resolve a FQDN (Fully qualified domain name) into the proper IP address or to get the FQDN from a specified IP address.
Context
- MIB
- MX-SYSTEM-CONFIG-MIB
- OID
.1.3.6.1.4.1.4935.15.1.1.10.2- Type
- scalar
- Access
- readwrite
- Status
- current
- Default
"192.168.0.10"- Parent
- ipAddressConfigLocalHostStatic
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MX-SYSTEM-CONFIG-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MX-SYSTEM-CONFIG-MIB::localHostStaticPrimaryDns.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MX-SYSTEM-CONFIG-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MX-SYSTEM-CONFIG-MIB::localHostStaticPrimaryDns'
Syntax
- Source
- MX-TCMxIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 0..255
Conformance
Member of