1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-05 11:37:10 +01:00
build/product/router/alix/dnsmasq.conf
David Oberhollenzer 2c73c4b9c6 Make sure local DNS queries are resolved by dnsmasq
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-06-19 18:33:30 +02:00

22 lines
483 B
Text

domain-needed
bogus-priv
no-hosts
no-resolv
dhcp-lease-max=150
dhcp-leasefile=/var/lib/dnsmasq.leases
user=dnsmasq
group=dnsmasq
no-dhcp-interface=lo
dhcp-authoritative
enable-ra
# forward to unbound
server=127.0.0.1#5353
interface=port0
dhcp-range=set:if0,192.168.0.2,192.168.0.254,255.255.255.0,12h
dhcp-option=tag:if0,option:dns-server,192.168.0.1
interface=port1
dhcp-range=set:if1,192.168.1.2,192.168.1.254,255.255.255.0,12h
dhcp-option=tag:if1,option:dns-server,192.168.1.1