All MIBs › ZYXEL-DHCP-SERVER-MIB › zyDhcpServerPrimaryDNS
zyDhcpServerPrimaryDNS
Module: ZYXEL-DHCP-SERVER-MIB
OID (symbolic): ZYXEL-DHCP-SERVER-MIB::zyDhcpServerPrimaryDNS
OID (numeric): 1.3.6.1.4.1.890.1.15.3.19.1.2.1.6
Node type: OBJECT-TYPE
Type: IpAddress
Access: read-write
Description: The IP addresses of primary DNS server. The DNS servers are passed to the DHCP clients along with the IP address and the subnet mask.
What is zyDhcpServerPrimaryDNS?
This is the IP address of the primary DNS server that gets passed to DHCP clients on this VLAN along with their leased IP address and subnet mask. An admin sets this so devices on the VLAN can resolve hostnames without manual DNS configuration. For example, setting this to 8.8.8.8 or an internal DNS server address ensures new DHCP clients on that VLAN automatically get working name resolution.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.890.1.15.3.19.1.2.1.6 snmpwalk -v2c -c public <target> ZYXEL-DHCP-SERVER-MIB::zyDhcpServerPrimaryDNS
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.890.1.15.3.19.1.2.1.6.1 snmpget -v2c -c public <target> ZYXEL-DHCP-SERVER-MIB::zyDhcpServerPrimaryDNS.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.890.1.15.3.19.1.2.1.6.1 a <value>
Start monitoring ZyXEL gateway/router, DHCP server (address-pool/active-lease/static-binding status) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the ZYXEL-DHCP-SERVER-MIB::zyDhcpServerPrimaryDNS OID value, configure state conditions and alerts, and monitor any ZyXEL gateway/router, DHCP server (address-pool/active-lease/static-binding status) from a single console.
OID Breakdown
Upper-level ancestors (10 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.890 | zyxel | IES5206-MIB |
| 1.3.6.1.4.1.890.1 | products | IES5206-MIB |
| 1.3.6.1.4.1.890.1.15 | nwa1100nh | NWA1100-NH |
| 1.3.6.1.4.1.890.1.15.3 | esMgmt | NWA1100-NH |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.890.1.15.3.19 | zyxelDhcpServer | ZYXEL-DHCP-SERVER-MIB |
| 1.3.6.1.4.1.890.1.15.3.19.1 | zyxelDhcpServerSetup | ZYXEL-DHCP-SERVER-MIB |
| 1.3.6.1.4.1.890.1.15.3.19.1.2 | zyxelDhcpServerTable | ZYXEL-DHCP-SERVER-MIB |
| 1.3.6.1.4.1.890.1.15.3.19.1.2.1 | zyxelDhcpServerEntry | ZYXEL-DHCP-SERVER-MIB |
| 1.3.6.1.4.1.890.1.15.3.19.1.2.1.6 | zyDhcpServerPrimaryDNS | ZYXEL-DHCP-SERVER-MIB |