# DNS # Never forward plain names (without a dot or domain part) domain-needed # Never forward addresses in the non-routed address spaces. bogus-priv resolv-file=/etc/resolv.conf local-service listen-address=::1,127.0.0.1,10.1.1.1,10.0.0.1 expand-hosts local=/srv/ domain=srv # DHCP #no-dhcp-interface=admin dhcp-authoritative #dhcp-range=192.168.1.0,static dhcp-range=interface:admin,10.0.0.20,10.0.0.200,12h dhcp-range=interface:lan,10.1.1.20,10.1.1.200,12h #dhcp-lease-max=150 #dhcp-leasefile=/var/lib/dnsmasq/dnsmasq.leases # ns address=/ns/10.0.0.1 # gate address=/gate/10.0.0.2 dhcp-option=option:router,10.0.0.2 dhcp-option=3,10.0.0.2 # pve address=/pve/10.0.0.254 # directly routed services get specific IPs... # NOTE: this is needed to reliably forward ports to these services. dhcp-host=ssh,10.0.0.4,infinite dhcp-host=wireguard,10.0.0.5,infinite # MISC # Include all files in a directory which end in .conf conf-dir=/etc/dnsmasq.d/,*.conf