serverapps:dns:knotdns:client
文書の過去の版を表示しています。
コマンド
knsupdate
例:interactive
$ knsupdate knsupdate> server 192.168.1.1 knsupdate> zone example.com. knsupdate> origin example.com. knsupdate> ttl 3600 knsupdate> add test1.example.com. 7200 A 192.168.2.2 knsupdate> add test2 TXT "hello" knsupdate> show knsupdate> send knsupdate> answer knsupdate> exit
例:One lliner1)
$ 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
例:データをファイルにした場合
$ 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
knotc
Knot DNS control utility
現在のサーバ設定を表示
$ knotc conf-read server
現在のゾーンのリストを取得する
$ knotc conf-read zone.domain
1)
各コマンド間に改行が必要なので注意
serverapps/dns/knotdns/client.1745899477.txt.gz · 最終更新: 2025/04/29 04:04 by hayashi