Chapter 33 System

Table 124 Command Summary: DNS (continued)

COMMAND

DESCRIPTION

ip dns server rule {<1..64>appendinsert

Sets a service control rule for DNS requests.

<1..64>} access-group {ALLprofile_name} zone

 

{ALLprofile_name} action {acceptdeny}

 

ip dns server rule move <1..64> to <1..64>

Changes the number of a service control rule.

ip dns server zone-forwarder

Sets a domain zone forwarder record that

{<1..32>appendinsert <1..32>}

specifies a DNS server’s IP address.

{domain_zone_name*} user-definedw.x.y.z

private interface: Use private if the

[private interface {interface_name auto}]

NXC connects to the DNS server through a VPN

 

tunnel. Otherwise, use the interface

 

command to set the interface through which the

 

NXC sends DNS queries to a DNS server. The

 

auto means any interface that the NXC uses to

 

send DNS queries to a DNS server according to

 

the routing rule.

 

 

ip dns server zone-forwarder move <1..32> to

Changes the index number of a zone forwarder

<1..32>

record.

no ip dns server rule <1..64>

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.

show ip dns server cache

Displays all DNS records.

show ip dns server tcp-listen

Displays whether TCP listen is enabled to allow

 

an application to accept incoming TCP

 

connections.

 

 

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

212

 

NXC CLI Reference Guide