Re: unescaped double quotes in TXT record
Hugo Monteiro <[email protected]> Mon, 24 May 2010 14:33:38 +0100
| Newsgroups | gmane.network.djbdns |
|---|---|
| Message-ID | <[email protected]> |
On 05/24/2010 01:50 PM, Daryl Tester wrote:
> (* Reply-to dev null'd *)
>
> Hugo Monteiro wrote:
>
>> The thing is that tinydns escapes those quotes, as we can see in this
>> dig question/answer pair:
>
> Is this tinydns or dig's doing? What do you get if you use dnsq?
>
> (bear in mind that dig normally puts quotes around txt records
> it displays, even though they don't exist on the wire. Perhaps
> what you're seeing is just a dig-ism).
>
>
It's not a dig-ism. If it was, it would also show up in the dig
performed on the named server, right?
also, dnsq response, for the tinydns server is
$ 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
in contrast, the bind server queried with dnsq replies
$ dnsq txt xerox_phaser_6130n._ipp._tcp.dev.hmonteiro.net 192.168.56.103
16 xerox_phaser_6130n._ipp._tcp.dev.hmonteiro.net:
212 bytes, 1+1+1+1 records, response, authoritative, weird ra, noerror
query: 16 xerox_phaser_6130n._ipp._tcp.dev.hmonteiro.net
answer: xerox_phaser_6130n._ipp._tcp.dev.hmonteiro.net 604800 16
\007qtotl=1\026rp=printers/xerox6130n\025ty=Xerox\040Phaser\0406130N\026product=(Phaser\0406130N)\032pdl=application/postscript
authority: dev.hmonteiro.net 604800 NS ns2.dev.hmonteiro.net
additional: ns2.dev.hmonteiro.net 604800 A 192.168.56.103
i'm also finding the bind response weird .. \007 ? \026 ? \025 ? (but
IT WORKS)
Can someone shed some light on this?
R's,
Hugo Monteiro.
--
fct.unl.pt:~# cat .signature
Hugo Monteiro
Email : [email protected]
Telefone : +351 212948300 Ext.15307
Web : http://hmonteiro.net
Divisão de Informática
Faculdade de Ciências e Tecnologia da
Universidade Nova de Lisboa
Quinta da Torre 2829-516 Caparica Portugal
Telefone: +351 212948596 Fax: +351 212948548
www.fct.unl.pt [email protected]
fct.unl.pt:~# _