[Pdns-users] large TXT records?

ueli heuer ueli at heuer.org
Sat Jun 14 14:42:29 UTC 2003


On Tue, 4 Mar 2003 23:02:10 +0100
bert hubert <ahu at ds9a.nl> wrote:

> On Tue, Mar 04, 2003 at 05:07:28PM +0000, Jon Anderson wrote:
> 
> > Hi, I'm using the latest powerDNS under Linux with the mysql backend.
> > 
> > I'm trying to use powerdns to support IPSEC where encryption keys are
> > embedded in either KEY or TXT records. PowerDNS doesn't seem to support
> > KEY type records, so I tried a TXT type, but ran out of space at 256
> > characters.
> 
> hmm, you may want to try to make the content field 'TEXT' instead of
> varchar.
> 
> > Does anyone know what needs to be done with PowerDNS to serve a TXT
> > record which would like like this in bind:
> 
> Drop the additional "'s btw, powerdns doesn't understand that syntax. Not
> sure if it is an officially sanctioned syntax even.

I think, we need the " cause there can be more than one string.

here is an example from a bind-server
heuer at deadeye:~$ host -t txt 74.196.55.212.in-addr.arpa ns2.cyberlink.ch
Using domain server:
Name: 193.246.253.10
Address: 193.246.253.10#53
Aliases: 

74.196.55.212.in-addr.arpa text "X-IPsec-Server(10)=212.55.196.74" " AQNmX2yCPB0z4T04Ngi4URyVwBBIe1+eECbQ6MHaxrxHo7xwcibJZs01zQ0K8hCobhnLOe7QzaeSW4X2ygDTLgb/OJ4rlSoetOZc4GBZKA80XheEoPS3a3FaeIYcE0QERMj0S4mAxH4zc6fixRQPwnTSnUqkD+PlunizlfX/q8fpZei2ntuzuG+CvWtoDxDoerOPMamxFn0ERTiYodYH6ngG7AXB+09HfpyGDlllUNH0xSlIdyTQUjP2Zk7z7W" "VlNYjZgV7opUfqxGax/8o/8wkJxQ4tTlf/tU9gizyjQo8FU7aRY2ydzQCYiOEQJCrvoFbTZaZ+nLis2GQgwBNGJ37b"

or more readable: (as etherreal shows me)
TXT: X-IPsec-Server(10)=212.55.196.74
TXT: " AQNmX2yCPB0z4T04Ngi4URyVwBBIe1....2Zk7z7W"
TXT: "VlNYjZgV7opUfqxGax/8o/8wkJ.....GQgwBNGJ37b"

after a zonetransfer to a pdns-server (2.9.8+signal-patch) I get only the first record in the answer:
deadeye:~> host -t txt 74.196.55.212.in-addr.arpa ns3.cyberlink.ch
Using domain server:
Name: ns3
Address: 2001:8a8:22::10#53
Aliases: 

74.196.55.212.in-addr.arpa text "X-IPsec-Server(10)=212.55.196.74"


it seams that pdns ignores any txt part after the first, even if the data length is larger then the actuel txt-data. I didn't checked if the error ist in the zonetransfer code and/or in the TXT record  generation code. 

Can sombody confirm this? 

regards
 ueli

-- 
"The software said it requires Windows 95 or better,
                                                 so I installed Linux"


More information about the Pdns-users mailing list