show ddns update interface
ASA インターフェイスに割り当てられた DDNS 方式を表示するには、特権 EXEC モードで show ddns update interface コマンドを使用します。
show ddns update interface [ interface-name ]
構文の説明
interface-name |
(任意)ネットワーク インターフェイスの名前。 |
コマンド デフォルト
interface-name ストリングを省略すると、各インターフェイスに割り当てられている DDNS 方式が表示されます。
コマンド モード
次の表に、コマンドを入力できるモードを示します。
コマンドモード |
ファイアウォールモード |
セキュリティコンテキスト |
|||
---|---|---|---|---|---|
ルーテッド |
トランスペアレント |
シングル |
マルチ |
||
コンテキスト |
システム |
||||
特権 EXEC |
|
— |
|
|
— |
コマンド履歴
リリース |
変更内容 |
---|---|
7.2(1) |
このコマンドが追加されました。 |
9.15(1) |
Web 更新方式の場合、このコマンドの出力には、最後に更新された FQDN/IP アドレスマッピングが含まれます。 |
例
次に、内部インターフェイスに割り当てられている DDNS 方式を表示する例を示します。
ciscoasa# show ddns update interface inside
Dynamic DNS Update on inside:
Update Method Name Update Destination
ddns-2 not available
ciscoasa#
次の例は、Web タイプの更新が成功したことを示しています。
ciscoasa# show ddns update interface outside
Dynamic DNS Update on outside:
Update Method Name Update Destination
test not available
Last Update attempted on 09:01:52.729 UTC Mon Mar 23 2020
Status : Success
FQDN : asa1.example.com
IP addresses(s): 10.10.32.45,2001:DB8::1
次の例は、Web タイプの更新が失敗したことを示しています。
ciscoasa# show ddns update interface outside
Dynamic DNS Update on outside:
Update Method Name Update Destination
test not available
Last Update attempted on 09:01:52.729 UTC Mon Mar 23 2020
Status : Failed
Reason : Could not establish a connection to the server
次の例は、DNS サーバーから Web タイプの更新のエラーが返されたことを示しています。
ciscoasa# show ddns update interface outside
Dynamic DNS Update on outside:
Update Method Name Update Destination
test not available
Last Update attempted on 09:01:52.729 UTC Mon Mar 23 2020
Status : Failed
Reason : Server error (Error response from server)
次の例は、IP アドレスが設定されていないか DHCP 要求が失敗したために、Web 更新がまだ試行されていないことを示しています。
ciscoasa# show ddns update interface outside
Dynamic DNS Update on outside:
Update Method Name Update Destination
test not available
Last Update Not attempted