Power cycle your router and modem by unplugging them for thirty seconds. You should see a confirmation message indicating that the resolver cache was successfully flushed.
Prevent Future DNS Issues
The good news is that most DNS problems are solvable with a systematic approach and a clear understanding of how the resolution process works. Understanding How DNS Resolution Works Before diving into fixes, it helps to understand the lookup chain that happens every time you type a URL into your browser.
Power cycling your router refreshes the connection to your ISP and clears any corrupted local cache that might be holding onto incorrect address information. Over time, this cache can become corrupted or outdated, especially if a website has recently changed its IP address.
Prevent Future DNS Issues
Flushing this cache forces your device to query the internet for fresh records, which often resolves the "website not found" error. On Linux If you are using a systemd-resolved service, the command is usually sudo systemd-resolve --flush-caches.
More About How to fix dns issue
Looking at How to fix dns issue from another angle can help expand the discussion and give readers a second clear paragraph under the same section.
More perspective on How to fix dns issue can make the topic easier to follow by connecting earlier points with a few simple takeaways.