FastHandle - IT Operations Examples

FastHandle is fast operation tools for infrastructure configurations and tests.

User Tools

Site Tools


middleware:bind:conf101.html



Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
middleware:bind:conf101.html [2018/02/10 01:13]
kurihara
middleware:bind:conf101.html [2018/02/12 23:50]
kurihara
Line 1: Line 1:
 [[middleware:bind:index.html]] [[middleware:bind:index.html]]
-====== Bind Configuration Example : Master / Slave ======+====== Bind Internal and External Configuration Example : Master / Slave ======
  
 \\ \\
Line 19: Line 19:
     allow-query {     allow-query {
         127.0.0.1;         127.0.0.1;
-        192.168.0.0/24;+        192.168.0.0/16;
     };     };
  
     allow-transfer {     allow-transfer {
-        192.168.0.254;+        XXX.XXX.XX.XX    // Slave DNS
     };     };
 +    
     forwarders {     forwarders {
-        XXX.XXX.XX.XX;+        XXX.XXX.XX.XX;     // ISP
         XXX.XXX.XX.XX;         XXX.XXX.XX.XX;
     };     };
Line 33: Line 34:
  
 //------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------
-zone "."+//zone "."
-    type hint; +//    type hint; 
-    file "named.ca"; +//    file "named.ca"; 
-};+//};
  
  
Line 58: Line 59:
     allow-query { any; };     allow-query { any; };
     allow-update { none; };     allow-update { none; };
-    allow-transfer { xx.xx.xx.xx; +    allow-transfer { xx.xx.xx.xx; };        // Slave DNS
-                     xx.xx.xx.xx; };+
 }; };
  
Line 68: Line 68:
     allow-query { any; };     allow-query { any; };
     allow-update { none; };     allow-update { none; };
-    allow-transfer { xx.xx.xx.xx; +    allow-transfer { xx.xx.xx.xx; };        // Slave DNS
-                     xx.xx.xx.xx; };+
 }; };
  
Line 110: Line 109:
  
 //------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------
-zone "."+//zone "."
-    type hint; +//    type hint; 
-    file "named.ca"; +//    file "named.ca"; 
-};+//};
  
  
Line 140: Line 139:
     type slave;            // Slave DNS Server     type slave;            // Slave DNS Server
     file "named.rev";     file "named.rev";
-    masters { xxx.xxx.xxx.xxx };       //MasterのIPアドレス+    masters { xxx.xxx.xxx.xxx };       //Master
 }; };
 </sxh> </sxh>


middleware/bind/conf101.html.txt · Last modified: 2018/02/13 00:55 by kurihara