Dns Server Commands; Dns Server Commands Example - ZyXEL Communications NXC Series Cli Reference Manual

Wireless lan controller
Hide thumbs Also See for NXC Series:
Table of Contents

Advertisement

Chapter 42 Managed AP Commands

42.4 DNS Server Commands

The following table describes commands for configuring the AP's DNS server. You must use
the
configure terminal
these commands.
Table 139 Command Summary: DNS Server
COMMAND
ip dns server zone-forwarder
{<1..32>|append|insert <1..32>}
{domain_zone_name|*} {interface
interface_name | user-defined
ipv4_address [interface {interface_name |
auto}]}
ip dns server zone-forwarder move <1..32>
to <1..32>
no ip dns server zone-forwarder <1..4>

42.4.1 DNS Server Commands Example

This example configures the AP to connect to the AP controller (the NXC) by DNS. The
following commands:
• Set the AP's management IP address to 192.168.1.100 and netmask 255.255.255.0
• Sets the AP's management interface to use VLAN ID 3
• Set the AP's default gateway IP address to 192.168.1.1
• Add a domain zone forwarder record that specifies a DNS server's IP address of 10.1.1.1
and uses the bridge 0 interface to send queries to that DNS server
• Set the AP controller's primary domain name as capwap-server.zyxel.com and secondary
domain name as capwap.test.com
Router(config)# capwap ap vlan ip address 192.168.1.100 255.255.255.0
Router(config)# capwap ap vlan vlan-id 3
Router(config)# capwap ap vlan ip gateway 192.168.1.1
Router(config)# ip dns server zone-forwarder append * user-defined 10.1.1.1
interface br0
Router(config)# capwap ap ac-ip capwap-server.zyxel.com capwap.test.com
252
command to enter the configuration mode before you can use
DESCRIPTION
Sets a domain zone forwarder record that specifies a fully
qualified domain name. You can also use a asterisk (*) if
all domain zones are served by the specified DNS
server(s).
domain_zone_name: This is a domain zone, not a host.
For example, zyxel.com.tw is the domain zone for the
www.zyxel.com.tw fully qualified domain name. So
whenever the NXC receives needs to resolve a
zyxel.com.tw domain name, it can send a query to the
recorded name server IP address.
interface_name: This is the interface through which
the ISP provides a DNS server. The interface should be
activated and set to be a DHCP client.
auto: any interface that the NXC uses to send DNS
queries to a DNS server according to the routing rule.
Changes the index number of a zone forwarder record.
Removes the specified zone forwarder record.
NXC CLI Reference Guide

Advertisement

Table of Contents
loading

Table of Contents