インターネットサーフィン中に問題に直面していますか(Are)?到達しようとしているWebサイトが開かないのですか?Webサイトにアクセスできない場合、この問題の背後にある理由は、 DNSサーバーとその解決キャッシュが原因である可能性があります。
DNSまたはドメインネームシステム(Domain Name System)は、オンライン中の親友です。マシンが理解できるように、アクセスしたWebサイトのドメイン名をIPアドレスに変換します。Web(Suppose)サイトにアクセスし、そのドメイン名を使用してこれを行ったとします。ブラウザはDNS(DNS)サーバーにリダイレクトし、アクセスしているWebサイトのIPアドレスを保存します。ローカルでは、デバイス内にすべてのIPアドレスの記録が(record of all the IP addresses)あります。これは、アクセスしたWebサイトを意味します。Webサイトに再度アクセスしようとすると、以前よりも速くすべての情報を収集するのに役立ちます。
すべてのIPアドレスは、DNSリゾルバーキャッシュ(DNS Resolver Cache)にキャッシュの形式で存在します。時々、サイトにアクセスしようとすると、より速い結果を得る代わりに、まったく結果が得られないことがあります。したがって、ポジティブ出力を取得するには、リセットされたDNSリゾルバーキャッシュをフラッシュする必要があります。 ( Therefore, you need to flush the reset DNS resolver cache for getting the positive output. )DNSキャッシュが時間の経過とともにフェイルオーバーする原因となる一般的な理由がいくつかあります。WebサイトがIPアドレスを変更した可能性があり、レコードに古いレコードがあるためです。したがって、古いIPアドレスを使用している可能性があり、接続を確立しようとしているときに問題が発生する可能性があります。
もう1つの理由は、悪い結果をキャッシュの形で保存することです。DNSスプーフィング(DNS spoofing)やポイズニングが原因でこれらの結果が保存され、不安定なオンライン接続になることがあります。おそらくサイトは問題なく、問題はデバイスのDNSキャッシュにあります。DNSキャッシュが破損したり古くなったりして、サイトにアクセスできなくなる可能性があります。これのいずれかが発生した場合は、より良い結果を得るためにDNS解決キャッシュをフラッシュしてリセットする必要がある場合があります。
DNSリゾルバーキャッシュと同様に、デバイスには他に2つのキャッシュがあり、必要に応じてフラッシュおよびリセットできます。これらは、メモリキャッシュとサムネイルキャッシュです。(Memory cache and the Thumbnail cache.)メモリキャッシュは、システムメモリからのデータのキャッシュで構成されます。 サムネイル(Thumbnail)キャッシュには、デバイス上の画像とビデオのサムネイルが含まれ、削除されたもののサムネイルも含まれます。メモリキャッシュをクリアすると、一部のシステムメモリが解放されます。サムネイルキャッシュをクリアしている間、ハードディスクに空き容量を作ることができます。

Windows10で(Windows 10)DNSキャッシュ(DNS Cache)をフラッシュ(Flush)してリセット(Reset)する方法
Windows10で(Windows 10)DNSリゾルバーキャッシュをフラッシュするために適用できる3つの方法があります。これらの方法は、インターネットの問題を修正し、安定して機能する接続を支援します。
方法1:[実行]ダイアログボックスを使用する
1.ショートカットキーのWindowsキー(Windows Key)+ Rを使用して、[( R)実行(Run)]ダイアログボックスを開きます。
2.ボックスにipconfig /flushdnsOK ]ボタンまたは[ Enter ]ボックスを押します。
![ボックスにipconfigflushdnsと入力し、[OK]|[OK]をクリックします。 DNSキャッシュをフラッシュしてリセットする](https://lh3.googleusercontent.com/-jV2w96zmMnE/YZGb3ghzT1I/AAAAAAAANKo/cQ-8qmpHg3QrElF_XXntNaiA_uwhQoLigCEwYBhgLKtMDABHVOhysbsXm9iUvKTwZLDdan-9yqjqjEee0tchsgrdNO6LfVDGwSyjuFjQw9AjHSo8z2aLpulv6NSkWDLe0tBOzY8wzzbiJWJ0gg_Gvi3fExsctxqjzfcduPYM9aEU6Lru9642geMu2f0Agt45jM8impxHx9MtIkSEHhpD2fw1ayJVnLufiWbXoLu1LGfkJmeeBdgxL8BvvlVn3llCVjiNlRvnSHJ3SLjThUxg8breERRAOSsit_424xqo7rOhhRrHi11p16deJ6Ig6a_w-d6ul2miH0emmeHSbek2s2cdLVvYc-LmhZPWSj3MQkISYoiSjOaBHOFcBX1_bj8gnzupeskBRyjUG2SJpNnn9hfjEMQpcJygMWTTfQpnyXT6f_0sXq86dAE1KkPp4XlGxNsGJjtXv-s1lqG8izEL4C_SwqfgotANXfgn01Siy1vvbEZ9VQX0dLBwaFca4c-VIkd2DE4ARwFSgALlHKSC6kHnCRiYhbW7r_qQvSCGVtPF0UKE6_kQ7zkLLvFFLEaaKvfi_tqX8ayIdJOpm9jjlXKaBLDlLTmISr3aHm0oBQ5XefBIf4qmcBi7vDBlebtFevxIHP0kfBXc-dx1ZXLkOKnUSIbgwueDGjAY/s0/FdwLKBV_Id6ElGWnYK8pe_nXydQ.jpg)
3.コマンドボックス(cmd box)が画面にしばらく表示され、DNSキャッシュが正常にクリアされることを確認します。(the DNS cache will get successfully cleared.)

方法2:コマンドプロンプトを使用する
管理者アカウントを使用してWindows(Windows)にログインしない場合は、管理者アカウントにアクセスできることを確認するか、DNSキャッシュをクリアするために管理者権限が必要になるため、新しい管理者アカウントを作成してください。それ以外の場合、コマンドラインにシステム5エラー(System 5 error)が表示され、リクエストが拒否されます。
コマンドプロンプト(Command Prompt)を使用すると、 DNSキャッシュとIPアドレスに関連する他のさまざまな機能を実行できます。これには、現在のDNSキャッシュの表示、ホストファイルへの(DNS)DNSキャッシュの登録、現在のIPアドレス設定の解放、およびIPアドレスの要求とリセットが含まれます。1行のコードでDNSキャッシュを有効または無効にすることもできます。
1. Windowsの検索(Windows Search)バーにcmdと入力し、[管理者として実行(Run as administrator)]をクリックして、管理者特権のコマンドプロンプト(Command Prompt)を開きます。これらのコマンドを機能させるには、管理者としてコマンドラインを実行することを忘れないでください。(Remember)

2.コマンド画面が表示されたら、コマンドipconfig /flushdnsを入力し、Enterキーを押します。Enterキーを押すと、 DNS(DNS)キャッシュのフラッシュが成功したことを確認する確認ウィンドウが表示されます。

3.完了したら、DNSキャッシュがクリアされているかどうかを確認します。コマンドipconfig /displaydnsを入力し、Enterキーを押します。DNSエントリが残っている場合は、画面に表示されます。また、このコマンドをいつでも使用して、DNSエントリを確認できます。

4. DNS(DNS)キャッシュをオフにする場合は、コマンドラインにコマンドnet stop dns cacheと入力し、 (net stop dns cache)Enterキーを押します。

5.次に、 DNS(DNS)キャッシュをオンにする場合は、コマンドプロンプトにコマンド(Command Prompt)net start dnscacheと入力し、Enterキーを押します。
注:(Note:)DNSキャッシュをオフにして、再度オンにするのを忘れた場合は、システムを再起動した後に自動的に開始されます。

ipconfig /registerdnsを使用して、Hostsファイルに存在するDNSキャッシュを登録できます。もう1つはipconfig /renewで、これはリセットして新しいIPアドレスを要求します。現在のIPアドレス設定を解放するには、ipconfig /release.
方法3:WindowsPowershellを使用する
Windows Powershellは、 (Windows Powershell)WindowsOSに存在する最も強力なコマンドラインです。PowerShellを使用すると、コマンドプロンプト(Command Prompt)を使用するよりもはるかに多くのことができます。Windows Powershellのもう1つの利点は、クライアント側のDNSキャッシュをクリアできるのに対し、(DNS)コマンドプロンプトではローカル(Command Prompt)DNSキャッシュしかクリアできないことです。
1. [実行]ダイアログボックスまたはWindows検索(Windows search)バーを使用して、 WindowsPowershellを開きます。( Windows Powershell)
![検索バーでWindowsPowershellを検索し、[管理者として実行]をクリックします](https://lh3.googleusercontent.com/-E0d8P9M8AJk/YZMkVU8MBKI/AAAAAAAAfqs/vBb6VG8yh5cPwxEWqeoMc7UBHhIG1CwKgCEwYBhgLKtMDABHVOhz0Yv1aeBYkerQCB_m-YeLyTFOl3JarAk7ZvmmbmTWvUt9Yo5rcaOx8EetpKoEL5zdi6suJqUPqAMnxCNuWFELSyYPq9TGqd1jnPKxLLCNEoDi-ct7BqNP-qrbr-_RAl4PoEh475JURNwrog8TvSNIAwgKm8fv1N7Y0r_6nG4wQkDL6C8yGOReu2_Ysux0VBDtLMOjJWsbF9oOg8knIx0aNUu7iH9x6OAe5nc8qRJ9JAfDdFJmfsyBLbmby05oQAwRcYF061FhRQc169j-3E3ddF3CAISoZaxsVDG9lFLs98mBoKFMmsRq6iJFORCnOlZ4IsGocFYnRrZdUe-I4bTCtkcQ9hyQN2aHc_JtkDgLTnMCjw2C-kmdV5lhmq6SURgSQhsiwskhB0jsfLSu6fKpSmvjKtAimgTsvdxHIumJhgyKx-3RFlngT5244xJqqroLbFRwtwF6y_J_UJd60TlpZ9rUuI2n6rMQ6gXfesIgyHREDRQh69fCGUlcpsq2rkfglCulysq_MpkoHq7kYDJJ8xPwL3fJFE5QV81NicQe3qg9AZ13NyW4zD5VEu6yFe7b5GAzmw1OvfPHjCTW3Oj-ksy5LpuID3J49jsi5z10wzfrNjAY/s0/uFCHf6Bi_HmcZzkLukOSvpJZSfk.png)
2.クライアント側のキャッシュをクリアする場合は、PowershellでコマンドClear-DnsClientCacheを入力し、Enterボタンを押します。

3.デスクトップのDNSキャッシュのみをクリアする場合は、 Clear-DnsServerCacheと入力し、Enterキーを押します。

DNSキャッシュ(DNS Cache)がクリアまたはフラッシュされない場合はどうなりますか?
コマンドプロンプト(Command Prompt)を使用してDNSキャッシュ(DNS Cache)をクリアまたはリセットできない場合があります。これは、 DNSキャッシュが無効になっているために発生する可能性があります。したがって、キャッシュを再度クリアする前に、まず有効にする必要があります。
1. [実行(Run)]ダイアログボックスを開き、 services.mscと入力して、Enterキーを押します。

2.リストでDNSクライアントサービス(DNS Client Service)を検索して右クリックし、[プロパティ]を選択します。(Properties.)

4. [プロパティ]ウィンドウで、[(Properties)全般(General)]タブに切り替えます。
5. [スタートアップの種類(Startup type)]オプションを[自動]に設定し、[ (Automatic,)OK ]をクリックして変更を確認します。
![[全般]タブに移動します。 スタートアップの種類のオプションを見つけて、自動に設定します](https://lh3.googleusercontent.com/-KPoDtZu9V-w/YZHPSOUzT8I/AAAAAAAATUY/2Tr9x_C2hxsJendr98kdBvY52d4wjB4EQCEwYBhgLKtMDABHVOhxbJnhIqJP4jzjIWLMrnl7QBKGTw1b96TCsrSUcbf3DbyB7futpU1bI-cu7nrG_giV34r4PhiZF9C5DLYy3b9UG64e3MH8G4HuUjvOKUhb4td2E1YBlsu7tiwrMe_DS_8-_oZb4c9J7w5nPuamn0uxx8fT-fxDHkqul11QOMlud93xCjDkz8y1v6U-hWvPabeaXsOYXfWy_l1bq1EmkjpBuYWThceW_j3hRdq_H0OU8Q2VCdFktk9xfiDXwZrn1dv0Y3mtkGlh_S9bX8riDiD6ZB5rsQ6DtZKVphaNq4TvFvq0L_v7uD6iUnhXDu6zMs-xTs-9WoSqEb_VFm2joIGyK9msdb3DGw1_5ibt4WHRkoXEjmqcno2NUuxg8oeg8c3Jc6dIjTvHgWSDWXW373PWMMgYgx_M2SAirprA-stxMZmqNYC6GsumyvNASYajAfA_PXXv6ClwPYm5SoXgqIF80--xSY7kHKz9_yaHExBsOpaZ-hxDr378mgtyem1wJPxfxakeYxrAYpFhrYNKtYAiIllxrjy-pKqUF24xEYmpZH5zjjf2Wlhd0YCWJI6XmQLwGcELfQnhKSq1WNZPRlvw70IokAEmVTqMHMlrd4zgwiNTHjAY/s0/iLWPAm5Oh79sgYGZvwcjP8SLRN0.jpg)
ここで、 DNS(DNS)キャッシュをクリアしてみると、コマンドが正常に実行されていることがわかります。同様に、何らかの理由でDNSキャッシュを無効にする場合は、スタートアップの種類を[無効](Disable)に変更します。
おすすめされた:(Recommended:)
この記事がお役に立てば幸いです。Windows10でDNSキャッシュをフラッシュしてリセットする(flush & reset the DNS cache in Windows 10)ことができました。それでも質問がある場合は、コメントセクションでお気軽に質問してください。
How to Flush and Reset the DNS Cache in Windows 10
Are you facіng issues while surfing the internet? Does the website you are trying tо reach doesn’t open? If you’re unable to access the website then the reason behind thіs issue might be because оf the DNS server and its resolνing cаche.
DNS or Domain Name System is your best friend while you are online. It converts the domain name of the website you visited into IP addresses so that the machine can understand it. Suppose you visited a website, and you used its domain name for doing this. The browser will redirect you to a DNS server and it will store the IP address of the website you are visiting. Locally, inside your device, there is a record of all the IP addresses, meaning the websites you have visited. Whenever you try to re-access the website again, it will help you gather all the information faster than before.
All the IP addresses are present in the form of a cache in DNS Resolver Cache. Sometimes, when you try to access the site, instead of getting faster results, you get no result at all. Therefore, you need to flush the reset DNS resolver cache for getting the positive output. There are some common reasons which cause the DNS cache to fail over time. The website may have changed their IP address and since your records have the old records. And hence, you may have the old IP address, causing problems while you are trying to establish a connection.
Another reason is the storing of bad results in the form of a cache. Sometimes these results get saved due to DNS spoofing and poisoning, ending up in unstable online connections. Maybe the site is fine, and the problem is in the DNS cache on your device. The DNS cache can get corrupt or outdated and you may not be able to access the site. If any of this has happened, then you may need to flush and reset your DNS resolve cache for better results.
Just like DNS resolver cache, there are two other caches present on your device, which you can flush and reset if needed. These are the Memory cache and the Thumbnail cache. Memory cache comprises a cache of data from your system memory. Thumbnail cache contains the thumbnails of the images and videos on your device, it includes the thumbnails of deleted ones also. Clearing the memory cache frees some system memory. While clearing the thumbnail cache can create some free room on your hard disks.

How to Flush and Reset the DNS Cache in Windows 10
There are three methods applicable for flushing your DNS resolver cache in Windows 10. These methods will fix your internet problems and help you with a stable and working connection.
Method 1: Use the Run Dialog Box
1. Open the Run dialog box using the shortcut key Windows Key + R.
2. Type ipconfig /flushdns in the box and hit the OK button or the Enter box.

3. A cmd box will appear on the screen for a moment and will confirm that the DNS cache will get successfully cleared.

Method 2: Using Command Prompt
If you don’t use an administrative account to login to the Windows, then make sure you have access to one or you create a new administrative account as you will require admin rights to clear the DNS cache. Else, the command line will show System 5 error and your request will get denied.
Using Command Prompt you can perform various other functions related to DNS cache and your IP address. These include viewing the current DNS cache, registering your DNS cache on host files, releasing the current IP address settings and also requesting & resetting the IP address. You can also enable or disable DNS cache with only one line of code.
1. Type cmd in Windows Search bar then click on “Run as administrator” to open the elevated Command Prompt. Remember to run the command line as an administrator for making these commands work.

2. Once the command screen appears, enter the command ipconfig /flushdns and hit the Enter key. Once you hit Enter, you will see a confirmation window appear, confirming the successful DNS cache flushing.

3. Once done, verify if the DNS cache is cleared or not. Enter the command ipconfig /displaydns and hit the Enter key. If there are any DNS entries left, they will get displayed on the screen. Also, you can use this command anytime to check the DNS entries.

4. If you want to turn off the DNS cache, type in the command net stop dns cache in the command line and press the Enter key.

5. Next, if you want to turn on the DNS cache, type the command net start dnscache in the Command Prompt and press the Enter key.
Note: If you turn off the DNS cache and forget to turn it on again, then it will automatically start after you restart your system.

You can use ipconfig /registerdns for registering the DNS cache present on your Hosts file. Another one is ipconfig /renew which will reset and request a new IP address. For releasing the current IP address settings, use ipconfig /release.
Method 3: Using Windows Powershell
Windows Powershell is the most powerful command line present on the Windows OS. You can do much more with PowerShell than you can do with the Command Prompt. Another advantage of Windows Powershell is you can clear client-side DNS cache while you could only clear local DNS cache in Command Prompt.
1. Open Windows Powershell using the Run dialog box or the Windows search bar.

2. If you want to clear the client-side cache, enter the command Clear-DnsClientCache in Powershell and hit the Enter button.

3. If you want to clear just the DNS cache on your desktop, enter Clear-DnsServerCache and hit the Enter key.

What if the DNS Cache is not getting cleared or flushed?
Sometimes, you may not be able to clear or reset DNS Cache using the Command Prompt, it may happen because the DNS cache is disabled. So, you need to first enable it before clearing the cache again.
1. Open the Run dialog box and enter services.msc and hit Enter.

2. Search for DNS Client Service in the list and right-click on it and select Properties.

4. In the Properties window, switch to the General tab.
5. Set the Startup type option to Automatic, and then click on OK to confirm the changes.

Now, try to clear the DNS cache and you will see that the command is running successfully. Similarly, if you want to disable the DNS cache for some reason, change the startup type to Disable.
Recommended:
We hope this article was helpful and you were able to flush & reset the DNS cache in Windows 10. If you still have any questions then feel free to ask them in the comment section.