[idu] dnsmasq: config improvements

* we are the authoritative DHCP server for all local networks
* filter bogus windows DNS queries
* don't respect local resolv.conf (pointing to localhost)
* increase cache size to 1000 entries
This commit is contained in:
Harald Welte 2015-05-01 17:23:35 +02:00
parent 57e1184d07
commit 441293a2cd
1 changed files with 6 additions and 3 deletions

View File

@ -4,6 +4,9 @@
# as the long options legal on the command line. See
# "/usr/sbin/dnsmasq --help" or "man 8 dnsmasq" for details.
# we are the only (valid) DHCP server on the networks that we serve
# Change these lines if you want dnsmasq to serve MX records.
# Only one of mx-host and mx-target need be set, the other defaults
# to the name of the host running dnsmasq.
@ -28,7 +31,7 @@ bogus-priv
# which can trigger dial-on-demand links needlessly.
# Note that (amongst other things) this blocks all SRV requests,
# so don't use it if you use eg Kerberos.
# Change this line if you want dns to get its upstream servers from
# somewhere other that /etc/resolv.conf
@ -44,7 +47,7 @@ bogus-priv
# If you don't want dnsmasq to read /etc/resolv.conf or any other
# file, getting its servers for this file instead (see below), then
# uncomment this
# If you don't want dnsmasq to poll /etc/resolv.conf or other resolv
# files for changes and re-read them then uncomment this.
@ -272,7 +275,7 @@ dhcp-option=42,
# Set the cachesize here.
# If you want to disable negative caching, uncomment this.