mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-29 21:42:39 +00:00
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:
parent
d4b1dbbf98
commit
5dba8e6584
@ -10,8 +10,6 @@ depend()
|
|||||||
|
|
||||||
start()
|
start()
|
||||||
{
|
{
|
||||||
[ -d /sys/bus/vmbus ] && exit 0
|
|
||||||
|
|
||||||
ebegin "Starting mDNS server"
|
ebegin "Starting mDNS server"
|
||||||
|
|
||||||
PIDFILE=/var/run/mdnstool.pid
|
PIDFILE=/var/run/mdnstool.pid
|
||||||
@ -30,8 +28,6 @@ start()
|
|||||||
|
|
||||||
stop()
|
stop()
|
||||||
{
|
{
|
||||||
[ -d /sys/bus/vmbus ] && exit 0
|
|
||||||
|
|
||||||
ebegin "Stopping mDNS server"
|
ebegin "Stopping mDNS server"
|
||||||
|
|
||||||
PIDFILE=/var/run/mdnstool.pid
|
PIDFILE=/var/run/mdnstool.pid
|
||||||
|
Loading…
Reference in New Issue
Block a user