mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-30 04:33:00 +02:00
- dnsmasq:
- allow listening to all interfaces again to serve DHCP leases
- disable most of the default DHCP options, keep broadcast and
netmask because when dnsmasq can infer these they are better
than breaking networking for clients -- note, they can still
be overridden from global/subnet/host scope -- and for relay
setups they need to be supplied anyway
- confd:
- drop per-interface dnsmasq, although practical for many use-cases,
having a per-subnet focused server means improved integration with
future stand-alone dhcp relay setup
- implement suggested, simplified, yang model
Fixes #703
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
22 lines
661 B
Plaintext
22 lines
661 B
Plaintext
# dnsmasq is the system resolver, the file /etc/resolv.conf is
|
|
# managed by openresolv. DHCP lease, VPN tunnel establishment,
|
|
# and similar events feed servers and configuration to dnsmasq.
|
|
domain-needed
|
|
|
|
# Allow configuration and cache clear over D-Bus
|
|
enable-dbus
|
|
|
|
# Disable the following dnsmasq default DHCP options
|
|
#dhcp-option=option:netmask
|
|
#dhcp-option=28 # option:broadcast
|
|
#dhcp-option=option:domain-name
|
|
dhcp-option=option:router
|
|
dhcp-option=option:dns-server
|
|
dhcp-option=12 # option:hostname
|
|
|
|
# Generated by openresolv
|
|
resolv-file=/var/lib/misc/resolv.conf
|
|
|
|
# Include all files in a directory which end in .conf
|
|
conf-dir=/etc/dnsmasq.d/,*.conf
|