ユーザ用ツール

サイト用ツール


serverapps:dns:knotdns:client

差分

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

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
serverapps:dns:knotdns:client [2025/04/29 04:01] hayashiserverapps:dns:knotdns:client [2025/05/01 06:47] (現在) – [knsupdate] hayashi
行 1: 行 1:
 ====== コマンド ====== ====== コマンド ======
 ===== knsupdate ===== ===== knsupdate =====
 +
 +※Typeが違う場合にはUpdateできないので、削除してからaddする
  
 例:interactive 例:interactive
行 6: 行 8:
 <code> <code>
 $ knsupdate $ knsupdate
 +knsupdate> key hmac-sha512:acme_key:hogefugahagehige12hogefugahagehige48hogefugahagehige7/8hogefugahagehige89shogefugaha/Q==
 knsupdate> server 192.168.1.1 knsupdate> server 192.168.1.1
 knsupdate> zone example.com. knsupdate> zone example.com.
行 18: 行 21:
 </code> </code>
  
-例:One lliner+例:One lliner((各コマンド間に改行が必要なので注意))
  
  
   $ echo -e "server 192.168.1.1\nzone example.com.\nupdate add test1.example.com. 7200 A 192.168.2.2\nsend" | knsupdate -k /path/to/TSIG.key   $ echo -e "server 192.168.1.1\nzone example.com.\nupdate add test1.example.com. 7200 A 192.168.2.2\nsend" | knsupdate -k /path/to/TSIG.key
  
 +例:データをファイルにした場合
 +
 +<code>
 +$ cat record.txt
 +server 192.168.1.1
 +zone example.com.
 +update add test1.example.com. 7200 A 192.168.2.2
 +send
 +
 +$ knsupdate record.txt -k /path/to/TSIG.key
 +</code>
  
  
serverapps/dns/knotdns/client.1745899309.txt.gz · 最終更新: by hayashi