Implement DNS (bind9) and DHCP (isc-dhcp-server) and TFTP (tftpd-hpa).
This commit is contained in:
parent
ebcfd88ef4
commit
d8366d2ca2
9 changed files with 279 additions and 1 deletions
17
roles/dns-dhcp-tftp/templates/db.intern.j2
Normal file
17
roles/dns-dhcp-tftp/templates/db.intern.j2
Normal file
|
@ -0,0 +1,17 @@
|
|||
$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 }}.
|
Loading…
Add table
Add a link
Reference in a new issue