Home > Article > Computer Tutorials > How to solve win11 DNS server error
We need to use the correct dns when connecting to the Internet to access the Internet. In the same way, if we use the wrong dns settings, it will prompt a dns server error. At this time, we can try to solve the problem by selecting to automatically obtain dns in the network settings. Let’s take a look at the specific solutions.
Method 1: Reset DNS
1. First, click Start in the taskbar, find and click " Settings icon button.
2. Then click the "Network & Internet" option command in the left column.
3. Then find the "Ethernet" option on the right and click to enter.
4. After that, click "Edit" in the DNS server assignment, and finally set DNS to "Automatic (DHCP)"
Method 2: Network Troubleshooting
Search for "Network Troubleshooting" on the "Settings" page , and then use this function to detect the network condition. If there is a problem, click "Automatic Repair".
Method 3: Refresh the DNS cache
1. Press the "Win R" key, enter "cmd", and press OK or Enter. The command prompt window page will open.
2. Enter "ipconfig /flushdns". If successful, there will be a prompt message "DNS resolution cache has been successfully refreshed"
3. After clearing all DNS cache information, enter the following again Command to check
ipconfig /displaydns Display the contents of the DNS resolver cache
ipconfig /flushdns Clear the DNS resolver cache
ipconfig /renew Update the IPv4 address of the specified adapter
ipconfig /registerdns Refresh all DHCP leases and re-register DNS names
4. If the message "Unable to refresh DNS resolution cache" is prompted. During execution, if there is a function problem, it is usually because the local DNS Client service did not start normally.
5. We only need to open "Service-DNS Client" during operation and restart it.
The above is the detailed content of How to solve win11 DNS server error. For more information, please follow other related articles on the PHP Chinese website!