You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
742 B
43 lines
742 B
8 years ago
|
#
|
||
|
# 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
|