Advertisement
Guest User

Untitled

a guest
May 3rd, 2015
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.67 KB | None | 0 0
  1. //
  2. // named.conf
  3. //
  4. // Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
  5. // server as a caching only nameserver (as a localhost DNS resolver only).
  6. //
  7. // See /usr/share/doc/bind*/sample/ for example named configuration files.
  8. //
  9.  
  10. options {
  11. listen-on port 53 {
  12. any;
  13. };
  14. listen-on-v6 port 53 { ::1; };
  15. directory "/var/named";
  16. dump-file "/var/named/data/cache_dump.db";
  17. statistics-file "/var/named/data/named_stats.txt";
  18. memstatistics-file "/var/named/data/named_mem_stats.txt";
  19. allow-query {
  20. any;
  21. };
  22.  
  23. /*
  24. - If you are building an AUTHORITATIVE DNS server, do NOT enable recursion.
  25. - If you are building a RECURSIVE (caching) DNS server, you need to enable
  26. recursion.
  27. - If your recursive DNS server has a public IP address, you MUST enable access
  28. control to limit queries to your legitimate users. Failing to do so will
  29. cause your server to become part of large scale DNS amplification
  30. attacks. Implementing BCP38 within your network would greatly
  31. reduce such attack surface
  32. */
  33. recursion no;
  34.  
  35. dnssec-enable yes;
  36. dnssec-validation yes;
  37. dnssec-lookaside auto;
  38.  
  39. /* Path to ISC DLV key */
  40. bindkeys-file "/etc/named.iscdlv.key";
  41.  
  42. managed-keys-directory "/var/named/dynamic";
  43.  
  44. pid-file "/run/named/named.pid";
  45. session-keyfile "/run/named/session.key";
  46. also-notify {
  47. };
  48. forwarders {
  49. 185.30.146.117;
  50. };
  51. };
  52.  
  53. logging {
  54. channel default_debug {
  55. file "data/named.run";
  56. severity dynamic;
  57. };
  58. };
  59.  
  60. zone "." IN {
  61. type hint;
  62. file "named.ca";
  63. };
  64.  
  65. include "/etc/named.rfc1912.zones";
  66. include "/etc/named.root.key";
  67.  
  68. key rndc-key {
  69. algorithm hmac-md5;
  70. secret "h3zxcJ7HgjlD8npL5ozIig==";
  71. };
  72. controls {
  73. inet 127.0.0.1 port 953 allow { 127.0.0.1; } keys { rndc-key; };
  74. };
  75. zone "creativetwins.com" {
  76. type master;
  77. file "/var/named/creativetwins.com.hosts";
  78. };
  79.  
  80. $ttl 38400
  81. creativetwins.com. IN SOA maxal. dajanvulaj.gmail.com. (
  82. 1429826377
  83. 10800
  84. 3600
  85. 604800
  86. 38400 )
  87. creativetwins.com. IN NS maxal.
  88. creativetwins.com. IN A 185.30.146.117
  89. www.creativetwins.com. IN A 185.30.146.117
  90. ftp.creativetwins.com. IN A 185.30.146.117
  91. ns1.creativetwins.com. IN A 185.30.146.117
  92. ns2.creativetwins.com. IN A 185.30.146.117
  93. mail.creativetwins.com. IN A 185.30.146.117
  94. creativetwins.com. IN NS ns2.creativetwins.com.
  95. creativetwins.com. IN NS ns1.creativetwins.com.
  96. creativetwins.com. IN MX 10 mail.creativetwins.com.
  97. ns.creativetwins.com. IN CNAME creativetwins.com.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement