serverapps:dns:knotdns
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
serverapps:dns:knotdns [2021/05/11 02:26] – ↷ serverapps:knotdns から serverapps:dns:knotdns へページを移動しました。 hayashi | serverapps:dns:knotdns [2025/04/22 09:17] (現在) – [secondary] hayashi | ||
---|---|---|---|
行 8: | 行 8: | ||
===== インストール ===== | ===== インストール ===== | ||
- | # pkg install | + | # pkg install |
===== 設定 ===== | ===== 設定 ===== | ||
行 15: | 行 15: | ||
/ | / | ||
- | ==== slave ==== | + | ==== primary ==== |
- | idをmasterに設定する。 | + | |
+ | DNS NOTIFY:notify 設定は有効にする方が良いです | ||
+ | これにより、セカンダリはSOAの refresh タイマーを待たずに、すぐにゾーン転送を開始できます | ||
+ | |||
+ | <code yaml> | ||
+ | server: | ||
+ | user: " | ||
+ | listen: [ " | ||
+ | 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] | ||
+ | </ | ||
+ | |||
+ | |||
+ | ==== secondary | ||
+ | idをprimaryに設定する。((最近うるさいので名前をprimary、secondaryに変更しました)) | ||
<code yaml> | <code yaml> | ||
remote: | remote: | ||
- | - id: master | + | - id: primary |
address: xxx.YY.ZZZ.XXX@53 | address: xxx.YY.ZZZ.XXX@53 | ||
</ | </ | ||
行 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 |
- | action: notify | + | action: notify |
</ | </ | ||
行 39: | 行 58: | ||
$ kzonecheck -v example.com.zone | $ kzonecheck -v example.com.zone | ||
===== 参考 ===== | ===== 参考 ===== | ||
- | https:// | ||
- | |||
- | http:// | ||
- | https:// | + | * [[https:// |
+ | * [[http:// | ||
+ | * [[https:// | ||
serverapps/dns/knotdns.1620700008.txt.gz · 最終更新: 2021/05/11 02:26 by hayashi