-
-
Save humanerrorprocessor/9fea03b8e6349ab3c805 to your computer and use it in GitHub Desktop.
This file contains 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
# Listen on this specific port instead of the standard DNS port | |
# (53). Setting this to zero completely disables DNS function, | |
# leaving only DHCP and/or TFTP. | |
port=53 | |
# 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 | |
# DNS servers | |
server=8.8.8.8 | |
server=8.8.4.4 | |
# Add local-only domains here, queries in these domains are answered | |
# from /etc/hosts or DHCP only. | |
local=/localnet/ | |
# Chinese Apple TV DNS | |
address=/trailers.apple.com/180.153.225.136 | |
# PlexConnect DNS | |
address=/secure.marketwatch.com/10.0.1.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. | |
# Repeat the line for more than one interface. | |
#interface= | |
# Or you can specify which interface _not_ to listen on | |
#except-interface= | |
# Or which to listen on by address (remember to include 127.0.0.1 if | |
# you use this.) | |
#listen-address= | |
listen-address=127.0.0.1 | |
listen-address=10.0.1.3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment