Zyxel NXC2500 [252/275] Dns server commands example

Zyxel NXC2500 [252/275] Dns server commands example
Chapter 42 Managed AP Commands
NXC CLI Reference Guide
252
42.4 DNS Server Commands
The following table describes commands for configuring the APs DNS server. You must use
the
configure terminal command to enter the configuration mode before you can use
these commands.
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 servers IP address of 10.1.1.1
and uses the bridge 0 interface to send queries to that DNS server
Set the AP controllers primary domain name as capwap-server.zyxel.com and secondary
domain name as capwap.test.com
Table 139 Command Summary: DNS Server
COMMAND DESCRIPTION
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}]}
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.
ip dns server zone-forwarder move <1..32>
to <1..32>
Changes the index number of a zone forwarder record.
no ip dns server zone-forwarder <1..4> Removes the specified zone forwarder record.
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

Содержание

Скачать