
Chapter 43 Managed AP Commands
43.4 DNS Server Commands
The following table describes commands for configuring the AP’s DNS server. You must use the configure terminal command to enter the configuration mode before you can use these commands.
Table 159 Command Summary: DNS Server
COMMAND | DESCRIPTION | |
ip dns server | Sets a domain zone forwarder record that specifies a fully | |
{<1..32>appendinsert <1..32>} | qualified domain name. You can also use a asterisk (*) if | |
{domain_zone_name*} {interface | all domain zones are served by the specified DNS | |
interface_name | server(s). | |
domain_zone_name: This is a domain zone, not a host. | ||
ipv4_address [interface {interface_name | ||
auto}]} | 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 | Changes the index number of a zone forwarder record. | |
to <1..32> |
| |
no ip dns server | Removes the specified zone forwarder record. |
43.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
Router(config)# capwap ap vlan ip address 192.168.1.100 255.255.255.0 Router(config)# capwap ap vlan
Router(config)# capwap ap vlan ip gateway 192.168.1.1
Router(config)# ip dns server
Router(config)# capwap ap
274 |
| |
NXC CLI Reference Guide |
| |
|
|
|