How do I clear DNS cache in Windows 11 if websites are not loading correctly?

Qasim Tech 0 Reputation points
2026-07-27T09:44:43.78+00:00

I'm having a strange issue on my Windows 11 PC. A few websites don't load properly, while others work without any problem. My internet connection seems fine, and the same websites open on my phone using the same Wi-Fi.

I read that clearing the DNS cache might help, but I'm not sure if that's the right first step or if I should check something else before doing that.

Has anyone experienced a similar issue? What would you recommend trying first?

Thanks in advance.

Windows for home | Other | Internet and connectivity
0 comments No comments

1 answer

Sort by: Most helpful
  1. DaveM121 914.7K Reputation points Independent Advisor
    2026-07-27T10:16:49.18+00:00

    Click your Start Button, type cmd and choose Command Prompt

    Run this command and hit Enter:

    ipconfig /flushdns

    Run this command and hit Enter:

    ipconfig /registerdns

    Run this command and hit Enter:

    netsh winsock reset

    Run this command and hit Enter:

    netsh int ip reset

    Close Command Prompt

    Open the Settings App

    Go to Network and Internet

    Click the Network Reset button

    Wait for your PC to automatically restart after 5 minutes, do not manually restart your PC.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.