DNS plugin maintainance (#2179)

* DNS plugin maintainance

* cleanup old data

* move fallback to plugin

* smaller

* Allow plugin to write into config persistent

* Fix hosts

* create issue on dns loop
This commit is contained in:
Pascal Vizeli
2020-10-29 15:48:57 +01:00
committed by GitHub
parent db260dfbde
commit 50d36b857a
7 changed files with 71 additions and 93 deletions

View File

@@ -48,7 +48,7 @@ class APICoreDNS(CoreSysAttributes):
ATTR_UPDATE_AVAILABLE: self.sys_plugins.dns.need_update,
ATTR_HOST: str(self.sys_docker.network.dns),
ATTR_SERVERS: self.sys_plugins.dns.servers,
ATTR_LOCALS: self.sys_host.network.dns_servers,
ATTR_LOCALS: self.sys_plugins.dns.locals,
}
@api_process