All MIBs › TN-DEV-SYS-IP2-MIB › tnIp2DnsServerMode
tnIp2DnsServerMode
Module: TN-DEV-SYS-IP2-MIB
OID (symbolic): TN-DEV-SYS-IP2-MIB::tnIp2DnsServerMode
OID (numeric): 1.3.6.1.4.1.868.2.5.10.8.2.2.1.2
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: This setting controls the DNS name resolution done by the switch. The following modes are supported:
No DNS server: No DNS server will be used. staticIPv4 : Explicitly provide the IPv4 address of the DNS Server in dotted decimal notation. staticIPv6 : Explicitly provide the IPv6 address of the DNS Server in dotted decimal notation. anyDHCPv4 : From any IPv4 DHCP interfaces: The first DNS server offered from a DHCP lease to a DHCP-enabled interface will be used. thisDHCPv4 : From the specified IPv4 DHCP interface. Specify from which DHCP-enabled interface a provided DNS server should be preferred. anyDHCPv6 : From any IPv6 DHCP interfaces: The first DNS server offered from a DHCP lease to a DHCP-enabled interface will be used. thisDHCPv6 : From the specified IPv6 DHCP interface. Specify from which DHCP-enabled interface a provided DNS server should be preferred.
What is tnIp2DnsServerMode?
This read-write enumeration selects how this DNS server slot obtains its address: unused, a static IPv4 or IPv6 address, or learned automatically from any or a specific DHCP-enabled interface. An admin picks a static mode to hard-configure a known DNS server, or one of the DHCP-derived modes to let the switch adopt whatever DNS server its upstream DHCP lease provides, useful when the ISP's DNS servers can change. Setting this to thisDHCPv4(5) and specifying the VLAN interface via tnIp2DnsVlan makes the switch prefer the DNS server offered specifically on that DHCP lease over any other interface's offer.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.868.2.5.10.8.2.2.1.2 snmpwalk -v2c -c public <target> TN-DEV-SYS-IP2-MIB::tnIp2DnsServerMode
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.868.2.5.10.8.2.2.1.2.1 snmpget -v2c -c public <target> TN-DEV-SYS-IP2-MIB::tnIp2DnsServerMode.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.868.2.5.10.8.2.2.1.2.1 i <value>
Start monitoring Transition Networks managed media converter/switch/NID (IPv4/IPv6/DHCP/DNS config status) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the TN-DEV-SYS-IP2-MIB::tnIp2DnsServerMode OID value, configure state conditions and alerts, and monitor any Transition Networks managed media converter/switch/NID (IPv4/IPv6/DHCP/DNS config status) from a single console.
OID Breakdown
Upper-level ancestors (9 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 |
| 1.3.6.1.4.1.868 | transition | TRANSITION-SMI |
| 1.3.6.1.4.1.868.2 | products | TRANSITION-SMI |
| 1.3.6.1.4.1.868.2.5 | tnProducts | TRANSITION-SMI |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.868.2.5.10 | tnDevSysIpMgmtMIB | TN-DEV-SYS-IP2-MIB |
| 1.3.6.1.4.1.868.2.5.10.8 | tnDevSysIp2mgmt | TN-DEV-SYS-IP2-MIB |
| 1.3.6.1.4.1.868.2.5.10.8.2 | tnIp2DnsConfig | TN-DEV-SYS-IP2-MIB |
| 1.3.6.1.4.1.868.2.5.10.8.2.2 | tnIp2DnsServerConfTable | TN-DEV-SYS-IP2-MIB |
| 1.3.6.1.4.1.868.2.5.10.8.2.2.1 | tnIp2DnsServerConfEntry | TN-DEV-SYS-IP2-MIB |
| 1.3.6.1.4.1.868.2.5.10.8.2.2.1.2 | tnIp2DnsServerMode | TN-DEV-SYS-IP2-MIB |