homeserver-iac/roles/networking/nameserver/templates/local_zone.j2
dogeystamp aba27dfafc
nameserver: split horizon dns for the vpn
should avoid vpn conflicts with local ip subnet
2024-12-15 17:11:02 -05:00

13 lines
477 B
Django/Jinja

$TTL 604800
@ IN SOA {{ dyndns_domain }}. {{ email }}. (
{{ serial }} ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
ns IN A {{ resolve_ip }}
@ IN NS localhost.
@ IN A {{ resolve_ip }}
{{ dyndns_domain }} IN A {{ resolve_ip }}