Advertisement
Guest User

Untitled

a guest
Jul 9th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. options {
  2.         directory "/var/named";
  3.         /*
  4.          * If there is a firewall between you and nameservers you want
  5.          * to talk to, you might need to uncomment the query-source
  6.          * directive below.  Previous versions of BIND always asked
  7.          * questions using port 53, but BIND 8.1 uses an unprivileged
  8.          * port by default.
  9.          */
  10.         // query-source address * port 53;
  11.  
  12.         allow-transfer { none; };
  13.         allow-recursion { localnets; };
  14. };
  15.  
  16. //
  17. // a caching only nameserver config
  18. //
  19. controls {
  20.         inet 127.0.0.1 allow { localhost; } keys { rndckey; };
  21. };
  22. zone "." IN {
  23.         type hint;
  24.         file "named.ca";
  25. };
  26.  
  27. zone "localhost" IN {
  28.         type master;
  29.         file "localhost.zone";
  30.         allow-update { none; };
  31. };
  32.  
  33. zone "0.0.127.in-addr.arpa" IN {
  34.         type master;
  35.         file "named.local";
  36.         allow-update { none; };
  37. };
  38.  
  39. include "/etc/rndc.key";
  40.  
  41. zone "no-shit.net" { type master; file "/var/named/no-shit.net.db"; };
  42. zone "8.117.82.184.in-addr.arpa" { type master; file "/var/named/8.117.82.184.in-addr.arpa.db"; };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement