1
0

pdnsd.conf 960 B

123456789101112131415161718192021222324252627282930313233343536
  1. global {
  2. perm_cache = 1024;
  3. cache_dir = "/var/cache/pdnsd"; # do not change this!
  4. run_as = "nobody";
  5. strict_setuid = on;
  6. server_ip = 127.0.0.1; # Use eth0 here if you want to allow other
  7. # machines on your network to query pdnsd.
  8. status_ctl = on;
  9. # paranoid=on; # This option reduces the chance of cache poisoning
  10. # but may make pdnsd less efficient, unfortunately.
  11. query_method=udp_tcp;
  12. min_ttl=15m; # Retain cached entries at least 15 minutes.
  13. max_ttl=1w; # One week.
  14. timeout=10; # Global timeout option (10 seconds).
  15. proc_limit = 20;
  16. }
  17. # serve local host definitions
  18. source {
  19. owner = "localhost";
  20. serve_aliases = off; # skip everything after the first host for an IP
  21. file = "/etc/hosts";
  22. }
  23. # for dns servers via dhcp
  24. #server {
  25. # label = "dhcp";
  26. # file = "/var/resolv.conf";
  27. # exclude = ".lan";
  28. # policy = fqdn_only;
  29. # timeout = 4;
  30. # uptest = if;
  31. # interface = "eth0";
  32. # interval = 60;
  33. #}