Guest User

Untitled

a guest
Jun 19th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. key "rndckey" {
  2. algorithm hmac-md5;
  3. secret "e/2SZFwiuVQj0Keb68mqhGxIFOwRXaIOwaxoYm9PT+M=";
  4. };
  5.  
  6. controls {
  7. inet 127.0.0.1 port 953
  8. allow { 127.0.0.1; } keys { "rndckey"; };
  9. };
  10.  
  11. options {
  12. directory "/var/named";
  13. pid-file "/var/run/named/named.pid";
  14.  
  15. recursion yes;
  16.  
  17. allow-recursion {
  18. 127.0.0.1;
  19. 10.20.20.0/24; //network anda
  20. };
  21.  
  22. listen-on {
  23. 127.0.0.1;
  24. 61.8.69.117; //ip server yang menjalankan bind ini
  25. };
  26.  
  27. query-source address * port 53;
  28.  
  29. // sembunyikan versi bind anda
  30. version none;
  31.  
  32. allow-query {
  33. 127.0.0.1;
  34. 10.20.20.0/24; //network anda
  35. };
  36. };
  37.  
  38. zone "." IN {
  39. type hint;
  40. file "named.ca";
  41. };
  42.  
  43. // contoh, buat zone baru. myhost.web.id
  44. zone "myhost.web.id" IN {
  45. type master;
  46. file "data/myhost.web.id.zone";
  47. allow-update { none; };
  48. };
Add Comment
Please, Sign In to add comment