{"action":"closed","issue":{"url":"https://api.github.com/repos/mesosphere/mesos-dns/issues/298","labels_url":"https://api.github.com/repos/mesosphere/mesos-dns/issues/298/labels{/name}","comments_url":"https://api.github.com/repos/mesosphere/mesos-dns/issues/298/comments","events_url":"https://api.github.com/repos/mesosphere/mesos-dns/issues/298/events","html_url":"https://github.com/mesosphere/mesos-dns/issues/298","id":109664742,"number":298,"title":"Server misbehaving","user":{"login":"rafaelcapucho","id":163367,"avatar_url":"https://avatars.githubusercontent.com/u/163367?v=3","gravatar_id":"","url":"https://api.github.com/users/rafaelcapucho","html_url":"https://github.com/rafaelcapucho","followers_url":"https://api.github.com/users/rafaelcapucho/followers","following_url":"https://api.github.com/users/rafaelcapucho/following{/other_user}","gists_url":"https://api.github.com/users/rafaelcapucho/gists{/gist_id}","starred_url":"https://api.github.com/users/rafaelcapucho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafaelcapucho/subscriptions","organizations_url":"https://api.github.com/users/rafaelcapucho/orgs","repos_url":"https://api.github.com/users/rafaelcapucho/repos","events_url":"https://api.github.com/users/rafaelcapucho/events{/privacy}","received_events_url":"https://api.github.com/users/rafaelcapucho/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-04T05:50:04Z","updated_at":"2015-10-04T06:16:20Z","closed_at":"2015-10-04T06:16:20Z","body":"Hello,\r\n\r\nI setup Mesos-DNS in a linode and I prepend my 2 Mesos-DNS apps in resolv.conf:\r\n\r\n```\r\ndomain members.linode.com\r\nsearch members.linode.com\r\nnameserver 72.14.179.25 # Atlas004\r\nnameserver 198.58.99.72 # Atlas005\r\nnameserver 23.239.24.5\r\nnameserver 173.255.199.5\r\nnameserver 66.228.53.5\r\nnameserver 96.126.122.5\r\nnameserver 96.126.124.5\r\nnameserver 96.126.127.5\r\nnameserver 198.58.107.5\r\nnameserver 198.58.111.5\r\nnameserver 72.14.179.5\r\nnameserver 72.14.188.5\r\n#options rotate\r\n```\r\n\r\nIts work good, dig working, resolv master.mesos properly but there're a lot of errors in Mesos Sandbox Log, a lot (per second) like that: \r\n\r\n```error exchanging with \"23.239.24.5:53\": dial udp: lookup dns.jxnc.cncnet.net. on 198.58.111.5:53: server misbehaving```\r\n\r\n![4](https://cloud.githubusercontent.com/assets/163367/10266533/d9186db8-6a41-11e5-98d6-f7cc1f95bab8.png)\r\n\r\nThe config used:\r\n\r\n```\r\n{\r\n  \"zk\": \"zk://atlas001:2181,atlas002:2181,atlas003:2181/mesos\",\r\n  \"masters\": [\"atlas001:5050\", \"atlas002:5050\", \"atlas003:5050\"],\r\n  \"refreshSeconds\": 60,\r\n  \"ttl\": 120,\r\n  \"domain\": \"mesos\",\r\n  \"port\": 53,\r\n  \"resolvers\": [\"173.255.199.5\",\"66.228.53.5\",\"96.126.122.5\",\"96.126.124.5\",\"96.126.127.5\",\"198.58.107.5\",\"198.58.111.5\",\"23.239.24.5\",\"72.14.179.5\",\"72.14.188.5\",\"8.8.8.8\"],\r\n  \"timeout\": 15,\r\n  \"email\": \"root.mesos-dns.mesos\"\r\n}\r\n```\r\nAll IPs except the last are from linode DNS Server... I'm launching using marathon, with this code:\r\n\r\n```\r\n{\r\n  \"cmd\": \"/bin/mesos-dns -config=/mnt/mesos/sandbox/config.json\",\r\n  \"cpus\": 0.2,\r\n  \"mem\": 50,\r\n  \"ports\": [53],\r\n  \"id\": \"mesos-dns\",\r\n  \"instances\": 1,\r\n  \"container\": {\r\n    \"type\": \"DOCKER\",\r\n    \"docker\": {\r\n      \"image\": \"nexusedge/docker-mesos-dns\",\r\n      \"network\": \"HOST\",\r\n      \"privileged\": true\r\n    }\r\n  }, \"uris\":[\r\n    \"http://blog.rafaelcapucho.com/download/config.json\"\r\n  ],\r\n  \"constraints\": [[\"rack_id\", \"LIKE\", \"atlas00[4-5]\"],[\"hostname\",\"UNIQUE\"]]\r\n}\r\n```\r\n\r\nDockerfile:\r\n```\r\nFROM ubuntu:14.04\r\nMAINTAINER Rafael Capucho <rafael.capucho@nexusedge.com.br>\r\n\r\nRUN apt-get -y install wget gzip && wget https://github.com/mesosphere/mesos-dns/releases/download/v0.3.0/mesos-dns-v0.3.0-linux-amd64.gz -O /tmp/mesos-dns.gz\r\n\r\nRUN gzip -d /tmp/mesos-dns.gz && rm -f /tmp/mesos-dns.gz && chmod +x /tmp/mesos-dns* && ln -s /tmp/mesos-dns* /bin/mesos-dns\r\n\r\nEXPOSE 53\r\nCMD [\"mesos-dns\"]\r\n```\r\n\r\nThank you"}}