From 4b79035e54ff168a7f827782980c9e9641328c85 Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Tue, 16 May 2023 20:59:36 +0200 Subject: [PATCH] fix dhcp wrong range --- ansible/roles/dnsmasq/files/dnsmasq.conf | 4 +++- ansible/roles/nsd/files/zones/pim.kunis.nl | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ansible/roles/dnsmasq/files/dnsmasq.conf b/ansible/roles/dnsmasq/files/dnsmasq.conf index 339893a..ff8867d 100644 --- a/ansible/roles/dnsmasq/files/dnsmasq.conf +++ b/ansible/roles/dnsmasq/files/dnsmasq.conf @@ -13,12 +13,14 @@ expand-hosts # Domain that is used for DHCP on this network domain=dmz # IPv4 DHCP range -dhcp-range=192.168.30.100,192.168.30.200,15m +dhcp-authoritative +dhcp-range=192.168.30.50,192.168.30.127,15m # Predefined DHCP hosts dhcp-host=b8:27:eb:b9:ab:e2,esrom dhcp-host=ca:fe:c0:ff:ee:03,max,192.168.30.3 dhcp-host=ca:fe:c0:ff:ee:08,maestro,192.168.30.8 dhcp-host=d8:5e:d3:47:33:6e,lewis +dhcp-host=ca:fe:c0:ff:ee:0b,alexander # Advertise router dhcp-option=3,192.168.30.1 # Always send the IPv6 DNS server address (this machine) diff --git a/ansible/roles/nsd/files/zones/pim.kunis.nl b/ansible/roles/nsd/files/zones/pim.kunis.nl index 5a4f932..02fed12 100644 --- a/ansible/roles/nsd/files/zones/pim.kunis.nl +++ b/ansible/roles/nsd/files/zones/pim.kunis.nl @@ -1,7 +1,7 @@ $ORIGIN pim.kunis.nl. $TTL 60 -pim.kunis.nl. IN SOA ns.pim.kunis.nl. pim.kunis.nl. 2023051001 1800 3600 1209600 3600 +pim.kunis.nl. IN SOA ns.pim.kunis.nl. pim.kunis.nl. 2023051200 1800 3600 1209600 3600 NS ns.pim.kunis.nl. A 84.245.14.149 @@ -28,3 +28,4 @@ cloud IN CNAME www.pim.kunis.nl. pihole IN CNAME www.pim.kunis.nl. ntfy IN CNAME www.pim.kunis.nl. apprise IN CNAME www.pim.kunis.nl. +uptime IN CNAME www.pim.kunis.nl.