Chapter 14 System
NWA/WAC Series CLI Reference Guide
79
14.5 DNS Overview
DNS (Domain Name System) is for mapping a domain name to its corresponding IP address and
vice versa. The DNS server is extremely important because without it, you must know the IP
address of a machine before you can access it.
14.5.1 DNS Commands
The following table identifies the values required for many of these commands. Other input values
are discussed with the corresponding commands.
The following table describes the commands available for DNS. You must use the
configure
terminal
command to enter the configuration mode before you can use these commands.
Table 46 Input Values for General DNS Commands
LABEL DESCRIPTION
address_object The name of the IP address (group) object. You may use 1-31 alphanumeric characters,
underscores(
_), or dashes (-), but the first character cannot be a number. This value is
case-sensitive.
interface_name The name of the interface.
Ethernet interface: gex, x = 1 - N, where N equals the highest numbered Ethernet
interface for your NWA/WAC model.
VLAN interface: vlanx, x = 0 - 511.
Table 47 Command Summary: DNS
COMMAND DESCRIPTION
[no] ip dns server a-record fqdn w.x.y.z Sets an A record that specifies the mapping of a fully
qualified domain name (FQDN) to an IP address. The
no
command deletes an A record.
ip dns server cache-flush Clears the DNS server cache.
[no] ip dns server mx-record domain_name
{w.x.y.z|fqdn}
Sets a MX record that specifies a mail server that is
responsible for handling the mail for a particular domain.
The
no command deletes a MX record.
ip dns server rule {<1..32>|append|insert <1..32>}
access-group {ALL|profile_name} zone
{ALL|profile_name} action {accept|deny}
Sets a service control rule for DNS requests.
ip dns server rule move <1..32> to <1..32> Changes the number of a service control rule.
ip dns server zone-forwarder {<1..32>|append|insert
<1..32>} {domain_zone_name|*} user-defined w.x.y.z
[private | interface {interface_name | auto}]
Sets a domain zone forwarder record that specifies a DNS
server’s IP address.
private | interface: Use private if the NWA/WAC
connects to the DNS server through a VPN tunnel.
Otherwise, use the interface command to set the
interface through which the NWA/WAC sends DNS queries
to a DNS server. The auto means any interface that the
NWA/WAC 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 rule <1..32> Deletes a service control rule.
show ip dns server database Displays all configured records.
show ip dns server status Displays whether this service is enabled or not.