semi-colon ";" in rdata for TXT records
Jack Tavares
j.tavares at F5.com
Mon Oct 1 10:52:12 UTC 2007
Hello all -
I am having a small problem.
Given these 2 TXT records in a zone file
isescaped TXT "escaped semi-colon\;"
unescaped TXT "unescaped semi-colon;"
(one has an escaped semi-colon, one has an UNescaped semi-colon)
dig returns
isescaped.test.net. 500 IN TXT "escaped semi-colon\;"
unescaped.test.net. 500 IN TXT "unescaped semi-colon\;"
dig makes sure that the semi-colon is escaped for output purposes.
Now I have another tool, written in C/C++ that calls ns_sprintrr (from
libbind.a)
This does include the "\" before the semi-colon on EITHER TXT record
I have 2 questions:
1. is the "\" (slash) included in the wire format or is it stripped out?
2. what routine is dig using to print the record?
Thanks
--
Jack Tavares
Reminder: I am at GMT+2, 10 hours AHEAD of Seattle.
My workweek is Sunday-Thursday.
Email sent to me Thursday afternoon (PST) may not be viewed until Sunday
morning (GMT+2).
More information about the bind-users
mailing list