Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TXT record parsing errors due to special characters #595

Closed
Habbie opened this issue Apr 26, 2013 · 1 comment
Closed

TXT record parsing errors due to special characters #595

Habbie opened this issue Apr 26, 2013 · 1 comment
Assignees

Comments

@Habbie
Copy link
Member

Habbie commented Apr 26, 2013

We use pdns 3.1 (2607) as slave and we see several errors like:

pdns[777]: Exception building answer packet (Unable to parse DNS TXT '"v=spf1 a include:spf.emailfiltering.com all"') sending out servfail

The problem happens, when the - is not a hyphen-minus, but a UTF-8 encoded en-dash:

Fetching the record from the master (bind) works fine:

;; ANSWER SECTION:
example.com. 3600 IN TXT
"v=spf1 a include:spf.emailfiltering.com \226\128\147all"

Of course the SPF records seems to be wrong (copy-paste error).

But shouldn't pdns deliver the record although there is binary data?

@ghost ghost assigned Habbie Apr 26, 2013
@Habbie Habbie closed this as completed Apr 26, 2013
@Habbie
Copy link
Member Author

Habbie commented Apr 26, 2013

Author: peter
duplicate of #541; the fix committed for 541 should fix your use case too. Closing this one.

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

No branches or pull requests

1 participant