From c68a35a52b294cc73ce7e260efb325129b1ed561 Mon Sep 17 00:00:00 2001 From: Matt Smith Date: Wed, 23 Mar 2011 12:34:44 -0500 Subject: testing/pdnsd: new aport pdnsd is a proxy DNS server with permanent caching. http://www.phys.uu.nl/~rombouts/pdnsd/ --- testing/pdnsd/pdnsd.conf | 51 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 testing/pdnsd/pdnsd.conf (limited to 'testing/pdnsd/pdnsd.conf') diff --git a/testing/pdnsd/pdnsd.conf b/testing/pdnsd/pdnsd.conf new file mode 100644 index 0000000000..f3e6ae4b75 --- /dev/null +++ b/testing/pdnsd/pdnsd.conf @@ -0,0 +1,51 @@ +# +# Default Alpine Linux pdnsd config +# +# See /usr/share/pdnsd/pdnsd.conf.sample and the pdnsd.conf(5) manpage, +# both available in the pdnsd-doc package. +# +# Comments can begin with either '#' or '//', and entire blocks may be +# commented out with '/*' and '*/'. +# +global { + perm_cache=2048; + cache_dir="/var/cache/pdnsd"; + run_as="pdnsd"; + server_ip = any; + status_ctl = on; +# paranoid=on; # This option reduces the chance of cache poisoning + # but may make pdnsd less efficient, unfortunately. + min_ttl=15m; # Retain cached entries at least 15 minutes. + max_ttl=1w; # One week. + timeout=10; # Global timeout option (10 seconds). + neg_domain_pol=on; +} + +server { + label= "googledns"; + ip = 8.8.8.8, 8.8.4.4; + proxy_only=on; + lean_query=on; + timeout=4; # Server timeout; this may be much shorter + # that the global timeout option. + uptest=none; + interval=10m; # Check every 10 minutes. + purge_cache=off; +} + +/* +source { + owner=localhost; +# serve_aliases=on; + file="/etc/hosts"; +} +*/ + +rr { + name=localhost; + reverse=on; + a=127.0.0.1; +# a=::1; + owner=localhost; + soa=localhost,root.localhost,42,86400,900,86400,86400; +} -- cgit v1.2.3