[Pdns-users] powerDNS and DNSSD records.

Grant Keller gkeller at corp.sonic.net
Mon Oct 24 19:25:19 UTC 2011


Hello all,

A user noticed today that our nameservers have some strange behaviour 
when answering queries with DNSSD answers:

This would be the response from googles ns(notice the escaping in the 
content):

dig _http._tcp.dns-sd.org. ptr @8.8.8.8
;; Truncated, retrying in TCP mode.

; <<>> DiG 9.7.3 <<>> _http._tcp.dns-sd.org. ptr @8.8.8.8
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 46733
;; flags: qr rd ra; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;_http._tcp.dns-sd.org.		IN	PTR

;; ANSWER SECTION:
_http._tcp.dns-sd.org.	59	IN	PTR	\032*\032Zeroconf._http._tcp.dns-sd.org.
_http._tcp.dns-sd.org.	59	IN	PTR 
\032*\032Multicast\032DNS._http._tcp.dns-sd.org.
_http._tcp.dns-sd.org.	59	IN	PTR 
\032*\032DNS\032Service\032Discovery._http._tcp.dns-sd.org.
_http._tcp.dns-sd.org.	59	IN	PTR 
\032*\032Amazon\.com,\032on-line\032shopping._http._tcp.dns-sd.org.
_http._tcp.dns-sd.org.	59	IN	PTR 
\032*\032Google,\032searching\032the\032Web._http._tcp.dns-sd.org.
_http._tcp.dns-sd.org.	59	IN	PTR 
\032*\032Apple,\032makers\032of\032the\032iPod._http._tcp.dns-sd.org.
_http._tcp.dns-sd.org.	59	IN	PTR 
\032*\032eBay,\032online\032auctions._http._tcp.dns-sd.org.
_http._tcp.dns-sd.org.	59	IN	PTR 
\032*\032Yahoo,\032maps,\032weather,\032and\032stock\032quotes._http._tcp.dns-sd.org.
_http._tcp.dns-sd.org.	59	IN	PTR 
\032*\032CNN,\032World\032news._http._tcp.dns-sd.org.
_http._tcp.dns-sd.org.	59	IN	PTR 
\032*\032BBC,\032World\032news._http._tcp.dns-sd.org.
_http._tcp.dns-sd.org.	59	IN	PTR 
\032*\032Wired,\032Technology,\032Culture,\032Business,\032Politics._http._tcp.dns-sd.org.
_http._tcp.dns-sd.org.	59	IN	PTR 
\032*\032SlashDot,\032News\032for\032Nerds,\032Stuff\032that\032Matters._http._tcp.dns-sd.org.
_http._tcp.dns-sd.org.	59	IN	PTR 
Stuart\226\128\153s\032Printer._http._tcp.dns-sd.org.


and this is what our pdns server returns:


gkeller at gwork:~$ dig _http._tcp.dns-sd.org. ptr @c.ns.sr
;; Truncated, retrying in TCP mode.

; <<>> DiG 9.7.3 <<>> _http._tcp.dns-sd.org. ptr @c.ns.sr
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42058
;; flags: qr rd ra; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;_http._tcp.dns-sd.org.		IN	PTR

;; ANSWER SECTION:
_http._tcp.dns-sd.org.	60	IN	PTR 
\\\032*\\\032Amazon.com,\\\032on-line\\\032shopping._http._tcp.dns-sd.org.
_http._tcp.dns-sd.org.	60	IN	PTR 
\\\032*\\\032SlashDot,\\\032News\\\032for\\\032Nerds,\\\032Stuff\\\032that\\\032Matters._http._tcp.dns-sd.org.
_http._tcp.dns-sd.org.	60	IN	PTR 
\\\032*\\\032eBay,\\\032online\\\032auctions._http._tcp.dns-sd.org.
_http._tcp.dns-sd.org.	60	IN	PTR 
\\\032*\\\032BBC,\\\032World\\\032news._http._tcp.dns-sd.org.
_http._tcp.dns-sd.org.	60	IN	PTR 
\\\032*\\\032CNN,\\\032World\\\032news._http._tcp.dns-sd.org.
_http._tcp.dns-sd.org.	60	IN	PTR 
\\\032*\\\032Apple,\\\032makers\\\032of\\\032the\\\032iPod._http._tcp.dns-sd.org.
_http._tcp.dns-sd.org.	60	IN	PTR 
\\\032*\\\032Yahoo,\\\032maps,\\\032weather,\\\032and\\\032stock\\\032quotes._http._tcp.dns-sd.org.
_http._tcp.dns-sd.org.	60	IN	PTR 
Stuart\226\128\153s\\\032Printer._http._tcp.dns-sd.org.
_http._tcp.dns-sd.org.	60	IN	PTR 
\\\032*\\\032Google,\\\032searching\\\032the\\\032Web._http._tcp.dns-sd.org.
_http._tcp.dns-sd.org.	60	IN	PTR 
\\\032*\\\032Wired,\\\032Technology,\\\032Culture,\\\032Business,\\\032Politics._http._tcp.dns-sd.org.
_http._tcp.dns-sd.org.	60	IN	PTR 
\\\032*\\\032DNS\\\032Service\\\032Discovery._http._tcp.dns-sd.org.
_http._tcp.dns-sd.org.	60	IN	PTR 
\\\032*\\\032Multicast\\\032DNS._http._tcp.dns-sd.org.
_http._tcp.dns-sd.org.	60	IN	PTR 
\\\032*\\\032Zeroconf._http._tcp.dns-sd.org.

Just wondering if anybody has seen this before.

-- 
Grant Keller



More information about the Pdns-users mailing list