我犹豫是否要问这个问题,因为我怀疑自己很愚蠢,但是......
在运行 bind 9.18.18 的 Ubuntu 服务器 22.04 上,当我运行 时ddns-confgen -k host.example.com
,它会输出一些引用指定服务器配置所需的密钥和配置的指令。它还包括以下内容:
# After the keyfile has been placed, the following command will
# execute nsupdate using this key:
nsupdate -k <keyfile>
手册页指出:
密钥名称可以使用 -k 参数指定,默认为 ddns-key。生成的密钥附带配置文本和说明,可与 nsupdate 一起使用并在设置动态 DNS 时命名
它引用的“生成的密钥”在哪里(手册页中没有任何关于路径或任何选项的内容)?nsupdate
它不会出现在我运行命令的目录中,但我需要在更新区域时将该密钥提供给命令。