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

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

Projects

None yet

1 participant

@Habbie
Member
Habbie commented Apr 26, 2013

Hello,

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        78.46.192.210
www     IN      A        78.46.192.210
mail    IN      A        78.46.192.210
*       IN      A        78.46.192.210
lentewenc.com.  IN      TXT     "v=spf1 mx ip4:78.46.192.210 ?~@~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
Address: 46.4.4.96#53
Aliases: 

lentewenc.com descriptive text "v=spf1 mx ip4:78.46.192.210 \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:78.46.192.210 all"'
Mar 27 13:27:06 ns1 pdns[494]: Exception building answer packet (Unable to parse DNS TXT '"v=spf1 mx ip4:78.46.192.210 all"') sending out servfail

Could you fix it?

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

see #541 too

@Habbie
Member
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