1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-18 09:19:46 +01:00
build/product/router/dnsmasq.conf.alix
David Oberhollenzer 94cc2d2c46 Implement board/product config schema
- build needs a pair of product and board name
 - some products can only be built for some boards
 - Config files in product/<name> directory override those in board/<name>
 - For some config files, like LDPATH or ROOTFS, the files are merged
 - product/common provides defaults

Add default config for various services:
 - Add default config for unbound
 - Add default config for dnsmasq

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-03-24 18:28:29 +01:00

27 lines
641 B
Text

domain-needed
bogus-priv
no-hosts
no-resolv
dhcp-lease-max=150
dhcp-leasefile=/var/lib/dnsmasq.leases
conf-dir=/etc/dnsmasq.d/,*.conf
user=dnsmasq
group=dnsmasq
except-interface=lo
dhcp-authoritative
enable-ra
# forward to unbound
server=127.0.0.1#5353
interface=eth0
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=eth1
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
interface=eth2
dhcp-range=set:if2,192.168.2.2,192.168.2.254,255.255.255.0,12h
dhcp-option=tag:if2,option:dns-server,192.168.2.1