{"action":"opened","issue":{"url":"https://api.github.com/repos/home-assistant/hassio/issues/520","repository_url":"https://api.github.com/repos/home-assistant/hassio","labels_url":"https://api.github.com/repos/home-assistant/hassio/issues/520/labels{/name}","comments_url":"https://api.github.com/repos/home-assistant/hassio/issues/520/comments","events_url":"https://api.github.com/repos/home-assistant/hassio/issues/520/events","html_url":"https://github.com/home-assistant/hassio/issues/520","id":334528731,"node_id":"MDU6SXNzdWUzMzQ1Mjg3MzE=","number":520,"title":"Addon (homebridge) container DNS problems","user":{"login":"demslob","id":10584969,"node_id":"MDQ6VXNlcjEwNTg0OTY5","avatar_url":"https://avatars2.githubusercontent.com/u/10584969?v=4","gravatar_id":"","url":"https://api.github.com/users/demslob","html_url":"https://github.com/demslob","followers_url":"https://api.github.com/users/demslob/followers","following_url":"https://api.github.com/users/demslob/following{/other_user}","gists_url":"https://api.github.com/users/demslob/gists{/gist_id}","starred_url":"https://api.github.com/users/demslob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/demslob/subscriptions","organizations_url":"https://api.github.com/users/demslob/orgs","repos_url":"https://api.github.com/users/demslob/repos","events_url":"https://api.github.com/users/demslob/events{/privacy}","received_events_url":"https://api.github.com/users/demslob/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-21T14:47:42Z","updated_at":"2018-06-21T14:47:42Z","closed_at":null,"author_association":"NONE","body":"When i try to add \"packages\" to my homebridge addon i get an error\r\n`\r\n[cont-init.d] 80-user-packages.sh: executing... \r\nfetch http://dl-cdn.alpinelinux.org/alpine/v3.7/main/x86/APKINDEX.tar.gz\r\nERROR: http://dl-cdn.alpinelinux.org/alpine/v3.7/main: temporary error (try again later)\r\n`\r\n\r\nI think the problem is in DNS inside containers\r\n\r\nmy host /etc/resolv.conf is\r\n`\r\ncat /etc/resolv.conf\r\n# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)\r\n#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN\r\nnameserver 127.0.1.1\r\n`\r\ndig command from 127.0.1.1 works and shows dns records\r\n\r\nadditional info:\r\n\r\n`\r\nroot@hass:/home/hass# docker ps\r\nCONTAINER ID        IMAGE                                  COMMAND                  CREATED             STATUS              PORTS               NAMES\r\n9f223eda725e        hassioaddons/homebridge-i386           \"/init\"                  4 seconds ago       Up 1 second                             addon_a0d7b954_homebridge\r\n52c679f166a1        homeassistant/qemux86-homeassistant    \"python3 -m homeas...\"   7 minutes ago       Up 7 minutes                            homeassistant\r\n063a78642f9a        homeassistant/i386-hassio-supervisor   \"python3 -m hassio\"      23 minutes ago      Up 8 minutes                            hassio_supervisor\r\n`\r\n\r\n`\r\nroot@hass:/home/hass# docker exec -i -t homeassistant cat /etc/resolv.conf\r\nnameserver 172.30.32.2\r\noptions ndots:0\r\n`\r\n\r\n`\r\nroot@hass:/home/hass# docker exec -i -t hassio_supervisor cat /etc/resolv.conf\r\nnameserver 127.0.0.11\r\noptions ndots:0\r\n`\r\n\r\n`\r\nroot@hass:/home/hass# docker exec -i -t addon_a0d7b954_homebridge cat /etc/resolv.conf\r\nnameserver 172.30.32.2\r\noptions ndots:0\r\n`"}}
{"actor":{"display_login":"demslob"}}