Re: AXFR from Bind oddities

Peter Pentchev <[email protected]> Tue, 13 Apr 2010 10:59:54 +0300
Newsgroups gmane.network.djbdns
Message-ID <[email protected]>
On Mon, Apr 12, 2010 at 04:19:18PM -0700, Matthew Dempsky wrote:
> On Mon, Apr 12, 2010 at 4:04 PM, Peter Pentchev <[email protected]> wrote:
> > Erm, why not decode the RR lines properly and convert them into
> > TXT (') lines, e.g. with something like the attached simple Perl
> > utility?
> 
> Technically, that's a lossy conversion as tinydns-data's TXT line
> syntax doesn't allow you to control how a string is split into chunks.
>  E.g., your script would convert "foo" "bar" into "foobar", and I
> think DNSSEC validation would then fail if you tried to apply it to
> the resulting record.

That's true.  Still, if the original poster decides to use dig and
then Net::DNS::Zonefile to parse its output and *then* generate
a tinydns TXT (') record, he'd be no better off with more effort
expended :)

> That said, all uses of TXT records that I know of effectively
> concatenate the string chunks anyway, so they're semantically
> equivalent.

Also true.

G'luck,
Peter

-- 
Peter Pentchev	[email protected]    [email protected]    [email protected]
PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint	2EE7 A7A5 17FC 124C F115  C354 651E EFB0 2527 DF13
.siht ekil ti gnidaer eb d'uoy ,werbeH ni erew ecnetnes siht fI
signature.asc (application/pgp-signature, 834 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iQIcBAEBCgAGBQJLxCR6AAoJEGUe77AlJ98TZ9gP/2fdXaRF9GrN014Xoz3U5TaE
KrhIMjfhsVtOwc7BotMKvPYuc7WXsuNCMHNOYyd/yGV7QfgfjTnIJ1iHgIV+Glw5
YQ9+nqf12GqG1f0L+IqXdUwuxfhZrAriidVJhhXyrA9nHnwUh3rf7qmy7VB9EONt
8cKp/BIzgHUNgWaV7hAGpM4WNffQZLX+pC5DXZ61oDF/Ucq00ArJwnPetm/Ru6Y1
5NC66lBAnwYGV2L8bZ14wZ/oxA9S8/Do/VLl5apNB2hyjFLWc02lHygYCU/spRV3
rXMgPp3q6zYe+4Bv/yAN3PgZrMkD3tBA+GRtgHNuDv1xB9LXsXgc9doYwgOOeixj
zwS+KqQ5/RQR7/ZguGvUcmgqxU2wuyK/ITZrYtDEkMeokeXWCMx1+bcKTwXZfXYL
k5bheNjHifgDu97assRpfpVe7SODjzpMI7CObZjxTcFH71MAiRwq4F88h/zFyaRx
coXwHUtoR1h8OvTCis3jTFBZfjd+dUhOMvPmdire9pHT2PHhNAc9m6A6tUX/+UuT
9QUyNZKWl4u2m//icTZb2C+tIWV0Gn+oIYTtoDR8l+Vx9Yvz0GNhPwxDnigGRSxv
rJTNNfrKMFktvzp6JkPNKcPuhZqopc3Pu9JSPCwMP1ThQ0YMYeT9NhdPqzA7Sn5E
aO9/MSnykNdBMEzPhO9A
=jKoI
-----END PGP SIGNATURE-----