Binary label content
Binary32labels
NOTE: There is a bug in plog that prevents me writing literal backslashes, even html esecaped backslashes get lost. So every where where you read 32 you were supposed to read backslash-zero-three-two.
When I tried to use Net::DNS to prototype a server to support "draft-sisson-dnsext-dns-name-p-s-01.txt"I found out the hard way that Net::DNS does not support binary content of domain names that well. While trying to fix this I noticed that the dn_expand function from libresolv returns different expansions on different platforms.
Last week I decided to build Net::DNS with its own library and created the first version of that library. The library currently only contains dn_expand but I may add other hooks functions to it. The code is not ready for the main branch yet but mostly because I want to make sure that the RDATA format of TXT and other data can do the proper presentation format to wire format transalations too.
For those dependend on binary content try using the http://www.net-dns.org/svn/net-dns/branches/bin_labels/ subversion directory.
There is one design choice: Shall I print out a space in a domain name as " " or as "32". One of my friends suggested to print it as "32" as the space is to often used as a field seperator in scripts. I am sympathetic to that.