ユーザ用ツール

サイト用ツール


serverapps:dns:knotdns:client

差分

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

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
serverapps:dns:knotdns:client [2025/04/29 03:57] hayashiserverapps:dns:knotdns:client [2025/04/29 04:05] (現在) hayashi
行 1: 行 1:
 ====== コマンド ====== ====== コマンド ======
 ===== knsupdate ===== ===== knsupdate =====
-例:+ 
 +※Typeが違う場合にはUpdateできないので、削除してからaddする 
 + 
 +例:interactive
  
 <code> <code>
行 17: 行 20:
 </code> </code>
  
 +例: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
 +
 +例:データをファイルにした場合
 +
 +<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.1745899030.txt.gz · 最終更新: 2025/04/29 03:57 by hayashi