aredn/files/etc/dnsmasq.conf

32 lines
681 B
Plaintext

# filter what we send upstream
domain-needed
bogus-priv
filterwin2k
localise-queries
# allow /etc/hosts and dhcp lookups via *.lan
domain=local.mesh
expand-hosts
no-negcache
resolv-file=/tmp/resolv.conf.auto
# include olsr nameservice
addn-hosts=/var/run/hosts_olsr.stable
dhcp-authoritative
dhcp-leasefile=/tmp/dhcp.leases
# use /etc/ethers for static hosts; same format as --dhcp-host
# <hwaddr> <ipaddr>
read-ethers
# other useful options:
# default route(s): dhcp-option=3,192.168.1.1,192.168.1.2
# dns server(s): dhcp-option=6,192.168.1.1,192.168.1.2
# Make sure clients use our domain
dhcp-option=option:domain-search,local.mesh
strict-order
log-facility=/dev/null