FastHandle - IT Operations Examples

FastHandle is fast operation tools for infrastructure configurations and tests.

User Tools

Site Tools


middleware:bind:index.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:index.html [2018/02/07 23:22]
kurihara
middleware:bind:index.html [2018/03/10 01:05]
kurihara [BIND(named) Configuration Examples]
Line 7: Line 7:
 \\ \\
  
-===== bind Operation =====+===== BIND(named) Operation with Fabric =====
 <sxh bash toolbar:false gutter:false> <sxh bash toolbar:false gutter:false>
 $ fab -l |grep -F bind. $ fab -l |grep -F bind.
Line 17: Line 17:
  
  
-==== Ref. Remote Shell Commands ====+==== Fabric Temporary Run Call Examples ====
 <sxh bash toolbar:false gutter:false> <sxh bash toolbar:false gutter:false>
 $ H=test-serve-01,test-server-02 $ H=test-serve-01,test-server-02
  
-$ fab -H $H auth.pro -- sudo diff /etc/vsftpd/vsftpd.conf /etc/vsftpd/vsftpd.conf.20171205 +$ fab -H $H auth.pro -- "ps aux |grep named" 
-$ fab -H $H auth.pro -- sudo mv /etc/vsftpd/vsftpd.conf.20171205 /etc/vsftpd/vsftpd.conf+$ fab -H $H auth.pro -- "lsof -i |grep named"
  
-$ fab -H $H auth.pro -- "ps aux |grep vsftpd" +$ fab -H $H auth.pro -- sudo systemctl status named 
-$ fab -H $H auth.pro -- "lsof -i |grep ftp" +$ fab -H $H auth.pro -- sudo systemctl restart named 
-$ fab -H $H auth.pro -- sudo systemctl status vsftpd + 
-$ fab -H $H auth.pro -- sudo systemctl restart vsftpd+$ fab -H $H auth.pro -- sudo named-checkconf /etc/named.conf 
 + 
 +$ fab -H $H auth.pro -- sudo rndc reload  #Update All Zone Contents 
 +$ fab -H $H auth.pro -- sudo rndc reconfig  #add new zone file
 </sxh> </sxh>
  
Line 50: Line 53:
     '''yum install vsftpd '''     '''yum install vsftpd '''
     sudo("rpm -q bind            > /dev/null 2>&1 || yum -y install bind")     sudo("rpm -q bind            > /dev/null 2>&1 || yum -y install bind")
 +    sudo("rpm -q bind-utils      > /dev/null 2>&1 || yum -y install bind-utils")
  
  
Line 70: Line 74:
 \\ \\
 ===== BIND(named) Configuration Examples===== ===== BIND(named) Configuration Examples=====
-  *[[middleware:bind:named.conf_default.html]]+  *[[middleware:bind:conf001.html]] 
 +  *[[middleware:bind:conf002.html]] 
 +  *[[middleware:bind:conf003.html]] 
 + 
 +  *[[middleware:bind:conf101.html]] 
  
  
Line 77: Line 86:
 \\ \\
 <WRAP box 90%> <WRAP box 90%>
-<catlist ..: -noAddPageButton -smallHead -sortAscending>+<catlist .: -noAddPageButton -smallHead -sortAscending>
 </WRAP> </WRAP>
 \\ \\
 [[:index.html#Middleware Management|Top#Middleware Management]] [[:index.html#Middleware Management|Top#Middleware Management]]


middleware/bind/index.html.txt · Last modified: 2019/02/11 00:45 by kurihara