ユーザ用ツール

サイト用ツール


serverapps:dns:knotdns

差分

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

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
serverapps:dns:knotdns [2023/08/26 03:09] – [参考] hayashiserverapps:dns:knotdns [2025/04/22 09:17] (現在) – [secondary] hayashi
行 15: 行 15:
   /usr/local/etc/knot/knot.conf   /usr/local/etc/knot/knot.conf
  
-==== slave ==== +==== primary ==== 
-idをprimaryに設定する。((名前が変更されprimary、secondaryを使用しま))+ 
 +DNS NOTIFY:notify 設定は有効にする方が良いです 
 +これにより、セカンダリはSOAの refresh タイマーを待たずに、すぐにゾーン転送を開始できます 
 + 
 +<code yaml> 
 +  server: 
 +    user: "knot:knot" 
 +    listen: [ "0.0.0.0@53", "::@53"
 +  remote: 
 +    - id: secondary 
 +      address: [ 192.168.11.1 , 192.168.11.2 ] 
 +  acl: 
 +    - id: acl_public2nd 
 +      address: [ 192.168.11.1 , 192.168.11.2 ] 
 +      action: [transfer, notify] 
 +</code> 
 + 
 + 
 +==== secondary ==== 
 +idをprimaryに設定する。((最近うるさいので名前primary、secondaryに変更しました))
  
 <code yaml> <code yaml>
行 28: 行 47:
 <code yaml> <code yaml>
 remote: remote:
-  - id: notify_from_master +  - id: notify_from_primary 
-    address: xxx.YY.ZZZ.XXX +    address: xxx.YY.ZZZ.XXX   # primaryのIPアドレス 
-    action: notify+    action: notify            # primaryからのNOTIFYを許可
 </code> </code>
  
行 41: 行 60:
  
   * [[https://www.nic.ad.jp/ja/materials/iw/2018/proceedings/d3/d3-yamaguchi.pdf|Knot DNS の紹介]]   * [[https://www.nic.ad.jp/ja/materials/iw/2018/proceedings/d3/d3-yamaguchi.pdf|Knot DNS の紹介]]
-  * http://qiita.com/soprano1125/items/2cdfe5ee3b275f7331d6 +  * [[http://qiita.com/soprano1125/items/2cdfe5ee3b275f7331d6|PowerDNS と Knot DNS で DNS 権威サーバーを組んでみた話]] 
-  * https://www.knot-dns.cz/docs/2.6/singlehtml/index.html+  * [[https://www.knot-dns.cz/docs/3.2/singlehtml/|Knot DNS's documentation]]
  
serverapps/dns/knotdns.1693019366.txt.gz · 最終更新: 2023/08/26 03:09 by hayashi