Cisco Cisco Email Security Appliance C650 Referencia técnica
48
Cisco AsyncOS 9.1 for Email CLI Reference Guide
Chapter 3 The Commands: Reference Examples
DNS
dig
Description
Look up a record on a DNS server
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 functions 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.
mail.com> dig @111.111.111.111 example.com MX
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.