diff --git a/ansible/inventory/hosts.yml b/ansible/inventory/hosts.yml index e7e7ab1..6580228 100644 --- a/ansible/inventory/hosts.yml +++ b/ansible/inventory/hosts.yml @@ -2,4 +2,4 @@ all: hosts: hermes: ansible_user: root - ansible_host: 192.168.30.7 + ansible_host: hermes.dmz diff --git a/ansible/roles/dnsmasq/files/dnsmasq.conf b/ansible/roles/dnsmasq/files/dnsmasq.conf index 339893a..904e0ab 100644 --- a/ansible/roles/dnsmasq/files/dnsmasq.conf +++ b/ansible/roles/dnsmasq/files/dnsmasq.conf @@ -13,11 +13,13 @@ 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-range=192.168.30.2,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=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 @@ -43,6 +45,9 @@ 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 4085397..e1d17bb 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. 2023050400 1800 3600 1209600 3600 +pim.kunis.nl. IN SOA ns.pim.kunis.nl. pim.kunis.nl. 2023050800 1800 3600 1209600 3600 NS ns.pim.kunis.nl. A 84.245.14.149 @@ -25,3 +25,4 @@ 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.