spf-discuss
[Top] [All Lists]

Re: Re: The IANA has assigned us DNS number 99 for SPF

2005-07-12 05:56:02
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael Weiner wrote:
OK, i have a test domain, weiners.org where i have the following spf record:

"v=spf1 redirect=userfriendly.net"

converted (using your script),

\# 33 20763d737066312072656469726563743d75736572667269656e646c792e6e6574

amd using Florian's,

\# 32 76 3d 73 70 66 31 20 72 65 64 69 72 65 63 74 3d 75 73 65 72 66 72
69 65 6e 64 6c 79 2e 6e 65 74

I am somewhat concerned they dont exactly match, and i am just trying to
understand why, not picking on either script - but i would expect it
should generate the same record. Now my next dummy question for the day,
is so should the record in the zone be:

weiners.org.  300     IN      TYPE99 "v=spf1 redirect=userfriendly.net"

or the converted string? Sorry to ask somewhat silly questions - lack of
caffeine....


Well i get the following, doing a dig -t type99 weiners.org

; <<>> DiG 9.2.2-P3 <<>> -t type99 weiners.org
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 63336
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;weiners.org.                   IN      TYPE99

;; ANSWER SECTION:
weiners.org.            300     IN      TYPE99  \# 32
763D737066312072656469726563743D75736572667269656E646C79 2E6E6574
;; AUTHORITY SECTION:
weiners.org.            86400   IN      NS      ns2.userfriendly.net.
weiners.org.            86400   IN      NS      ns1.userfriendly.net.

;; ADDITIONAL SECTION:
ns1.userfriendly.net.   86400   IN      A       68.22.33.177
ns2.userfriendly.net.   86400   IN      A       68.22.33.179

interesting that it adds a break in there...

Michael
- --
Darwin Kernel Version 8.1.0: root:xnu-792.1.5.obj~4/RELEASE_PPC
Load Averages: 5.64 4.35 3.94
CPU Usage:  46.1% user 53.9% sys 0.0% idle
Memory Usage:   116M wired  592M active  270M inactive  979M used 44.5M free
- -=- This AutoSig was generated on 07/12/2005 at 08:52. -=-
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFC073hSi7P5a7gZLQRAt2TAJ4utgULnkGHRdupykrqKB9YBUmuhACgttWj
cTGuyrOH8k1wr+sSnThyVJY=
=wawe
-----END PGP SIGNATURE-----