[Pdns-users] large TXT records?
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
> > 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 220.127.116.11.in-addr.arpa ns2.cyberlink.ch
Using domain server:
18.104.22.168.in-addr.arpa text "X-IPsec-Server(10)=22.214.171.124" " AQNmX2yCPB0z4T04Ngi4URyVwBBIe1+eECbQ6MHaxrxHo7xwcibJZs01zQ0K8hCobhnLOe7QzaeSW4X2ygDTLgb/OJ4rlSoetOZc4GBZKA80XheEoPS3a3FaeIYcE0QERMj0S4mAxH4zc6fixRQPwnTSnUqkD+PlunizlfX/q8fpZei2ntuzuG+CvWtoDxDoerOPMamxFn0ERTiYodYH6ngG7AXB+09HfpyGDlllUNH0xSlIdyTQUjP2Zk7z7W" "VlNYjZgV7opUfqxGax/8o/8wkJxQ4tTlf/tU9gizyjQo8FU7aRY2ydzQCYiOEQJCrvoFbTZaZ+nLis2GQgwBNGJ37b"
or more readable: (as etherreal shows me)
TXT: " AQNmX2yCPB0z4T04Ngi4URyVwBBIe1....2Zk7z7W"
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 126.96.36.199.in-addr.arpa ns3.cyberlink.ch
Using domain server:
188.8.131.52.in-addr.arpa text "X-IPsec-Server(10)=184.108.40.206"
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?
"The software said it requires Windows 95 or better,
so I installed Linux"
More information about the Pdns-users