Cisco Cisco Email Security Appliance C170 Folheto

Página de 322
 
3-52
AsyncOS 9.6 for Cisco Email Security Appliances CLI 참조 가이드
 
     명령참조 예제
  DNS
배치 형식
dig
 명령의 배치 형식은 기존 CLI 명령의 모든 기능을 수행하는 데 사용할 수 있습니다.
DNS 서버의 레코드를 조회합니다.
DNS 서버에서 지정된 IP 주소에 대해 역방향 조회를 수행합니다.
dig
 명령의 배치 형식에 사용할 수 있는 옵션입니다.
다음 예에서는 조회할 DNS 서버를 명시적으로 지정합니다.
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
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.