Add suggested 'bogus-priv', 'domain-needed' options

Also alphabetize options.
This commit is contained in:
Dan Church 2022-12-13 11:50:44 -06:00
parent 663885a568
commit a8f0b510a3
Signed by: h3xx
GPG key ID: EA2BF379CD2CDBD0

View file

@ -11,21 +11,27 @@
# You may NOT use this software for commercial purposes.
###############################################################################
# Do not load /etc/hosts as a dataset for replies. (By default dnsmasq performs
# an implicit "addn-hosts=/etc/hosts"; this prevents it.)
no-hosts
# Add our block lists
addn-hosts=/etc/you-dont-need-pihole/local.list
addn-hosts=/etc/you-dont-need-pihole/custom.list
addn-hosts=/etc/you-dont-need-pihole/block.list
# Return answers to DNS queries from /etc/hosts.
#localise-queries
# Never forward addresses in the non-routed address spaces.
bogus-priv
# In-memory cache size.
cache-size=10000
# Never forward plain names (without a dot or domain part)
domain-needed
# Do not load /etc/hosts as a dataset for replies. (By default dnsmasq performs
# an implicit "addn-hosts=/etc/hosts"; this prevents it.)
no-hosts
# Return answers to DNS queries from /etc/hosts.
#localise-queries
# Don't log queries - only startup/shutdown messages. (Un-comment this option
# for debugging.)
#log-queries