Allow the DNS stack to be backward compatible with an old dns_domain (#10630)

Handle all old dns domains:
- for nodelocaldns: in the same server block as the current dns_domain
- for coredns: uffix rewrite of each of the old dns domains to the
  current one
This commit is contained in:
Max Gautier
2024-01-24 06:31:22 +01:00
committed by GitHub
parent 0e26f6f3e2
commit c80f2cd573
4 changed files with 24 additions and 1 deletions

View File

@@ -32,7 +32,7 @@ data:
}
{% endfor %}
{% endif %}
{{ dns_domain }}:53 {
{{ ([dns_domain] + old_dns_domains) | join(' ') }}:53 {
errors
cache {
success 9984 30