Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1. //
  2. // named.caching-nameserver.conf
  3. //
  4. // Provided by Red Hat caching-nameserver package to configure the
  5. // ISC BIND named(8) DNS server as a caching only nameserver
  6. // (as a localhost DNS resolver only).
  7. //
  8. // See /usr/share/doc/bind*/sample/ for example named configuration files.
  9. //
  10. // DO NOT EDIT THIS FILE - use system-config-bind or an editor
  11. // to create named.conf - edits to this file will be lost on
  12. // caching-nameserver package upgrade.
  13. //
  14. options {
  15. listen-on port 53 { 127.0.0.1; };
  16. listen-on-v6 port 53 { ::1; };
  17. directory "/var/named";
  18. dump-file "/var/named/data/cache_dump.db";
  19. statistics-file "/var/named/data/named_stats.txt";
  20. memstatistics-file "/var/named/data/named_mem_stats.txt";
  21.  
  22. // Those options should be used carefully because they disable port
  23. // randomization
  24. // query-source port 53;
  25. // query-source-v6 port 53;
  26.  
  27. allow-query { localhost; };
  28. allow-query-cache { localhost; };
  29. };
  30.  
  31. zone "hello.com" IN
  32. {
  33. type master;
  34. file "hello.fzone";
  35. allow-update {none;};
  36. };
  37.  
  38. zone "1.168.192.in-addr.arpa" IN
  39. {
  40. type master;
  41. file "hello.rzone";
  42. allow-update{none;};
  43. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement