mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-13 20:26:29 +00:00
Fix AAAA resolv for nginx (#1246)
This commit is contained in:
parent
4f381d01df
commit
fb8216c102
@ -4,6 +4,9 @@
|
|||||||
hosts /config/hosts {
|
hosts /config/hosts {
|
||||||
fallthrough
|
fallthrough
|
||||||
}
|
}
|
||||||
|
template ANY AAAA local.hass.io hassio {
|
||||||
|
rcode NOERROR
|
||||||
|
}
|
||||||
forward . $servers {
|
forward . $servers {
|
||||||
except local.hass.io
|
except local.hass.io
|
||||||
policy sequential
|
policy sequential
|
||||||
|
@ -234,6 +234,7 @@ class CoreDNS(JsonConfig, CoreSysAttributes):
|
|||||||
["homeassistant", "home-assistant"],
|
["homeassistant", "home-assistant"],
|
||||||
write=False,
|
write=False,
|
||||||
)
|
)
|
||||||
|
self.add_host(self.sys_docker.network.dns, ["dns"], write=False)
|
||||||
|
|
||||||
def write_hosts(self) -> None:
|
def write_hosts(self) -> None:
|
||||||
"""Write hosts from memory to file."""
|
"""Write hosts from memory to file."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user