defaultDnsServersConfigSource
MX-DHCP-MIB ·
.0.1900.1.500.100
Object
scalar r/w
Enumeration
Configuration Source
Default configuration source for the DNS servers of all
subnets.
* HostConfiguration: The DNS servers are obtained from the
host configuration.
* Automatic: The DNS servers are automatically obtained from
the network configured in the
Subnets.AutomaticConfigurationInterface parameter of this
subnet.
* Static: The DNS servers are specified in the
DefaultStaticDnsServers table.
Context
- MIB
- MX-DHCP-MIB
- OID
.0.1900.1.500.100- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- dnsServersGroup
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-DHCP-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MX-DHCP-MIB::defaultDnsServersConfigSource.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MX-DHCP-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MX-DHCP-MIB::defaultDnsServersConfigSource'
Syntax
Enumeration
Values & Constraints
Enumerated Values
200 | hostConfiguration |
300 | automatic |
400 | static |