how to qwery txt records in dns

CK ck at yourserveradmin.com
Thu Jul 19 01:49:38 UTC 2007


george wrote:
> I would like to ask how do I retrieve a txt record from DNS?

[kirt at office ~] dig iog.org.ua txt

; <<>> DiG 9.2.3 <<>> iog.org.ua txt
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 18333
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0

;; QUESTION SECTION:
;iog.org.ua.                    IN      TXT

;; ANSWER SECTION:
iog.org.ua.             86400   IN      TXT     "v=spf1 a mx ~all"

;; AUTHORITY SECTION:
iog.org.ua.             86400   IN      NS      ns2.afraid.org.
iog.org.ua.             86400   IN      NS      tazek.iog.org.ua.

;; Query time: 2357 msec
;; SERVER: 10.10.10.7#53(10.10.10.7)
;; WHEN: Thu Jul 19 04:47:01 2007
;; MSG SIZE  rcvd: 105


More information about the freebsd-questions mailing list