Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Apr 2008 14:21:20 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Paul Schmehl <pauls@utdallas.edu>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: OT question about dns
Message-ID:  <87prt0vbgv.fsf@kobe.laptop>
In-Reply-To: <4A88BCAAE6CDFDDFF91E3E30@utd65257.utdallas.edu> (Paul Schmehl's message of "Mon, 07 Apr 2008 18:05:33 -0500")
References:  <4A88BCAAE6CDFDDFF91E3E30@utd65257.utdallas.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 07 Apr 2008 18:05:33 -0500, Paul Schmehl <pauls@utdallas.edu> wrote:
> Does anyone know how to use dig or some other tool to query for TXT
> records in DNS?
>
> I'm working on implementing spf on a small domain that I maintain, and
> it doesn't seem to be working (according to the validators I'm using.)
> I'd like to be able to query the dns server myself, but I can't seem to
> find anything on how to extract or view TXT records for a domain.
>
> I tried dig @server domain TXT and dig @server domain MX, but I don't
> get the TXT record.

Are you sure there *is* a TXT record?

The dig(1) utility should work fine, AFAICT:

$ dig freebsd.org txt | expand | grep -i '[ ][ ]*in[ ][ ]*txt'
;freebsd.org.                   IN      TXT
freebsd.org.            507     IN      TXT     "v=spf1 ip4:69.147.83.53 ip4:69.147.83.54 ip6:2001:4f8:fff6::35 ip6:2001:4f8:fff6::36 ~all"
$




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87prt0vbgv.fsf>