Created
May 10, 2012 08:46
-
-
Save MSch/2651946 to your computer and use it in GitHub Desktop.
dnsmasq configuration for tunlr.net/pandora.com
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Configuration file for dnsmasq. | |
# | |
# 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. | |
# 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 | |
# If you don't want dnsmasq to poll /etc/resolv.conf or other resolv | |
# files for changes and re-read them then uncomment this. | |
no-poll | |
server=8.8.8.8 | |
server=8.8.4.4 | |
server=/pandora.com/199.167.30.144 | |
server=/pandora.com/149.154.158.186 | |
# 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. | |
# Repeat the line for more than one interface. | |
interface=lo0 | |
# Or which to listen on by address (remember to include 127.0.0.1 if | |
# you use this.) | |
listen-address=127.0.0.1 | |
# On systems which support it, dnsmasq binds the wildcard address, | |
# even when it is listening on only some interfaces. It then discards | |
# requests that it shouldn't reply to. This has the advantage of | |
# working even when interfaces come and go and change address. If you | |
# want dnsmasq to really bind only the interfaces it is listening on, | |
# uncomment this option. About the only time you may need this is when | |
# running another nameserver on the same machine. | |
bind-interfaces | |
# Set the cachesize here. | |
#cache-size=150 | |
# If you want to disable negative caching, uncomment this. | |
no-negcache | |
# For debugging purposes, log each DNS query as it passes through | |
# dnsmasq. | |
#log-queries |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment