feat: select nameserver in soa based on role

- find all dns servers in $ns_use (region/country/all),
- or use the current node as the only nameserver
This commit is contained in:
2024-04-24 18:41:12 +10:00
parent f8fd6700da
commit b8d799e8e9
2 changed files with 22 additions and 6 deletions
+2 -4
View File
@@ -1,8 +1,6 @@
---
profiles::dns::master::nameservers:
- prodinf01n23.main.unkin.net
- prodinf01n24.main.unkin.net
profiles::dns::master::ns_role: roles::infra::dns::master
profiles::dns::master::use_ns: region
profiles::dns::master::acls:
acl-main.unkin.net:
addresses: