在ubuntu上设置mesos dns

aiazj4mn  于 2021-06-21  发布在  Mesos
关注(0)|答案(1)|浏览(450)

我正在尝试建立mesos dns后,玩了几个星期的容器。我在dns上遇到了一些问题,即使据说它“简单明了”:-s以下是文档:https://mesosphere.github.io/mesos-dns/docs/
https://www.youtube.com/watch?v=ir3oo62i8n0
http://programmableinfrastructure.com/guides/service-discovery/mesos-dns-haproxy-marathon/
我遇到了几个问题,第一个是dnsmask在我的Ubuntu14.04系统下使用端口53:

$ 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 dns停靠在mesos群集上

hrirmatl

hrirmatl1#

摆脱dnsmasq: sudo /etc/init.d/dnsmasq stop 然后是左舷 53 可用于mesos dns。

相关问题