Cisco Cisco Email Security Appliance C160 Références techniques

Page de 458
 
92
Cisco AsyncOS 8.5 CLI Reference Guide
 
Chapter 3      The Commands: Reference Examples
  DNS
Configuring DNS to use the Internet root nameservers:
Nameserver arguments:
<ns_domain>
 - The domain to override.
<ns_name>
 - The name of the nameserver.
<ns_ip>
 - The IP address of the nameserver.
Note
You can override certain domains by specifying an alternate name server for that domain.
Deleting nameservers:
Note
When deleting, if you do not specify an 
ns_name
, then all nameservers for that domain will be removed.
Clearing all DNS settings and automatically configuring the system to use the Internet root servers:
Displaying the current DNS settings.
Example
Each user-specified DNS server requires the following information:
Hostname 
IP address
Domain authoritative for (alternate servers only)
Four subcommands are available within the 
dnsconfig
 command:
dnsconfig roots new <ns_domain> <ns_name> <ns_ip>
dnsconfig roots delete <ns_domain> [ns_name]
dnsconfig roots
dnsconfig print
Table 3-29
Subcommands for 
dnsconfig
 Command
Syntax
Description
new
Add a new alternate DNS server to use for specific domains or local 
DNS server.
delete
Remove an alternate server or local DNS server.
edit
Modify an alternate server or local DNS server.
setup
Switch between Internet root DNS servers or local DNS servers.