mdns: re-enable mDNS when running on Hyper-V

If bonjour is installed on the host, e.g. via iTunes or some other
program, a lookup for `docker.local` works just like on the Mac.

Just like with LLMNR there seems to be a 4-5 second delay before
Windows decides to do a multicast namelook up, though

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
Rolf Neugebauer 2016-02-23 15:19:09 +00:00
parent 32c999a02f
commit 8d5dd9308e

View File

@ -10,8 +10,6 @@ depend()
start()
{
[ -d /sys/bus/vmbus ] && exit 0
ebegin "Starting mDNS server"
PIDFILE=/var/run/mdnstool.pid
@ -30,8 +28,6 @@ start()
stop()
{
[ -d /sys/bus/vmbus ] && exit 0
ebegin "Stopping mDNS server"
PIDFILE=/var/run/mdnstool.pid