PowerDNS bind backend Exception: Unable to parse DNS TXT while TXT has non-latin symbol #723

Habbie opened this Issue Apr 26, 2013 · 3 comments


None yet

1 participant

Habbie commented Apr 26, 2013


We have buggy zone:

$TTL    3600
lentewenc.com.  IN      SOA     ns3.fastvps.ru. support.fastvps.ru. (2012031902 10800 3600 604800 86400)
lentewenc.com.  IN      NS       ns3.fastvps.ru.
lentewenc.com.  IN      NS       ns4.fastvps.ru.
lentewenc.com.  IN      MX      10 mail
lentewenc.com.  IN      A
www     IN      A
mail    IN      A
*       IN      A
lentewenc.com.  IN      TXT     "v=spf1 mx ip4: ?~@~Sall"

As u can see, it's non ascii symbols in txt record.

Bind output it as is:

host -t txt lentewenc.com ns3.fastvps.ru
Using domain server:
Name: ns3.fastvps.ru

lentewenc.com descriptive text "v=spf1 mx ip4: \226\128\147all"

But powerdns produces error:
Mar 27 13:27:06 ns1 pdns[494]: Exception: Unable to parse DNS TXT '"v=spf1 mx ip4: all"'
Mar 27 13:27:06 ns1 pdns[494]: Exception building answer packet (Unable to parse DNS TXT '"v=spf1 mx ip4: all"') sending out servfail

Could you fix it?

@Habbie Habbie was assigned Apr 26, 2013
Habbie commented May 16, 2013

see #541 too

Habbie commented May 17, 2013

current as of 032e390

@Habbie Habbie added a commit that referenced this issue May 17, 2013
@Habbie Habbie failing test for #541 and #723 0b2da21
@Habbie Habbie closed this in 830281f May 17, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment