Naujiena sandėlyje: Momentinio paruošimo Bare Metal tipo serveriai jau Nyderlanduose! Užsisakykite dabar.

Žinynas

How to set Google DNS in a Windows dedicated server? Spausdinti

  • 0

Configuring Google DNS on your Windows dedicated server can improve DNS resolution speed and enhance the reliability of your network. Google's DNS servers are known for their performance, security, and high availability, making them a popular choice for server administrators. This guide will walk you through the steps to set up Google DNS on your Windows-based dedicated server.

 

Prerequisites

 

- A dedicated server running a Windows Server operating system (e.g., Windows Server 2016, 2019, 2022).

- Remote Desktop access to the server with administrative privileges.

 

Step 1: Access Your Server via Remote Desktop

 

1. Open Remote Desktop Connection:

   - On your local machine, search for "Remote Desktop Connection" in the Start menu and open the application.

 

2. Connect to Your Server:

   - Enter your server’s IP address or hostname in the "Computer" field and click "Connect."

   - Provide your administrator username and password when prompted.

 

Step 2: Open Network and Sharing Center

 

1. Access the Control Panel:

   - After logging in, click on the Start menu and search for "Control Panel."

   - Open the Control Panel from the search results.

 

2. Navigate to Network and Sharing Center:

   - In the Control Panel, click on "Network and Internet," and then select "Network and Sharing Center."

 

3. Access Adapter Settings:

   - In the Network and Sharing Center, click on "Change adapter settings" on the left-hand side.

 

Step 3: Configure Network Adapter to Use Google DNS

 

1. Identify the Active Network Adapter:

   - In the Network Connections window, identify the network adapter currently being used by your server (usually labeled as "Ethernet" or "Local Area Connection").

 

2. Open Properties of the Network Adapter:

   - Right-click on the active network adapter and select "Properties" from the context menu.

 

3. Modify IPv4 Settings:

   - In the Properties window, scroll down and click on "Internet Protocol Version 4 (TCP/IPv4)" to highlight it.

   - Click on the "Properties" button.

 

4. Set Google DNS as Preferred DNS Server:

   - In the IPv4 Properties window, select "Use the following DNS server addresses."

   - Enter the following Google DNS addresses:

     - Preferred DNS server: 8.8.8.8

     - Alternate DNS server: 8.8.4.4

 

5. Save and Apply Changes:

   - After entering the DNS addresses, click "OK" to close the IPv4 Properties window.

   - Click "Close" on the adapter’s Properties window to apply the changes.

 

Step 4: Verify DNS Configuration

 

After setting up Google DNS, it's important to verify that the configuration is working correctly.

 

1. Open Command Prompt:

   - Click on the Start menu, type "cmd," and press Enter to open the Command Prompt.

 

2. Test DNS Resolution:

   - In the Command Prompt, type the following command to test DNS resolution:

     nslookup google.com

 

   - If the command returns an IP address for `google.com`, then the DNS configuration is successful.

 

Step 5: (Optional) Set Google DNS for IPv6

 

If your server uses IPv6, you can also configure Google DNS for IPv6.

 

1. Modify IPv6 Settings:

   - In the network adapter Properties window, select "Internet Protocol Version 6 (TCP/IPv6)" and click on "Properties."

 

2. Set Google DNS for IPv6:

   - Select "Use the following DNS server addresses" and enter the following addresses:

     - Preferred DNS server: 2001:4860:4860::8888

     - Alternate DNS server: 2001:4860:4860::8844

 

3. Save and Apply Changes:

   - Click "OK" to save the settings, then close the adapter’s Properties window.

 

Conclusion

 

By following these steps, you've successfully configured Google DNS on your Windows dedicated server. This setup can lead to faster and more reliable DNS queries, contributing to better overall server performance. Always remember to test your configuration to ensure it's working as expected. If you encounter any issues, you can revert the changes by setting the DNS servers back to their previous values or using automatic DNS configuration.


Ar šis atsakymas buvo naudingas?

« Atgal