linux:bind

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
linux:bind [2013/10/16 15:01] – [逆引きゾーンの設定] ともやんlinux:bind [2019/05/18 02:23] (現在) – 外部編集 非ログインユーザー
行 3: 行 3:
 ===== パッケージインストール ===== ===== パッケージインストール =====
 <code> <code>
-$ sudo yum install bind bind-utils+$ sudo dnf install bind bind-utils
 </code> </code>
  
行 16: 行 16:
 パッケージインストール パッケージインストール
 <code> <code>
-$ sudo yum install bind-chroot+$ sudo dnf install bind-chroot
 </code> </code>
 chroot環境を有効化 chroot環境を有効化
行 48: 行 48:
 <       listen-on-v6 port 53 { ::1; }; <       listen-on-v6 port 53 { ::1; };
 --- ---
->       listen-on port 53 { 127.0.0.1; 192.168.1.10; };+>       listen-on port 53 { 127.0.0.1; 192.168.1.12; };
 >       #listen-on-v6 port 53 { ::1; }; >       #listen-on-v6 port 53 { ::1; };
 17c17,23 17c17,23
行 57: 行 57:
 >       forward only; >       forward only;
 >       forwarders { >       forwarders {
->               202.224.32.1+>               129.250.35.250
->               202.224.32.2;+>               8.8.8.8;
 >       }; >       };
 56a63,78 56a63,78
行 87: 行 87:
 </code> </code>
 <code> <code>
-$TTL                    86400 ; 1 day +$TTL            86400 ; 1 day 
-                      IN SOA  blue-dc.fireball.local. root.blue-dc.fireball.local. ( +              IN      SOA      blue-dc.fireball.local. root.blue-dc.fireball.local. ( 
-                                2013101001 ; serial +                        2013101001 ; serial 
-                                10800      ; refresh (3 hours) +                        3H         ; refresh (3 hours) 
-                                3600       ; retry (1 hour) +                        1H         ; retry (1 hour) 
-                                604800     ; expire (1 week) +                        1W         ; expire (1 week) 
-                                3600       ; minimum (1 hour) +                        1H         ; minimum (1 hour) 
-                                +
-                        NS      blue-dc.fireball.local. +                IN      NS       blue-dc.fireball.local. 
-blue-dc                       192.168.1.10 +@               IN      A        192.168.1.80 
-blue-sv                       192.168.1.20 +blue-dc         IN             192.168.1.10 
-blue-sv1                      192.168.1.21 +blue-sv         IN             192.168.1.20 
-blue-sv2                      192.168.1.22+blue-sv1        IN             192.168.1.21 
 +blue-sv2        IN             192.168.1.22 
 +www             IN      A        192.168.1.80
 </code> </code>
 ==== 逆引きゾーンの設定 ==== ==== 逆引きゾーンの設定 ====
行 107: 行 109:
 </code> </code>
 <code> <code>
-$TTL                    86400 ; 1 day +$TTL            86400 ; 1 day 
-                      IN      SOA     blue-dc.fireball.local  root.blue-dc.fireball.local. ( +              IN      SOA      blue-dc.fireball.localroot.blue-dc.fireball.local. ( 
-                                2013101001 ; serial +                        2013101001 ; serial 
-                                2013101601 ; serial +                        3H         ; refresh (3 hours) 
-                                3H         ; refresh (3 hours) +                        1H         ; retry (1 hour) 
-                                1H         ; retry (1 hour) +                        1W         ; expire (1 week) 
-                                1W         ; expire (1 week) +                        1H         ; minimum (1 hour) 
-                                1H         ; minimum (1 hour) +
-                                +                IN      NS       blue-dc.fireball.local. 
-                IN      NS      blue-dc.fireball.local. +10              IN      PTR      blue-dc.fireball.local. 
-10              IN      PTR     blue-dc.fireball.local. +20              IN      PTR      blue-sv.fireball.local. 
-20              IN      PTR     blue-sv.fireball.local. +21              IN      PTR      blue-sv1.fireball.local. 
-21              IN      PTR     blue-sv1.fireball.local. +22              IN      PTR      blue-sv2.fireball.local. 
-22              IN      PTR     blue-sv2.fireball.local.+80              IN      PTR      www.fireball.local.
 </code> </code>
 ===== 設定のチェック ===== ===== 設定のチェック =====
  • linux/bind.1381903294.txt.gz
  • 最終更新: 2019/05/18 02:23
  • (外部編集)