Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jul 2007 04:49:35 +0300
From:      CK <ck@yourserveradmin.com>
To:        george <george@vagner.com>,  freebsd-questions@freebsd.org
Subject:   Re: how to qwery txt records in dns
Message-ID:  <469EC32F.3060705@yourserveradmin.com>
In-Reply-To: <039601c7c99d$787ffa50$6500a8c0@desk>
References:  <039601c7c99d$787ffa50$6500a8c0@desk>

next in thread | previous in thread | raw e-mail | index | archive | help
george wrote:
> I would like to ask how do I retrieve a txt record from DNS?

[kirt@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?469EC32F.3060705>