0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

ipconfig /flushdns がフリーズする

Last updated at Posted at 2021-09-21

ipconfig /flushdns がフリーズするとき

背景

「DNSリゾルバーキャッシュ」を長年フラッシュせずに、Windowsを使い続けていたところ、突然「DNSクライアント」機能が全く動かなくなった。「DNSリゾルバーキャッシュをフラッシュしたら直るかも」ということで、「ipconfig /flushdns」を実施するも、途中でフリーズして完了しない。

対策

DOS窓を「管理者モード」で開いて、

C:\Users\XXXX>ipconfig /flushdns

がいつまで経っても完了しない。このとき、タスクマネージャを起動して、「サービスホスト:DNS Client」を強制終了すると、サクッと終った。

C:\Users\XXXX>ipconfig /flushdns
DNS リゾルバー キャッシュは正常にフラッシュされました。

たぶん「DNS Client」がいじわるしてたかんじ。お疲れ様でした。

教訓

  • Windowsの「DNSクライアント」機能は突然動かなくなる(致命的)。
  • 定期的に「DNSリゾルバーキャッシュ」を削除するほうが良さそう。
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?