【FortiGate】DNS キャッシュをクリアする方法

ファイアウォール(UTM)

作業環境

  • 型番: FortiGate 60E
  • バージョン: 6.4.5

DNS キャッシュをクリアする方法

以下のコマンドを実行します。

  • diagnose test application dnsproxy 1
FGT60E # diagnose test application dnsproxy 1
worker idx: 0

DNS キャッシュの表示

  • diagnose test application dnsproxy 7
FGT60E # diagnose test application dnsproxy 7
worker idx: 0
vfid=0, name=login.microsoftonline.com, ttl=42:18:1776
         20.190.166.130 (ttl=42) 40.126.38.20 (ttl=42) 20.190.166.129 (ttl=42) 40.126.38.18 (ttl=42) 20.190.166.66 (ttl=42)
         40.126.38.16 (ttl=42) 20.190.166.65 (ttl=42) 40.126.38.23 (ttl=42)
vfid=0, name=login.windows.net, ttl=27:3:1776
         40.126.38.23 (ttl=28) 40.126.38.65 (ttl=28) 40.126.38.16 (ttl=28) 40.126.38.18 (ttl=28) 20.190.166.65 (ttl=28)
         20.190.166.130 (ttl=28) 40.126.38.20 (ttl=28) 40.126.38.128 (ttl=28)
vfid=0, name=login.microsoft.com, ttl=10:0:1772
         40.126.37.4 (ttl=5) 20.190.165.22 (ttl=5) 40.126.37.0 (ttl=5) 40.126.37.5 (ttl=5) 40.126.37.6 (ttl=5)
vfid=0, name=gmail.com, ttl=209:71:1662
         172.217.175.101 (ttl=209)
CACHE num=4

その他の DNS 関連コマンド

  • diagnose test application dnsproxy <オプション番号>

オプション番号一覧は以下の通りです。

1. Clear DNS cache
2. Show stats
3. Dump DNS setting
4. Reload FQDN
5. Requery FQDN
6. Dump FQDN
7. Dump DNS cache
8. Dump DNS DB
9. Reload DNS DB
10. Dump secure DNS policy/profile
11. Dump Botnet domain
12. Reload Secure DNS setting
13. Show Hostname cache
14. Clear Hostname cache
15. Show SDNS rating cache
16. Clear SDNS rating cache
17. DNS debug bit mask
99. Restart dnsproxy worker

参考資料

DNS troubleshooting | Administration Guide

―――――――――――――

タイトルとURLをコピーしました