diff --git a/ansible/inventory/hosts.yml b/ansible/inventory/hosts.yml index 6580228..e7e7ab1 100644 --- a/ansible/inventory/hosts.yml +++ b/ansible/inventory/hosts.yml @@ -2,4 +2,4 @@ all: hosts: hermes: ansible_user: root - ansible_host: hermes.dmz + ansible_host: 192.168.30.7 diff --git a/ansible/roles/dnsmasq/files/dnsmasq.conf b/ansible/roles/dnsmasq/files/dnsmasq.conf index 904e0ab..339893a 100644 --- a/ansible/roles/dnsmasq/files/dnsmasq.conf +++ b/ansible/roles/dnsmasq/files/dnsmasq.conf @@ -13,13 +13,11 @@ expand-hosts # Domain that is used for DHCP on this network domain=dmz # IPv4 DHCP range -dhcp-range=192.168.30.2,192.168.30.127,15m +dhcp-range=192.168.30.100,192.168.30.200,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=ca:fe:c0:ff:ee:09,nextcloud,192.168.30.9 -dhcp-host=ca:fe:c0:ff:ee:0a,carwash,192.168.30.10 dhcp-host=d8:5e:d3:47:33:6e,lewis # Advertise router dhcp-option=3,192.168.30.1 @@ -45,9 +43,6 @@ port=5353 # Override addresses of name servers address=/ns.pizzapim.nl/ns.geokunis2.nl/ns.pim.kunis.nl/192.168.30.7 address=/ns.pizzapim.nl/ns.geokunis2.nl/ns.pim.kunis.nl/2a02:58:19a:f730:c8fe:c0ff:feff:ee07 -# Override other addresses -address=/carwash.pim.kunis.nl/192.168.30.10 -address=/wg.geokunis2.nl/192.168.10.1 # Advertise DNS server dhcp-option=option:dns-server,192.168.30.1 # Change DHCP leases file diff --git a/ansible/roles/nsd/files/zones/pim.kunis.nl b/ansible/roles/nsd/files/zones/pim.kunis.nl index e1d17bb..4085397 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. 2023050800 1800 3600 1209600 3600 +pim.kunis.nl. IN SOA ns.pim.kunis.nl. pim.kunis.nl. 2023050400 1800 3600 1209600 3600 NS ns.pim.kunis.nl. A 84.245.14.149 @@ -25,4 +25,3 @@ swarm IN CNAME www.pim.kunis.nl. traefik IN CNAME www.pim.kunis.nl. syncthing IN CNAME www.pim.kunis.nl. cloud IN CNAME www.pim.kunis.nl. -carwash IN CNAME www.pim.kunis.nl.