Fix bind configuration.

This commit is contained in:
Andreas B. Mundt 2022-06-13 22:59:38 +02:00 committed by Andreas B. Mundt
parent b0e34434b1
commit a5e143b900
6 changed files with 14 additions and 17 deletions

View file

@ -1,17 +0,0 @@
$TTL 500
@ IN SOA {{ ansible_fqdn }}. root.{{ ansible_domain }}. (
1 ; Serial
3600 ; Refresh
1800 ; Retry
720000 ; Expire
6400 ) ; Negative Cache TTL
;
@ NS {{ ansible_fqdn }}.
MX 10 {{ ansible_fqdn }}.
{{ ansible_hostname }} A {{ ipaddr_lan | ipaddr("address") }}
_ldap._tcp SRV 100 0 389 {{ ansible_fqdn }}.
ns1 CNAME {{ ansible_fqdn }}.
ns2 CNAME {{ ansible_fqdn }}.
aptcache CNAME {{ ansible_fqdn }}.
homes CNAME {{ ansible_fqdn }}.
ldap CNAME {{ ansible_fqdn }}.