sys-dns-wildcards: always create apex wildcard (*.apex); use explicit_domains for CURRENT_PLAY_DOMAINS_ALL list; update README and unit tests. Ref: https://chatgpt.com/share/68c37a74-7468-800f-a612-765bbbd442de

This commit is contained in:
2025-09-12 03:47:37 +02:00
parent 7e5990aa16
commit ce8958cc01
5 changed files with 90 additions and 39 deletions

View File

@@ -1,12 +1,12 @@
SYN_DNS_WILDCARD_RECORDS: >-
{{ CURRENT_PLAY_DOMAINS_ALL
| wildcard_records(
PRIMARY_DOMAIN,
defaults_networks.internet.ip4,
(defaults_networks.internet.ip6 | default('')),
parent_dns_proxied,
(parent_dns_domains | default([])),
2,
parent_dns_ipv6_enabled
)
{{
{} |
wildcard_records(
PRIMARY_DOMAIN,
networks.internet.ip4,
networks.internet.ip6,
parent_dns_proxied,
explicit_domains=CURRENT_PLAY_DOMAINS_ALL,
min_child_depth=2,
ipv6_enabled=true)
}}