diff options
author | max.bra | 2016-10-30 16:01:01 +0100 |
---|---|---|
committer | max.bra | 2016-10-30 16:01:01 +0100 |
commit | 7758f518584832a0c4e9b856ce3e4740eee2a160 (patch) | |
tree | cec52ebcfdf9d51eb0c7073e66a0e1001c53387e /dnsmasq.main | |
parent | 7a563b8cadeb05824f7aa0e55ecc52f5d2b633f7 (diff) | |
download | aur-7758f518584832a0c4e9b856ce3e4740eee2a160.tar.gz |
v. 2.9.5
Diffstat (limited to 'dnsmasq.main')
-rw-r--r-- | dnsmasq.main | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/dnsmasq.main b/dnsmasq.main new file mode 100644 index 000000000000..d5008b16affd --- /dev/null +++ b/dnsmasq.main @@ -0,0 +1,36 @@ +# The following two options make you a better netizen, since they +# tell dnsmasq to filter out queries which the public DNS cannot +# answer, and which load the servers (especially the root servers) +# unnecessarily. If you have a dial-on-demand link they also stop +# these requests from bringing up the link unnecessarily. + +# Never forward plain names (without a dot or domain part) +domain-needed +# Never forward addresses in the non-routed address spaces. +bogus-priv + +# If you don't want dnsmasq to read /etc/resolv.conf or any other +# file, getting its servers from this file instead (see below), then +# uncomment this. +no-resolv + +# Add other name servers here, with domain specs if they are for +# non-public domains. +server=8.8.8.8 +server=8.8.4.4 + +# If you want dnsmasq to listen for DHCP and DNS requests only on +# specified interfaces (and the loopback) give the name of the +# interface (eg eth0) here. +#interface=eth0 +# Or which to listen on by address (remember to include 127.0.0.1 if +# you use this.) +listen-address=127.0.0.1 + +# Normally responses which come from /etc/hosts and the DHCP lease +# file have Time-To-Live set as zero, which conventionally means +# do not cache further. If you are happy to trade lower load on the +# server for potentially stale date, you can set a time-to-live (in +# seconds) here. +local-ttl=300 + |