Implement DNS (bind9) and DHCP (isc-dhcp-server) and TFTP (tftpd-hpa).

This commit is contained in:
Andreas B. Mundt 2021-04-09 11:20:21 +02:00 committed by Andreas B. Mundt
parent ebcfd88ef4
commit d8366d2ca2
9 changed files with 279 additions and 1 deletions

View file

@ -0,0 +1,11 @@
$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 }}.
{{ ipaddr_lan | ipaddr("address") | regex_replace("^.*\.(.+$)", "\\1") }} PTR {{ ansible_fqdn }}.