Bug 381 - Binary escaped and transfers
Binary escaped and transfers
Status: RESOLVED FIXED
Product: NSD
Classification: Unclassified
Component: NSD Code
other
Other All
: P5 enhancement
Assigned To: NSD team
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-04-22 14:30 CEST by Olaf Kolkman
Modified: 2011-05-13 12:16 CEST (History)
1 user (show)

See Also:


Attachments
net-dns.org master file (5.89 KB, application/octet-stream)
2011-04-22 14:32 CEST, Olaf Kolkman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Olaf Kolkman 2011-04-22 14:30:17 CEST

    
Comment 1 Olaf Kolkman 2011-04-22 14:32:35 CEST
Created attachment 166 [details]
net-dns.org master file

Attached file is net-dns.org
Comment 2 Olaf Kolkman 2011-04-22 14:35:41 CEST
net-dns.org masterfile contains:

$ORIGIN t.net-dns.org.
txt-utf8		TXT	\# 33 09E58FA4E6B1A0E382840CE89B99E9A39BE8BEBCE3828009E6B0B4E381AEE99FB3
txt-utf8-bin		TXT	"古池や" "蛙飛込む" "水の音"



(VERY VERY ugly)....

The txt-utf8.t.net-dns.org TXT record doesn't survive an AXFR and a patch to an NSD slave.

nsdc patch complains with:
...
net-dns.org.zone:97: warning: text escape \DDD overflow
net-dns.org.zone:97: warning: text escape \DDD overflow
net-dns.org.zone:97: warning: text escape \DDD overflow


the resultant file contains: 
txt-utf8	60	IN	TXT	"\4294967269\4294967183\4294967204\4294967270\4294967217\4294967200\4294967267\4294967170\4294967172" "\4294967272\4294967195\4294967193\4294967273\4294967203\4294967195\4294967272\4294967230\4294967228\4294967267\4294967170\4294967168" "\4294967270\4294967216\4294967220\4294967267\4294967169\4294967214\4294967273\4294967199\4294967219"
txt-utf8-bin	60	IN	TXT	"\4294967269\4294967183\4294967204\4294967270\4294967217\4294967200\4294967267\4294967170\4294967172" "\4294967272\4294967195\4294967193\4294967273\4294967203\4294967195\4294967272\4294967230\4294967228\4294967267\4294967170\4294967168" "\4294967270\4294967216\4294967220\4294967267\4294967169\4294967214\4294967273\4294967199\4294967219"




see mcvax.nlnetlabs.nl for details
Comment 3 Matthijs Mekking 2011-05-13 12:16:45 CEST
Fixed in NSD 3.2 branch and trunk