2023-03-12 19:33:25 +00:00
|
|
|
# Disable /etc/resolv.conf
|
|
|
|
no-resolv
|
2023-03-11 23:49:55 +00:00
|
|
|
# Upstream DNS server
|
|
|
|
server=192.168.30.1
|
2023-03-12 19:33:25 +00:00
|
|
|
# Always serve .dmz locally
|
|
|
|
local=/dmz/
|
|
|
|
# Put all clients in the dmz domain
|
|
|
|
dhcp-fqdn
|
2023-03-11 23:49:55 +00:00
|
|
|
# Don't read /etc/hosts
|
|
|
|
no-hosts
|
|
|
|
# Domain is automatically added to if missing
|
|
|
|
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,infinite
|
|
|
|
# Predefined DHCP hosts
|
2023-03-12 19:33:25 +00:00
|
|
|
dhcp-host=b8:27:eb:b9:ab:e2,esrom,192.168.30.2
|
|
|
|
dhcp-host=b4:2e:99:77:1b:da,max,192.168.30.3
|
|
|
|
dhcp-host=d8:5e:d3:47:33:6e,lewis,192.168.30.6
|
2023-03-11 23:49:55 +00:00
|
|
|
# Advertise router
|
|
|
|
dhcp-option=3,192.168.30.1
|
2023-03-12 19:33:25 +00:00
|
|
|
# Always send the IPv6 DNS server address (this machine)
|
|
|
|
dhcp-option=option6:dns-server,[2a02:58:19a:f730::1]
|
|
|
|
# Advertise SLAAC for the given prefix
|
|
|
|
dhcp-range=2a02:58:19a:f730::, ra-stateless, ra-names
|
|
|
|
# Do not advertise default gateway via DHCPv6
|
|
|
|
ra-param=*,0,0
|
2023-03-11 23:49:55 +00:00
|
|
|
# Alias public IP address to local
|
|
|
|
alias=84.245.14.149,192.168.30.3
|
2023-03-12 19:33:25 +00:00
|
|
|
# Override DNS servers for our domains
|
|
|
|
server=/pizzapim.nl/192.168.30.3
|
|
|
|
server=/geokunis2.nl/192.168.30.3
|
|
|
|
server=/pim.kunis.nl/192.168.30.3
|
|
|
|
# Enable extended logging
|
|
|
|
log-dhcp
|
|
|
|
log-queries
|