Advertisement
Guest User

Untitled

a guest
Sep 19th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.52 KB | None | 0 0
  1. named-checkconf -p
  2.  
  3. options {
  4. directory "/var/named";
  5. forward first;
  6. forwarders {
  7. 8.8.8.8;
  8. };
  9. };
  10. zone "." IN {
  11. type hint;
  12. file "caching-example/named.root";
  13. };
  14. zone "localhost" IN {
  15. type master;
  16. file "caching-example/localhost.zone";
  17. allow-update {
  18. "none";
  19. };
  20. };
  21. zone "0.0.127.in-addr.arpa" IN {
  22. type master;
  23. file "caching-example/named.local";
  24. allow-update {
  25. "none";
  26. };
  27. };
  28. zone "soundservice.gr" in {
  29. type master;
  30. file "caching-example/named.soundservice.gr";
  31. allow-transfer {
  32. "any";
  33. };
  34. };
  35. zone "1.168.192.in-addr.arpa" {
  36. type master;
  37. file "caching-example/192.zone";
  38. };
  39.  
  40.  
  41. ############################ The zone file #################################
  42. GNU nano 2.3.0 File: /var/named/caching-example/named.soundervice.gr
  43.  
  44. ;
  45. ; Zone File for "example.com" - Internal Use ONLY
  46. ;
  47. ;
  48. ; Data for private bind dns server
  49. ;
  50. $TTL 1D
  51. @ 1D IN SOA ns1.soundservice.gr. root.soundservice.gr. (
  52. 2008120101 ; serial
  53. 3H ; refresh
  54. 15M ; retry
  55. 1W ; expiry
  56. 1D ) ; minimum
  57.  
  58. ;
  59.  
  60. @ IN NS ns1.soundservice.gr.
  61. @ IN A 192.168.1.66
  62. ns1 IN A 192.168.1.66
  63. www IN CNAME ns1.soundservice.gr.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement