Re: unescaped double quotes in TXT record
Daryl Tester <[email protected]> Tue, 25 May 2010 15:44:24 +0930
| Newsgroups | gmane.network.djbdns |
|---|---|
| Message-ID | <[email protected]> |
Daryl Tester wrote:
>> $ dnsq txt hp_4050._ipp._tcp.dev.hmonteiro.net 192.168.56.102
>> 16 hp_4050._ipp._tcp.dev.hmonteiro.net:
>> 252 bytes, 1+1+2+2 records, response, authoritative, noerror
>> query: 16 hp_4050._ipp._tcp.dev.hmonteiro.net
>> answer: hp_4050._ipp._tcp.dev.hmonteiro.net 60 16
>> {"qtotl=1"\040"rp=printers/HP"\040"ty=HP\040LaserJet\0404050\040Series\040PS"\040"product=(HP\040LaserJet\0404050\040Series)"\040"pdl=application/postscript"
>> authority: dev.hmonteiro.net 604800 NS ns1.dev.hmonteiro.net
>> additional: ns1.dev.hmonteiro.net 604800 A 192.168.56.102
> Isn't this the correct response you're seeking?
Ignore this, because I discovered the dns-sd document after this point. The answer,
I think, is no, because you need length attributes proceeding the the key/value pairs.
> (And yippee, another protocol overloading the TXT record).
This still stands. :-)
--
Regards,
Daryl Tester
Member of the Amalgamated Australian Association Against Apostrophe Abuse.
(formerly the 6A's - no, wait ...).