在Ubuntu上设置Mesos DNS

我正在尝试在容器周围玩了几周之后设置了Mesos DNS。 我在DNS方面遇到了一些麻烦,即使它被认为是“轻而易举的”:-s遵循以下文档: https : //mesosphere.github.io/mesos-dns/docs/

http://programmableinfrastructure.com/guides/service-discovery/mesos-dns-haproxy-marathon/

我遇到了几个问题,第一个问题是端口53被我的ubuntu 14.04系统下的dnsmask使用:

$ sudo docker run --net=host -v "/etc/mesos-dns/config.json:/config.json" mesosphere/mesos-dns /mesos-dns -config=/config.json ERROR: 2015/11/11 13:30:34 generator.go:74: no master ERROR: 2015/11/11 13:30:34 main.go:65: DNS server failed: Failed to setup "tcp" server: listen tcp 0.0.0.0:53: bind: address already in use $ sudo netstat -tulpn | grep 53 tcp 0 0 127.0.1.1:53 0.0.0.0:* LISTEN 1866/dnsmasq udp 0 0 0.0.0.0:5353 0.0.0.0:* 553/avahi-daemon: r udp 0 0 0.0.0.0:40367 0.0.0.0:* 553/avahi-daemon: r udp 0 0 127.0.1.1:53 0.0.0.0:* 1866/dnsmasq udp6 0 0 :::5353 :::* 553/avahi-daemon: r udp6 0 0 :::60577 :::* 553/avahi-daemon: r 

我不确定接下来要做什么?

我也看了一下:

在Mesos群集上设置Mesos-DNS dockerized

摆脱dnsmasq: sudo /etc/init.d/dnsmasq stop ,然后端口53可用于Mesos-DNS。