pktcMtaDevServerDns1

PKTC-IETF-MTA-MIB · .1.3.6.1.2.1.140.1.2.5

Object

This object contains the IP Address of the primary
DNS server to be used by the MTA.  The type of this address
is determined by the value of the
pktcMtaDevDnsServerAddressType object.
When the latter has the value 'ipv4(1)', this object
contains the IP address of the primary DNS server.
As defined in RFC 2132, PacketCable-compliant MTAs receive
the IP addresses of the DNS Servers in DHCP option 6.
The behavior of this object when the value of
pktcMtaDevDnsServerAddressType is other than 'ipv4(1)'
is not presently specified, but it may be specified
in future versions of this MIB module.
If a value is written into an instance of
pktcMtaDevServerDns1, the agent MUST NOT retain the
supplied value across MTA re-initializations or reboots.

Context

MIB
PKTC-IETF-MTA-MIB
OID
.1.3.6.1.2.1.140.1.2.5
Type
scalar
Access
readwrite
Status
current
Parent
pktcMtaDevServer
Groups
1

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'PKTC-IETF-MTA-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PKTC-IETF-MTA-MIB::pktcMtaDevServerDns1.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'PKTC-IETF-MTA-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'PKTC-IETF-MTA-MIB::pktcMtaDevServerDns1'

Syntax

Values & Constraints

Type Constraints
range: 0..255

Conformance

Member of
Compliance refinements
pktcMtaBasicCompliance INET-ADDRESS-MIB::InetAddress
range: 4
An implementation is only required to support IPv4
addresses. Other address types support may be defined in
future versions of this MIB module.
pktcMtaBasicSmtaCompliance INET-ADDRESS-MIB::InetAddress
range: 4
An implementation is only required to support IPv4
addresses. Other address types support may be defined in
future versions of this MIB module.