43 lines
742 B
Plaintext
43 lines
742 B
Plaintext
#
|
|
# Configuration file for dnsmasq acting as a caching nameserver.
|
|
#
|
|
# Format is one option per line, legal options are the same
|
|
# as the long options legal on the command line. See
|
|
# "/usr/sbin/dnsmasq --help" or "man 8 dnsmasq" for details.
|
|
#
|
|
# Updated versions of this configuration file may be available at:
|
|
#
|
|
# http://www.g-loaded.eu/2010/09/18/caching-nameserver-using-dnsmasq/
|
|
#
|
|
|
|
#
|
|
# Basic server configuration
|
|
#
|
|
|
|
listen-address=0.0.0.0
|
|
port=53
|
|
bind-interfaces
|
|
user=root
|
|
pid-file=/var/run/dnsmasq.pid
|
|
|
|
#
|
|
# Logging
|
|
#
|
|
|
|
#log-facility=/var/log/dnsmasq.log
|
|
#log-queries
|
|
|
|
#
|
|
# Name resolution options
|
|
#
|
|
|
|
domain-needed
|
|
bogus-priv
|
|
no-hosts
|
|
dns-forward-max=150
|
|
cache-size=1000
|
|
#no-negcache
|
|
neg-ttl=3600
|
|
resolv-file=/etc/resolv.dnsmasq
|
|
no-poll
|