Chapter 33 System
The following table describes the commands available for DNS. You must use the
terminal
Table 151 Command Summary: DNS
COMMAND
[no] ip dns server a-record fqdn w.x.y.z
ip dns server cache-flush
[no] ip dns server mx-record domain_name
{w.x.y.z|fqdn}
ip dns server rule {<1..32>|append|insert
<1..32>} access-group {ALL|address_object} zone
{ALL|address_object} action {accept|deny}
ip dns server rule move <1..32> to <1..32>
[no] ip dns server zone-forwarder
{<1..32>|append|insert <1..32>} {domain_name|*}
{interface interface_name |user-defined
w.x.y.z} [private]
ip dns server zone-forwarder move <1..32> to
<1..32>
no ip dns server rule <1..32>
show ip dns server cache
show ip dns server database
show ip dns server status
33.6.2 DNS Command Example
This command sets an A record that specifies the mapping of a fully qualified domain name
(www.abc.com) to an IP address (210.17.2.13).
Router# configure terminal
Router(config)# ip dns server a-record www.abc.com 210.17.2.13
256
command to enter the configuration mode before you can use these commands.
DESCRIPTION
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.
Clears the DNS cache.
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.
Sets a service control rule for DNS requests.
Changes the number of a service control rule.
Sets a zone forwarder record that specifies a
DNS server's IP address. Use private if the
ZyWALL connects to the DNS server through a
VPN tunnel. The
command deletes a zone
no
forwarder record.
Changes the index number of a zone forwarder
record.
Deletes a service control rule.
Displays all DNS cache entries.
Displays all configured records.
Displays whether this service is enabled or not.
ZyWALL (ZLD) CLI Reference Guide
configure
Need help?
Do you have a question about the ZYWALL USG CLI and is the answer not in the manual?