Files
linuxkit/alpine/packages/mdnstool
Rolf Neugebauer 5dba8e6584 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>
2016-04-15 15:10:28 +01:00
..
2016-03-30 15:08:32 +01:00

Tool to monitor a network interface for IP changes and publish an mDNS service.

To publish docker.local and map it to the IP of interface eth0:

./mdnstool -if eth0

Options:

Usage of ./mdnstool:
  -hostname string
        Hostname - must be FQDN and end with . (default "docker.local.")
  -if string
        Network interface to bind multicast listener to. This interface will be monitored for IP changes. (default "eth0")
  -info string
        TXT service description (default "Moby")
  -instance string
        Instance description (default "Moby")
  -port int
        Service port (default 22)
  -service string
        SRV service type (default "_ssh._tcp")

To build for Linux:

GOOS=linux GOARCH=386 go build -v