Lets first understandwhat is DNS.

This problem is related to the DNS options of your ISP or your rig.

Your wireless router may be the reason behind this problem.

If your web connection cable is not connected to your PC properly, it also can cause a problem.

Hardware or connection failures can also cause the DNS server not responding error.

Again sometimes any third-party antivirus, firewall, or wrong DNS configuration on Windows cause this issue.

Doing so refreshes your routers connection and clears minor glitches that might be causing the issue.

But sometimes these tools can be the reason why the internet not working on your system.

Lets temporarily deactivate your antivirus and firewall programs to check whether it restores your Internet connections on windows 11.

In addition, release the current IP configuration and request a new IP address form the DHCP server.

verify if the internet connection is restored and there is no more DNS server error.

Disable Proxy connection

Are you using a proxy connection Probably, that is the problem.

Lets Optimize it

Windows 11 KB5055523 Failed to install or stuck?