Cisco Cisco Email Security Appliance C650 Referencia técnica
91
Cisco AsyncOS 8.5.5 CLI Reference Guide
Chapter 3 The Commands: Reference Examples
DNS
Usage
Commit: This command does not require a ‘commit’.
Cluster Management: This command can be used in all three machine modes (cluster, group, machine).
Batch Command: This command supports a batch format.
Batch Format
The batch format of the
dig
command can be used to perform all the fuctions of the traditional CLI
command.
•
Look up a record on a DNS server
•
Do a reverse lookup for given IP address on a DNS server
These are the options available for the
dig
command’s batch format
Example
The following example explicitly specifies a DNS server for the lookup.
dig [options] [@<dns_ip>] [qtype] <hostname>
dig -x <reverse_ip> [options] [@<dns_ip>]
-s <source_ip> Specify the source IP address.
-t Make query over TCP.
-u Make query over UDP (default).
dns_ip - Query the DNS server at this IP address.
qtype - Query type: A, PTR, CNAME, MX, SOA, NS, TXT.
hostname - Record that user want to look up.
reverse_ip - Reverse lookup IP address.
dns_ip - Query the DNS server at this IP address.
mail.com> dig @111.111.111.111 example.com MX
; <<>> DiG 9.4.3-P2 <<>> @111.111.111.111 example.com MX
; (1 server found)