Advertisement
Guest User

asdf

a guest
Nov 26th, 2015
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.60 KB | None | 0 0
  1. $$$$$$$$$$$$$$$$$$$$$$$$NAMED.CONF$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
  2. ###### options
  3.  
  4. options {
  5. directory "C:\named\etc";
  6. # allow-transfer {
  7. # IP.adres.secondary.dns;
  8. # };
  9. };
  10.  
  11. ###### root servers
  12. zone "." {
  13. type hint;
  14. file "named.root";
  15. };
  16.  
  17. ###### primary dns
  18.  
  19. zone "localhost" {
  20.  
  21. type master;
  22. file "zones\localhost.zone";
  23. allow-update { none; };
  24. };
  25.  
  26. zone "kolasinski.pl" {
  27. type master;
  28. file "zones\kolasinski.pl";
  29. allow-update { none; };
  30. allow-transfer { secondary.dns; };
  31. notify yes;
  32. };
  33.  
  34. ###### rev dns
  35.  
  36. zone "0.0.127.in-addr.arpa" {
  37. type master;
  38. file "zones\0.0.127.in-addr.arpa";
  39. allow-update { none; };
  40. };
  41.  
  42. ##########################################
  43. key "rndc-key" {
  44. algorithm hmac-md5;
  45. secret "Q0D1tV4OcebDYtshuO7+Zg==";
  46. };
  47.  
  48. controls {
  49. inet 127.0.0.1 port 953
  50. allow { 127.0.0.1; } keys { "rndc-key"; };
  51. };
  52.  
  53. $$$$$$$$$$$$$$$$$$$$$$$$$$$$LOCALHOST.ZONE$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
  54. $TTL 86400
  55. $ORIGIN localhost.
  56. @ IN SOA ns1.kolasinski.pl. root.kolasinski.pl. (
  57. 2011040201 ; Serial (numer seryjny)
  58. 28800 ; Refresh (odswiezanie co 8 sekund)
  59. 14400 ; Retry (ponowienie za 4 godz)
  60. 3600000 ; Expire (wygasniecie)
  61. 86400 ) ; Minimum (minimalny czas zycia 24h)
  62. @ IN NS ns1.kolasinski.pl.
  63. @ IN A 127.0.0.1
  64. $$$$$$$$$$$$$$$$$$$$$$$$$$KOLASINSKI.PL$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
  65. $TTL 86400
  66. $ORIGIN kolasinski.pl
  67. @ IN SOA ns1.kolasinski.pl. root.kolasinski.pl. (
  68. 2011040201 ; serial [yyyyMMddNN]
  69. 28800 ; refresh [8h]
  70. 3600 ; retry [1h]
  71. 604800 ; expire [7d]
  72. 86400) ; minimum [1d]
  73.  
  74. #IN NS secondary.server.
  75. @IN NS ns1.kolasinski.pl.
  76.  
  77. @IN MX 10 poczta.kolasinski.pl.
  78. @ IN A 192.168.56.9 ; IP serwera z kolasinski.pl
  79.  
  80. NS1 IN A 192.168.56.9 ; IP naszego serwera dns dla kolasinski.pl
  81. poczta IN A 192.168.56.9 ; IP serwera poczty dla kolasinski.pl
  82.  
  83. www IN CNAME kolasinski.pl
  84. @ IN TXT "v=spf1 a mx ip4:192.168.56.9 -all"
  85. @ IN SPF "v=spf1 a mx ip4:192.168.56.9 -all"
  86. $$$$$$$$$$$$$$$$$RNDC.CONF$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
  87. # Start of rndc.conf
  88. key "rndc-key" {
  89. algorithm hmac-md5;
  90. secret "Q0D1tV4OcebDYtshuO7+Zg==";
  91. };
  92.  
  93. options {
  94. default-key "rndc-key";
  95. default-server 127.0.0.1;
  96. default-port 953;
  97. };
  98. # End of rndc.conf
  99.  
  100. # Use with the following in named.conf, adjusting the allow list as needed:
  101. # key "rndc-key" {
  102. # algorithm hmac-md5;
  103. # secret "OxeXZ1+udvSuKNNm0wuqHQ==";
  104. # };
  105. #
  106. # controls {
  107. # inet 127.0.0.1 port 953
  108. # allow { 127.0.0.1; } keys { "rndc-key"; };
  109. # };
  110. # End of named.conf
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement