{"action":"created","issue":{"url":"https://api.github.com/repos/tonistiigi/dnsdock/issues/4","labels_url":"https://api.github.com/repos/tonistiigi/dnsdock/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/tonistiigi/dnsdock/issues/4/comments","events_url":"https://api.github.com/repos/tonistiigi/dnsdock/issues/4/events","html_url":"https://github.com/tonistiigi/dnsdock/issues/4","id":46077108,"number":4,"title":"nginx errors when resolving","user":{"login":"steffenmllr","id":449563,"avatar_url":"https://avatars.githubusercontent.com/u/449563?v=3","gravatar_id":"","url":"https://api.github.com/users/steffenmllr","html_url":"https://github.com/steffenmllr","followers_url":"https://api.github.com/users/steffenmllr/followers","following_url":"https://api.github.com/users/steffenmllr/following{/other_user}","gists_url":"https://api.github.com/users/steffenmllr/gists{/gist_id}","starred_url":"https://api.github.com/users/steffenmllr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steffenmllr/subscriptions","organizations_url":"https://api.github.com/users/steffenmllr/orgs","repos_url":"https://api.github.com/users/steffenmllr/repos","events_url":"https://api.github.com/users/steffenmllr/events{/privacy}","received_events_url":"https://api.github.com/users/steffenmllr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2014-10-17T08:48:18Z","updated_at":"2015-07-22T17:55:15Z","closed_at":null,"body":"Hey there - it's me again :)\r\n\r\nHaving some weird issue with nginx (nginx/1.7.5) . My error log is full of:\r\n\r\n```\r\n2014/10/17 10:42:21 [error] 25000#0: unexpected RR type 6\r\n2014/10/17 10:42:21 [error] 25000#0: no A or CNAME types in DNS response\r\n```\r\n\r\nMy nginx config uses:\r\n\r\n````\r\n    resolver 172.17.42.1 valid=1s;\r\n    resolver_timeout 5s;\r\n```\r\n\r\nAlso if recreate and start my docker container couple of times the nginx resolver does not find the container IP. After restarting the dnsdock container and nginx it works again.\r\n\r\nDid you ran into similar problems ?"},"comment":{"url":"https://api.github.com/repos/tonistiigi/dnsdock/issues/comments/123808221","html_url":"https://github.com/tonistiigi/dnsdock/issues/4#issuecomment-123808221","issue_url":"https://api.github.com/repos/tonistiigi/dnsdock/issues/4","id":123808221,"user":{"login":"Groggy","id":952516,"avatar_url":"https://avatars.githubusercontent.com/u/952516?v=3","gravatar_id":"","url":"https://api.github.com/users/Groggy","html_url":"https://github.com/Groggy","followers_url":"https://api.github.com/users/Groggy/followers","following_url":"https://api.github.com/users/Groggy/following{/other_user}","gists_url":"https://api.github.com/users/Groggy/gists{/gist_id}","starred_url":"https://api.github.com/users/Groggy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Groggy/subscriptions","organizations_url":"https://api.github.com/users/Groggy/orgs","repos_url":"https://api.github.com/users/Groggy/repos","events_url":"https://api.github.com/users/Groggy/events{/privacy}","received_events_url":"https://api.github.com/users/Groggy/received_events","type":"User","site_admin":false},"created_at":"2015-07-22T17:55:15Z","updated_at":"2015-07-22T17:55:15Z","body":"@tonistiigi you're right. If I disable IPv6, it works with latest dnsdock.\r\n\r\nThe working nginx configuration that I use is :\r\n```\r\nresolver 172.17.42.1 valid=1s ipv6=off;                                                                                                                                                                                          \r\nresolver_timeout 5s;\r\n```"}}