TXT entries for DomainKeys seem to be truncated #111

Closed
Habbie opened this Issue Apr 26, 2013 · 2 comments

Projects

None yet

1 participant

@Habbie
Member
Habbie commented Apr 26, 2013

Using pdns internally as a caching server. This is latest 3.1.4

$ dig +short yahoogroups.com NS
ns3.yahoo.com.
ns4.yahoo.com.
ns5.yahoo.com.
ns2.yahoo.com.
ns1.yahoo.com.

$ dig +short lima._domainkey.yahoogroups.com TXT @ns3.yahoo.com
"k=rsa\; p=MHwwDQYJKoZIhvcNAQEBBQADawAwaAJhAL10WHRWMSb9Tnl+k4Kzpc18rDCTpDT1pbK0xwkdZIZkaP8NB75qa/S57xccZlIwbI22Ooy/IY+8WxQtvE2z4W" "LLNOf9hkMeicUH48TGkEoCAcaSjJz/b3NMrOy9l1U7gQIDAP//"

Notice the apparent two parts to that response. Sending to our pdns caching server:

$ dig +short lima._domainkey.yahoogroups.com TXT @10.202.5.1
"k=rsa\; p=MHwwDQYJKoZIhvcNAQEBBQADawAwaAJhAL10WHRWMSb9Tnl+k4Kzpc18rDCTpDT1pbK0xwkdZIZkaP8NB75qa/S57xccZlIwbI22Ooy/IY+8WxQtvE2z4W"

The second part of the response appears to be lost.

Our config:

allow-from=10.202.0.0/16
export-etc-hosts=yes
forward-zones=ab.surbl.org=10.202.4.212,be.surbl.org=10.202.4.212,cidr.wpbl.pc9.org=10.202.4.212,jp.surbl.org=10.202.4.212,list.dsbl.org=10.202.4.212,multi.surbl.org=10.202.4.212,ob.surbl.org=10.202.4.212,sbl-xbl.spamhaus.org=10.202.4.212,sbl.spamhaus.org=10.202.4.212,sc.surbl.org=10.202.4.212,ws.surbl.org=10.202.4.212,xbl.spamhaus.org=10.202.4.212
local-address=10.202.5.1
logging-facility=5

Nothing appears in the log about this query.

djb dnscache does seem to return the correct result:

$ dig +short lima._domainkey.yahoogroups.com TXT @127.0.0.1
"k=rsa\; p=MHwwDQYJKoZIhvcNAQEBBQADawAwaAJhAL10WHRWMSb9Tnl+k4Kzpc18rDCTpDT1pbK0xwkdZIZkaP8NB75qa/S57xccZlIwbI22Ooy/IY+8WxQtvE2z4W" "LLNOf9hkMeicUH48TGkEoCAcaSjJz/b3NMrOy9l1U7gQIDAP//"
@Habbie Habbie was assigned Apr 26, 2013
@Habbie Habbie closed this Apr 26, 2013
@Habbie
Member
Habbie commented Apr 26, 2013

Author: anon
FYI, this is 3.1.4 debian static package on sarge

@Habbie
Member
Habbie commented Apr 26, 2013

Author: ahu
Fixed by commit 996

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment