mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-13 04:06:33 +00:00
Fix AAAA resolv for nginx (#1246)
This commit is contained in:
parent
4f381d01df
commit
fb8216c102
@ -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
|
||||
|
@ -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."""
|
||||
|
Loading…
x
Reference in New Issue
Block a user