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
middleware:bind:index.html [2018/03/10 01:05]
kurihara [BIND(named) Configuration Examples]
middleware:bind:index.html [2019/02/11 00:45] (current)
kurihara
Line 13: Line 13:
  
 <sxh bash toolbar:false gutter:false> <sxh bash toolbar:false gutter:false>
-$ fab  -H x.x.x.x auth.pro  bind.xxxxx+$ fab  -H x.x.x.x   bind.xxxxx
 </sxh> </sxh>
  
Line 21: Line 21:
 $ H=test-serve-01,test-server-02 $ H=test-serve-01,test-server-02
  
-$ fab -H $H auth.pro -- "ps aux |grep named" +$ fab -H $H  -- "ps aux |grep named" 
-$ fab -H $H auth.pro -- "lsof -i |grep named"+$ fab -H $H  -- "lsof -i |grep named"
  
-$ fab -H $H auth.pro -- sudo systemctl status named +$ fab -H $H  -- sudo systemctl status named 
-$ fab -H $H auth.pro -- sudo systemctl restart named+$ fab -H $H  -- sudo systemctl restart named
  
-$ fab -H $H auth.pro -- sudo named-checkconf /etc/named.conf+$ fab -H $H  -- sudo named-checkconf /etc/named.conf
  
-$ fab -H $H auth.pro -- sudo rndc reload  #Update All Zone Contents +$ fab -H $H  -- sudo rndc reload  #Update All Zone Contents 
-$ fab -H $H auth.pro -- sudo rndc reconfig  #add new zone file+$ fab -H $H  -- sudo rndc reconfig  #add new zone file
 </sxh> </sxh>
  


middleware/bind/index.html.1520611559.txt.gz · Last modified: 2018/03/10 01:05 by kurihara