aboutsummaryrefslogtreecommitdiffstats
path: root/main/pdnsd/pdnsd.conf
diff options
context:
space:
mode:
authorMatt Smith <mcs@darkregion.net>2011-03-29 23:41:13 -0500
committerMatt Smith <mcs@darkregion.net>2011-03-29 23:41:13 -0500
commit49897f4bda22343113903a5dd26d0e42aab54a80 (patch)
tree2079d324b5b0b920afef906ffcc4fe1df1818825 /main/pdnsd/pdnsd.conf
parent4346c9975804621d2e276ef1a12c0695dce71eb1 (diff)
downloadaports-49897f4bda22343113903a5dd26d0e42aab54a80.tar.bz2
aports-49897f4bda22343113903a5dd26d0e42aab54a80.tar.xz
main/pdnsd: moved from testing
Diffstat (limited to 'main/pdnsd/pdnsd.conf')
-rw-r--r--main/pdnsd/pdnsd.conf51
1 files changed, 51 insertions, 0 deletions
diff --git a/main/pdnsd/pdnsd.conf b/main/pdnsd/pdnsd.conf
new file mode 100644
index 000000000..f3e6ae4b7
--- /dev/null
+++ b/main/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;
+}