Advertisement
Emulatorman

named.conf for Parabola

Feb 15th, 2012
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.47 KB | None | 0 0
  1. //
  2. // /etc/named.conf
  3. //
  4.  
  5. options {
  6. directory "/var/named";
  7. pid-file "/var/run/named/named.pid";
  8. auth-nxdomain yes;
  9. datasize default;
  10. // Uncomment these to enable IPv6 connections support
  11. // IPv4 will still work:
  12. // listen-on-v6 { any; };
  13. // Add this for no IPv4:
  14. // listen-on { none; };
  15.  
  16. // Default security settings.
  17. allow-recursion { 127.0.0.0/8; 192.168.0.0/24; };
  18. allow-transfer { 127.0.0.0/8; 192.168.0.0/24; };
  19. allow-update { 127.0.0.0/8; 192.168.0.0/24; };
  20. version none;
  21. hostname none;
  22. server-id none;
  23. };
  24.  
  25. zone "localhost" IN {
  26. type master;
  27. file "localhost.zone";
  28. allow-transfer { any; };
  29. };
  30.  
  31. zone "0.0.127.in-addr.arpa" IN {
  32. type master;
  33. file "127.0.0.zone";
  34. allow-transfer { any; };
  35. };
  36.  
  37. zone "." IN {
  38. type hint;
  39. file "root.hint";
  40. };
  41.  
  42. //zone "example.org" IN {
  43. // type slave;
  44. // file "example.zone";
  45. // masters {
  46. // 192.168.1.100;
  47. // };
  48. // allow-query { any; };
  49. // allow-transfer { any; };
  50. //};
  51.  
  52. logging {
  53. channel xfer-log {
  54. file "/var/log/named.log";
  55. print-category yes;
  56. print-severity yes;
  57. print-time yes;
  58. severity info;
  59. };
  60. category xfer-in { xfer-log; };
  61. category xfer-out { xfer-log; };
  62. category notify { xfer-log; };
  63. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement