DNS-SD
Jump to navigation
Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Protocole de publication et de découverte de service sur un réseau local
- Bonjour/Rendez-Vous = dns sd, avec serveur dns; unicast
- mDNS/Zeroconf = multicast (même protocole, stockage par clients)
CLI
MacOS
https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/dns-sd.1.html
Term 1 (Service Registration)
dns-sd -R "MyWebServer" _http._tcp . 8080 path=/index.html ^C
Term 2 (Service Discovery)
dns-sd -B _http._tcp DATE: ---Fri 28 Feb 2014--- 21:05:47.634 ...STARTING... Timestamp A/R Flags if Domain Service Type Instance Name 21:06:16.951 Add 2 4 local. _http._tcp. MyWebServer 21:06:27.486 Rmv 0 4 local. _http._tcp. MyWebServer
Linux
Windows
API
Python
Java
Bundles OSGi
Links
Alternative DNS Servers free book http://jpmens.net/2010/10/29/alternative-dns-servers-the-book-as-pdf/