{"action":"created","issue":{"url":"https://api.github.com/repos/coredns/coredns/issues/2087","repository_url":"https://api.github.com/repos/coredns/coredns","labels_url":"https://api.github.com/repos/coredns/coredns/issues/2087/labels{/name}","comments_url":"https://api.github.com/repos/coredns/coredns/issues/2087/comments","events_url":"https://api.github.com/repos/coredns/coredns/issues/2087/events","html_url":"https://github.com/coredns/coredns/issues/2087","id":357651554,"node_id":"MDU6SXNzdWUzNTc2NTE1NTQ=","number":2087,"title":"Plugin [loop] not work with systemd-resolved running","user":{"login":"mritd","id":13043245,"node_id":"MDQ6VXNlcjEzMDQzMjQ1","avatar_url":"https://avatars2.githubusercontent.com/u/13043245?v=4","gravatar_id":"","url":"https://api.github.com/users/mritd","html_url":"https://github.com/mritd","followers_url":"https://api.github.com/users/mritd/followers","following_url":"https://api.github.com/users/mritd/following{/other_user}","gists_url":"https://api.github.com/users/mritd/gists{/gist_id}","starred_url":"https://api.github.com/users/mritd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mritd/subscriptions","organizations_url":"https://api.github.com/users/mritd/orgs","repos_url":"https://api.github.com/users/mritd/repos","events_url":"https://api.github.com/users/mritd/events{/privacy}","received_events_url":"https://api.github.com/users/mritd/received_events","type":"User","site_admin":false},"labels":[{"id":999914436,"node_id":"MDU6TGFiZWw5OTk5MTQ0MzY=","url":"https://api.github.com/repos/coredns/coredns/labels/plugin/loop","name":"plugin/loop","color":"b9f49a","default":false},{"id":343986371,"node_id":"MDU6TGFiZWwzNDM5ODYzNzE=","url":"https://api.github.com/repos/coredns/coredns/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-09-06T13:19:37Z","updated_at":"2018-10-04T16:30:18Z","closed_at":"2018-09-06T13:39:43Z","author_association":"NONE","body":"When systemd-resolved is running, nameserver in `/etc/resolved.conf` default to `127.0.0.53`; \r\nThe plugin loop detects two DNS query, and finally coredns fails to start.\r\n\r\nEnvironment:\r\n\r\n- Ubuntu 18.04.1\r\n- Kubernetes 1.11.2\r\n- CoreDNS 1.2.2\r\n\r\nError log:\r\n\r\n```sh\r\ndocker1.node ➜  kubectl logs coredns-55f86bf584-7sbtj -n kube-system\r\n.:53\r\n2018/09/06 13:02:45 [INFO] CoreDNS-1.2.2\r\n2018/09/06 13:02:45 [INFO] linux/amd64, go1.11, eb51e8b\r\nCoreDNS-1.2.2\r\nlinux/amd64, go1.11, eb51e8b\r\n2018/09/06 13:02:45 [INFO] plugin/reload: Running configuration MD5 = 86e5222d14b17c8b907970f002198e96\r\n2018/09/06 13:02:45 [FATAL] plugin/loop: Seen \"HINFO IN 2050421060481615995.5620656063561519376.\" more than twice, loop detected\r\n```\r\n\r\nDeploy with [deploy.sh](https://github.com/coredns/deployment/blob/fd3ad086f8a3c247b3d1dd4cd142d9f215d8b68e/kubernetes/README.md)"},"comment":{"url":"https://api.github.com/repos/coredns/coredns/issues/comments/427084472","html_url":"https://github.com/coredns/coredns/issues/2087#issuecomment-427084472","issue_url":"https://api.github.com/repos/coredns/coredns/issues/2087","id":427084472,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNzA4NDQ3Mg==","user":{"login":"johnbelamaric","id":9468083,"node_id":"MDQ6VXNlcjk0NjgwODM=","avatar_url":"https://avatars2.githubusercontent.com/u/9468083?v=4","gravatar_id":"","url":"https://api.github.com/users/johnbelamaric","html_url":"https://github.com/johnbelamaric","followers_url":"https://api.github.com/users/johnbelamaric/followers","following_url":"https://api.github.com/users/johnbelamaric/following{/other_user}","gists_url":"https://api.github.com/users/johnbelamaric/gists{/gist_id}","starred_url":"https://api.github.com/users/johnbelamaric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnbelamaric/subscriptions","organizations_url":"https://api.github.com/users/johnbelamaric/orgs","repos_url":"https://api.github.com/users/johnbelamaric/repos","events_url":"https://api.github.com/users/johnbelamaric/events{/privacy}","received_events_url":"https://api.github.com/users/johnbelamaric/received_events","type":"User","site_admin":false},"created_at":"2018-10-04T16:30:18Z","updated_at":"2018-10-04T16:30:18Z","author_association":"MEMBER","body":"Seems like the error message needs to be clearer. It should say something\nlike this:\n\nQuery \"HINFO...\" seen more than twice. This means a query resolution loop\nhas been detected. CoreDNS will not run until this is resolved, or the loop\nplugin is removed from the configuration. Leaving a loop in place can cause\nrandom DNS resolution failures, crashes, and high CPU utilization.\n\nAnd perhaps even refer to the website to a page that explains some of the\ncommon cases we have seen.\n\n\nOn Thu, Oct 4, 2018 at 5:36 AM chrisohaver <notifications@github.com> wrote:\n\n> This is the loop detection detecting a loop, and exiting. This is the\n> intended behavior, unless of course there is no loop.\n>\n> If you doubt there is a loop, you may try removing the loop detection\n> (remove loop from the coredns configuration), and then test DNS\n> resolution from pods (i.e. test resolution to external domains from the\n> command line of a pod running in the cluster).\n>\n> —\n> You are receiving this because you are subscribed to this thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/coredns/coredns/issues/2087#issuecomment-427001945>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/AJB4s_kcb5rbvFNoo_KX4W5Qhl6woeYYks5uhgDIgaJpZM4Wc6xv>\n> .\n>\n"}}
{"actor":{"display_login":"johnbelamaric"}}