Last active
January 15, 2016 01:47
-
-
Save tony1016/f55db462fdb0d32431a7 to your computer and use it in GitHub Desktop.
/usr/local/etc/pdnsd.conf
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
global { | |
perm_cache=2048; | |
cache_dir="/var/cache/pdnsd"; | |
run_as="pdnsd"; | |
server_ip = 0.0.0.0; // Use eth0 here if you want to allow other | |
// machines on your network to query pdnsd. | |
server_port = 55533; | |
status_ctl = on; | |
query_method=tcp_only; // pdnsd must be compiled with tcp | |
// query support for this to work. | |
min_ttl=15m; // Retain cached entries at least 15 minutes. | |
max_ttl=1w; // One week. | |
timeout=10; // Global timeout option (10 seconds). | |
par_queries = 2; | |
} | |
server { | |
label = "My Own DNS"; | |
ip = 188.166.179.180; | |
port = 5353; | |
} | |
server { | |
label= "Google DNS"; | |
ip = 8.8.8.8; # Put your ISP's DNS-server address(es) here. | |
} | |
source { | |
owner=localhost; | |
file="/etc/hosts"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment