summaryrefslogtreecommitdiffstats
path: root/config/chroot_local-includes/etc/pdnsd.conf
diff options
context:
space:
mode:
Diffstat (limited to 'config/chroot_local-includes/etc/pdnsd.conf')
-rw-r--r--config/chroot_local-includes/etc/pdnsd.conf52
1 files changed, 52 insertions, 0 deletions
diff --git a/config/chroot_local-includes/etc/pdnsd.conf b/config/chroot_local-includes/etc/pdnsd.conf
new file mode 100644
index 0000000..19197dd
--- /dev/null
+++ b/config/chroot_local-includes/etc/pdnsd.conf
@@ -0,0 +1,52 @@
+// Read the pdnsd.conf(5) manpage for an explanation of the options.
+
+/* Note: this file is overriden by automatic config files when
+ /etc/default/pdnsd AUTO_MODE is set and that
+ /usr/share/pdnsd/pdnsd-$AUTO_MODE.conf exists
+ */
+
+global {
+ perm_cache=2048;
+ cache_dir="/var/cache/pdnsd";
+ run_as="pdnsd";
+ server_ip = 127.0.0.1; // Use eth0 here if you want to allow other
+ // machines on your network to query pdnsd.
+ status_ctl = on;
+// paranoid=on;
+// query_method=tcp_udp; // 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=120; // Global timeout option (10 seconds).
+
+ // Don't enable if you don't recurse yourself, can lead to problems
+ // delegation_only="com","net";
+}
+
+# Tor DNS resolver
+server {
+ label = "tor";
+ ip = 127.0.0.1;
+ port = 8853;
+ uptest = none;
+ exclude=".invalid";
+ policy=included;
+ proxy_only = on;
+ lean_query = on;
+}
+
+source {
+ owner=localhost;
+// serve_aliases=on;
+ file="/etc/hosts";
+}
+
+rr {
+ name=localhost;
+ reverse=on;
+ a=127.0.0.1;
+ owner=localhost;
+ soa=localhost,root.localhost,42,86400,900,86400,86400;
+}
+
+/* vim:set ft=c: */