pdnsd.conf 924 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. //
  2. // pdnsd.conf -- Proxy DNS Daemon Configuration
  3. //
  4. global {
  5. perm_cache=512;
  6. cache_dir="@l_prefix@/var/pdnsd";
  7. max_ttl=604800;
  8. run_as="@l_rusr@";
  9. paranoid=on;
  10. server_port=53;
  11. server_ip="127.0.0.1";
  12. }
  13. server {
  14. ip="192.168.0.1";
  15. timeout=30;
  16. interval=30;
  17. uptest=ping;
  18. ping_timeout=50;
  19. purge_cache=off;
  20. }
  21. source {
  22. ttl=86400;
  23. owner="localhost.";
  24. serve_aliases=on;
  25. file="/etc/hosts";
  26. }
  27. neg {
  28. ttl=86400;
  29. name="foo.example.com.";
  30. types=domain;
  31. }
  32. neg {
  33. ttl=86400;
  34. name="bar.example.com.";
  35. types=A,AAAA,MX;
  36. }
  37. rr {
  38. ttl=86400;
  39. owner="localhost.";
  40. name="localhost.";
  41. a="127.0.0.1";
  42. soa="localhost.","root.localhost.",42,86400,900,86400,86400;
  43. }
  44. rr {
  45. ttl=86400;
  46. owner="localhost.";
  47. name="1.0.0.127.in-addr.arpa.";
  48. ptr="localhost.";
  49. soa="localhost.","root.localhost.",42,86400,900,86400,86400;
  50. }