Cisco Cisco Email Security Appliance X1050 Referencia técnica
3-53
CLI Reference Guide for AsyncOS 9.7 for Cisco Email Security Appliances
Chapter 3 The Commands: Reference Examples
DNS
Example
The following example explicitly specifies a DNS server for the lookup.
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)
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 18540
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 3
;; QUESTION SECTION:
;example.com. IN MX
;; ANSWER SECTION:
mexample.com. 10800 IN MX 10 mexample.com.
;; AUTHORITY SECTION:
example.com. 10800 IN NS test.example.com.
;; ADDITIONAL SECTION:
example.com. 10800 IN A 111.111.111.111
example.com. 10800 IN AAAA 2620:101:2004:4201::bd
example.com. 300 IN A 111.111.111.111
;; Query time: 6 msec
;; SERVER: 10.92.144.4#53(10.92.144.4)
;; WHEN: Fri Dec 9 23:37:42 2011
;; MSG SIZE rcvd: 143
Note
The
dig
command filters out the information in the Authority and Additional sections if you do not
explicitly specify the DNS server when using the command.
dnsconfig
Description
Configure DNS setup
-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.