update dhcp range
add domain overwrites for wireguard
This commit is contained in:
parent
95afecd3c9
commit
bcadbf16b3
3 changed files with 9 additions and 3 deletions
|
@ -2,4 +2,4 @@ all:
|
||||||
hosts:
|
hosts:
|
||||||
hermes:
|
hermes:
|
||||||
ansible_user: root
|
ansible_user: root
|
||||||
ansible_host: 192.168.30.7
|
ansible_host: hermes.dmz
|
||||||
|
|
|
@ -13,11 +13,13 @@ expand-hosts
|
||||||
# Domain that is used for DHCP on this network
|
# Domain that is used for DHCP on this network
|
||||||
domain=dmz
|
domain=dmz
|
||||||
# IPv4 DHCP range
|
# 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
|
# Predefined DHCP hosts
|
||||||
dhcp-host=b8:27:eb:b9:ab:e2,esrom
|
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: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: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
|
dhcp-host=d8:5e:d3:47:33:6e,lewis
|
||||||
# Advertise router
|
# Advertise router
|
||||||
dhcp-option=3,192.168.30.1
|
dhcp-option=3,192.168.30.1
|
||||||
|
@ -43,6 +45,9 @@ port=5353
|
||||||
# Override addresses of name servers
|
# 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/192.168.30.7
|
||||||
address=/ns.pizzapim.nl/ns.geokunis2.nl/ns.pim.kunis.nl/2a02:58:19a:f730:c8fe:c0ff:feff:ee07
|
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
|
# Advertise DNS server
|
||||||
dhcp-option=option:dns-server,192.168.30.1
|
dhcp-option=option:dns-server,192.168.30.1
|
||||||
# Change DHCP leases file
|
# Change DHCP leases file
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
$ORIGIN pim.kunis.nl.
|
$ORIGIN pim.kunis.nl.
|
||||||
$TTL 60
|
$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.
|
NS ns.pim.kunis.nl.
|
||||||
A 84.245.14.149
|
A 84.245.14.149
|
||||||
|
@ -25,3 +25,4 @@ swarm IN CNAME www.pim.kunis.nl.
|
||||||
traefik IN CNAME www.pim.kunis.nl.
|
traefik IN CNAME www.pim.kunis.nl.
|
||||||
syncthing IN CNAME www.pim.kunis.nl.
|
syncthing IN CNAME www.pim.kunis.nl.
|
||||||
cloud IN CNAME www.pim.kunis.nl.
|
cloud IN CNAME www.pim.kunis.nl.
|
||||||
|
carwash IN CNAME www.pim.kunis.nl.
|
||||||
|
|
Reference in a new issue