mirror of
https://github.com/pygos/build.git
synced 2024-11-14 07:27:10 +01:00
618c79f02e
Make sure dhcpcd does not interfere with resolv.conf. For the router product we have a dnsmasq running that forwards to a local root resolver (i.e. unbound). For the ALIX board, we want to run a DHCP client on one port and a DHCP server on the other two. Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
18 lines
351 B
Text
18 lines
351 B
Text
domain-needed
|
|
bogus-priv
|
|
no-hosts
|
|
no-resolv
|
|
dhcp-lease-max=150
|
|
dhcp-leasefile=/var/lib/dnsmasq.leases
|
|
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
|