1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2026-05-08 17:08:36 +01:00

Fix AAAA resolv for nginx (#1246)

This commit is contained in:
Pascal Vizeli
2019-08-18 21:05:42 +02:00
committed by GitHub
parent 4f381d01df
commit fb8216c102
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -4,6 +4,9 @@
hosts /config/hosts {
fallthrough
}
template ANY AAAA local.hass.io hassio {
rcode NOERROR
}
forward . $servers {
except local.hass.io
policy sequential
+1
View File
@@ -234,6 +234,7 @@ class CoreDNS(JsonConfig, CoreSysAttributes):
["homeassistant", "home-assistant"],
write=False,
)
self.add_host(self.sys_docker.network.dns, ["dns"], write=False)
def write_hosts(self) -> None:
"""Write hosts from memory to file."""