Showing posts with label txt record. Show all posts
Showing posts with label txt record. Show all posts

12 June, 2012

how to check TXT record with "dig"


just simple, open your terminal and type:

# dig -t txt domain.com


; <<>> DiG 9.8.1-P1 <<>> -t txt domain.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 30723
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 0

;; QUESTION SECTION:
;domain.com.            IN    TXT

;; ANSWER SECTION:
domain.com.        3600    IN    TXT    "v=spf1 mx ip4:69.63.211.0/25 ip4:64.85.73.0/25 ip4:70.103.251.0/24 ip4:63.251.171.160/27 ip4:216.34.94.160/27 include:rnmk.com include:custhelp.com include:salesforce.com include:emailbrain.com -all"

;; AUTHORITY SECTION:
domain.com.        79923    IN    NS    ns3.domain.com.
domain.com.        79923    IN    NS    ns1.domain.com.
domain.com.        79923    IN    NS    ns2.domain.com.

;; Query time: 124 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Jun 12 00:13:48 2012
;; MSG SIZE  rcvd: 293