create dedicated lan zone in dns
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
vincent 2023-09-19 18:33:27 +02:00
parent 7fb16ee116
commit a9da5949e2

View File

@ -1,6 +1,6 @@
dhcpd_authoritative: True dhcpd_authoritative: True
dhcpd_lease_time: '72' dhcpd_lease_time: '72'
dhcpd_domain_name: "{{ domain.name }}" dhcpd_domain_name: "lan.{{ domain.name }}"
dhcpd_nameservers: dhcpd_nameservers:
- '192.168.1.4' - '192.168.1.4'
- '192.168.1.10' - '192.168.1.10'
@ -10,7 +10,7 @@ dhcpd_keys:
secret: "{{ lookup('hashi_vault','secret=secrets/data/ansible/other:dhcpd_key') }}" secret: "{{ lookup('hashi_vault','secret=secrets/data/ansible/other:dhcpd_key') }}"
dhcpd_zones: dhcpd_zones:
- zone: "{{ domain.name }}." - zone: "lan.{{ domain.name }}."
primary: "192.168.1.10" primary: "192.168.1.10"
key: "dhcp" key: "dhcp"
- zone: "1.168.192.in-addr.arpa." - zone: "1.168.192.in-addr.arpa."
@ -22,7 +22,7 @@ dhcpd_options: |
ddns-update-style interim; ddns-update-style interim;
ignore client-updates; ignore client-updates;
update-static-leases on; update-static-leases on;
ddns-domainname "ducamps.win."; ddns-domainname "lan.{{ domain.name }}.";
ddns-rev-domainname "in-addr.arpa."; ddns-rev-domainname "in-addr.arpa.";