initial source tree import
[tails-test.git] / config / chroot_local-includes / etc / pdnsd.conf
blob19197dd2b812f48c5f27e934ea9332eb94ad3717
1 // Read the pdnsd.conf(5) manpage for an explanation of the options.
3 /* Note: this file is overriden by automatic config files when
4    /etc/default/pdnsd AUTO_MODE is set and that
5    /usr/share/pdnsd/pdnsd-$AUTO_MODE.conf exists
6  */
8 global {
9         perm_cache=2048;
10         cache_dir="/var/cache/pdnsd";
11         run_as="pdnsd";
12         server_ip = 127.0.0.1;  // Use eth0 here if you want to allow other
13                                 // machines on your network to query pdnsd.
14         status_ctl = on;
15 //      paranoid=on;
16 //      query_method=tcp_udp;   // pdnsd must be compiled with tcp
17                                 // query support for this to work.
18         min_ttl=15m;       // Retain cached entries at least 15 minutes.
19         max_ttl=1w;        // One week.
20         timeout=120;        // Global timeout option (10 seconds).
22         // Don't enable if you don't recurse yourself, can lead to problems
23         // delegation_only="com","net";
26 # Tor DNS resolver
27 server {
28         label = "tor";
29         ip = 127.0.0.1;
30         port = 8853;
31         uptest = none;
32         exclude=".invalid";
33         policy=included;
34         proxy_only = on;
35         lean_query = on;
38 source {
39         owner=localhost;
40 //      serve_aliases=on;
41         file="/etc/hosts";
44 rr {
45         name=localhost;
46         reverse=on;
47         a=127.0.0.1;
48         owner=localhost;
49         soa=localhost,root.localhost,42,86400,900,86400,86400;
52 /* vim:set ft=c: */