To change the DNS server to Google, you need to follow these steps:
Step 1: Right-click on the internet connection icon and open "Network & Internet settings".
Step 2: In the window that opens, click on "Change adapter options".
Step 3: Select the network you are connected to. This could be either "Ethernet" or "Wi-Fi". Right-click on it and select "Properties".
Step 4: Highlight "Internet Protocol Version 4 (TCP/IPv4)" and click "Properties".
Step 5: In the new window, select "Use the following DNS server addresses:" and set the parameters to 8.8.8.8 and 8.8.4.4 (Google DNS), or 1.1.1.1 and 1.0.0.1 (Cloudflare DNS). To apply the settings, click "OK".
To revert the changes, select "Obtain DNS server address automatically".