[Pdns-users] dig doesn't work after adding SPF record

Julian Mehnle julian at mehnle.net
Fri Jul 31 15:37:35 UTC 2009


shion wrote:

> Now I have added a SPF record.
> SPF	v=spf1 -all
>
> [...]
>
> After adding a SPF record, it isn't possible to dig the domain.

Unlike others in this thread have said, "SPF" is very well a valid RR 
type.  Your problem is that you forgot to enclose the RR contents in 
double quotes.  (The same applies to the database backends, BTW!  You 
actually have to store the double quotes in the database field!)

One thing about the "SPF" RR type, though:  Although the SPF spec prefers 
it over the legacy "TXT" type, some older implementations query only for 
TXT RRs.  I recommend having both "SPF"-type and "TXT"-type RRs with 
identical content.

-Julian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20090731/3d2afa9d/attachment-0001.sig>


More information about the Pdns-users mailing list