Chapter 32 System
ZyWALL (ZLD) CLI Reference Guide
210
32.5.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).
[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|address_object} zone
{ALL|address_object} 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.
[no] ip dns server zone-forwarder
{<1..32>|append|insert <1..32>} {domain_name|*}
{interface interface_name |user-defined
w.x.y.z} [private]
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
no command deletes a zone
forwarder record.
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 cache Displays all DNS cache entries.
show ip dns server database Displays all configured records.
show ip dns server status Displays whether this service is enabled or not.
Table 127 Command Summary: DNS (continued)
COMMAND DESCRIPTION
Router# configure terminal
Router(config)# ip dns server a-record www.abc.com 210.17.2.13