Dns Command Example - ZyXEL Communications UAG Series Cli Reference Manual

Unified access gateway
Hide thumbs Also See for UAG Series:
Table of Contents

Advertisement

Chapter 32 System
Table 117 Command Summary: DNS (continued)
COMMAND
[no] ip dns server zone-forwarder
{<1..32>|append|insert <1..32>}
{domain_zone_name|*} interface interface_name
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}]
ip dns server zone-forwarder move <1..32> to
<1..32>
no ip dns server rule <1..32>
show ip dns server
show ip dns server database
show ip dns server status

32.6.3 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
206
DESCRIPTION
Sets a domain zone forwarder record that specifies a fully qualified
domain name. You can also use a star (*) 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. For example,
whenever the UAG 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.
The
command deletes a zone forwarder record.
no
Sets a domain zone forwarder record that specifies a DNS server's
IP address.
private | interface: Use private if the UAG connects to the
DNS server through a VPN tunnel. Otherwise, use the interface
command to set the interface through which the UAG sends DNS
queries to a DNS server. The auto means any interface that the
UAG uses to send DNS queries to a DNS server according to the
routing rule.
Changes the index number of a zone forwarder record.
Deletes a service control rule.
Displays all DNS entries.
Displays all configured records.
Displays whether this service is enabled or not.
UAG CLI Reference Guide

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents