Advertisement
Guest User

Untitled

a guest
Aug 10th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.44 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 { 127.0.0.1; };
  12. listen-on-v6 port 53 { ::1; };
  13. directory "/var/named";
  14. dump-file "/var/named/data/cache_dump.db";
  15. statistics-file "/var/named/data/named_stats.txt";
  16. memstatistics-file "/var/named/data/named_mem_stats.txt";
  17. allow-query { localhost; };
  18. recursion yes;
  19.  
  20. dnssec-enable yes;
  21. dnssec-validation yes;
  22. dnssec-lookaside auto;
  23.  
  24. /* Path to ISC DLV key */
  25. bindkeys-file "/etc/named.iscdlv.key";
  26.  
  27. managed-keys-directory "/var/named/dynamic";
  28. };
  29.  
  30. logging {
  31. channel default_debug {
  32. file "data/named.run";
  33. severity dynamic;
  34. };
  35. };
  36.  
  37. zone "." IN {
  38. type hint;
  39. file "named.ca";
  40. };
  41.  
  42. zone "lab" IN {
  43. notify no;
  44. type master;
  45. file "lab";
  46. };
  47.  
  48. include "/etc/named.rfc1912.zones";
  49. include "/etc/named.root.key";
  50.  
  51. ------------------------------------------------------------------------------------
  52.  
  53. $TTL 1D
  54. @ IN SOA clearlab. lab. (
  55. 5 ; serial
  56. 1D ; refresh
  57. 1H ; retry
  58. 1W ; expire
  59. 3H ) ; minimum
  60. NS lab.
  61. MX 10 lab.
  62. A 10.0.0.6
  63.  
  64.  
  65. ----------------------------------------------------------------------------------
  66.  
  67.  
  68. From MAILER-DAEMON@lab Fri Apr 8 21:00:26 2011
  69. Date: Fri, 8 Apr 2011 21:00:26 +0200
  70. From: Mail Delivery Subsystem <MAILER-DAEMON@lab>
  71. To: postmaster@lab
  72. Subject: Postmaster notify: see transcript for details
  73.  
  74. The original message was received at Fri, 8 Apr 2011 21:00:26 +0200
  75. from localhost
  76. with id p38J0QUu002168
  77.  
  78. ----- The following addresses had permanent fatal errors -----
  79. <sagi@lab.localdomain>
  80. (reason: 553 5.3.5 system config error)
  81.  
  82. ----- Transcript of session follows -----
  83. 554 5.3.5 Local configuration error
  84.  
  85.  
  86. [ Part 2: "Delivery Status" ]
  87.  
  88. Reporting-MTA: dns; lab
  89. Received-From-MTA: DNS; localhost.localdomain
  90. Arrival-Date: Fri, 8 Apr 2011 21:00:26 +0200
  91.  
  92. Final-Recipient: RFC822; sagi@lab.localdomain
  93. Action: failed
  94. Status: 5.3.5
  95. Diagnostic-Code: SMTP; 553 5.3.5 system config error
  96. Last-Attempt-Date: Fri, 8 Apr 2011 21:00:26 +0200
  97.  
  98.  
  99.  
  100. [ Part 3: "Included Message" ]
  101.  
  102. Date: Fri, 8 Apr 2011 21:00:26 +0200
  103. From: Mail Delivery Subsystem <MAILER-DAEMON>
  104. To: postmaster
  105. To: <sagi@lab.localdomain>
  106. Subject: Returned mail: see transcript for details
  107.  
  108. The original message was received at Fri, 8 Apr 2011 20:59:26 +0200
  109. from localhost.localdomain [127.0.0.1]
  110.  
  111. ----- The following addresses had permanent fatal errors -----
  112. <sagi@lab.localdomain>
  113. (reason: 553 5.3.5 system config error)
  114.  
  115. ----- Transcript of session follows -----
  116. 553 5.3.5 lab.localdomain. config error: mail loops back to me (MX problem?)
  117. 554 5.3.5 Local configuration error
  118.  
  119.  
  120. [ Part 3.2: "Delivery Status" ]
  121.  
  122. Reporting-MTA: dns; lab
  123. Received-From-MTA: DNS; localhost.localdomain
  124. Arrival-Date: Fri, 8 Apr 2011 20:59:26 +0200
  125.  
  126. Final-Recipient: RFC822; sagi@lab.localdomain
  127. Action: failed
  128. Status: 5.3.5
  129. Diagnostic-Code: SMTP; 553 5.3.5 system config error
  130. Last-Attempt-Date: Fri, 8 Apr 2011 21:00:26 +0200
  131.  
  132.  
  133.  
  134. [ Part 3.3: "Included Message" ]
  135.  
  136. Date: Fri, 8 Apr 2011 20:52:31 +0200 (SAST)
  137. From: sagi shahar <sagi@lab.localdomain>
  138. To: sagi@lab.localdomain
  139. Subject: as
  140.  
  141. as
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement