How to configure the DNS settings on Inspur server?

Nov 29, 2026

Leave a message

Ava Davis
Ava Davis
Ava is a product manager at Hebei Natcon. She is in charge of expanding our product line. With her forward - thinking and market insights, she continuously introduces new and improved products to meet the ever - changing industry needs.

Configuring DNS settings on an Inspur server is a crucial task that ensures seamless network communication and efficient access to various online resources. As a trusted Inspur server supplier, I understand the importance of proper DNS configuration and its impact on server performance. In this blog, I'll guide you through the process of configuring DNS settings on Inspur servers, using some popular models like the Inspur Server NF5266 M6, NF5280 M6, and NF8480 M6 as examples.

Understanding DNS and Its Importance

Before diving into the configuration process, it's essential to understand what DNS (Domain Name System) is and why it matters. DNS is like a phonebook for the internet. It translates human - readable domain names (such as www.example.com) into IP addresses (such as 192.0.2.1) that computers can understand. When you enter a domain name in your web browser, the DNS server resolves that name to the corresponding IP address, allowing your computer to connect to the correct server.

Proper DNS configuration on your Inspur server ensures that it can communicate effectively with other devices on the network and access external resources. Incorrect DNS settings can lead to slow network performance, inability to access certain websites, or even security vulnerabilities.

Prerequisites

Before you start configuring the DNS settings on your Inspur server, make sure you have the following:

Inspur Server NF5266 M6 high qualityInspur Server NF5266 M6 suppliers

  1. Administrative access: You need administrative privileges to make changes to the server's network settings.
  2. DNS server addresses: You should have the IP addresses of the DNS servers you want to use. These can be provided by your Internet Service Provider (ISP) or a public DNS service like Google DNS (8.8.8.8 and 8.8.4.4) or Cloudflare DNS (1.1.1.1 and 1.0.0.1).
  3. Basic knowledge of network configuration: Familiarity with network concepts such as IP addresses, subnets, and gateways will be helpful.

Configuring DNS Settings on Inspur Servers

The process of configuring DNS settings may vary slightly depending on the operating system installed on your Inspur server. Here, we'll cover the configuration steps for two common operating systems: Linux and Windows Server.

Configuring DNS on Linux - based Inspur Servers

Most Inspur servers running Linux use the NetworkManager service to manage network connections. To configure DNS settings, follow these steps:

  1. Edit the network configuration file:
    • Open a terminal and use a text editor (such as nano or vim) to edit the network configuration file. The location of this file may vary depending on the Linux distribution. For example, on CentOS and RHEL, the file is usually /etc/sysconfig/network - scripts/ifcfg - eth0 (replace eth0 with the actual network interface name).
    • Add or modify the DNS1 and DNS2 lines to specify the IP addresses of your DNS servers. For example:
    DNS1=8.8.8.8
    DNS2=8.8.4.4
    
  2. Restart the network service:
    • After saving the changes, restart the network service to apply the new DNS settings. On CentOS and RHEL, you can use the following command:
    sudo systemctl restart network
    
  3. Verify the DNS configuration:
    • You can use the nslookup or dig command to verify that the DNS settings are working correctly. For example, to check if you can resolve the domain name google.com, run the following command:
    nslookup google.com
    
    If the DNS settings are configured correctly, you should see the IP address of google.com in the output.

Configuring DNS on Windows Server - based Inspur Servers

If your Inspur server is running Windows Server, you can configure DNS settings through the Network Connections interface. Here's how:

  1. Open the Network Connections window:
    • Press the Windows key + R, type ncpa.cpl, and press Enter. This will open the Network Connections window.
  2. Select the network connection:
    • Right - click on the network connection you want to configure (usually Ethernet) and select "Properties".
  3. Configure DNS settings:
    • In the Properties window, select "Internet Protocol Version 4 (TCP/IPv4)" and click "Properties".
    • Select "Use the following DNS server addresses" and enter the IP addresses of your DNS servers in the "Preferred DNS server" and "Alternate DNS server" fields.
    • Click "OK" to save the changes.
  4. Verify the DNS configuration:
    • Open a Command Prompt and run the nslookup command to test the DNS settings. For example:
    nslookup google.com
    
    If the DNS settings are correct, you should see the IP address of google.com in the output.

Troubleshooting DNS Configuration Issues

Sometimes, you may encounter issues with DNS configuration on your Inspur server. Here are some common problems and their solutions:

  1. Unable to resolve domain names:
    • Check if the DNS server addresses are correct. You can try using public DNS servers like Google DNS or Cloudflare DNS to see if the problem persists.
    • Make sure the network connection is working properly. You can try pinging the DNS servers to check if they are reachable.
  2. Slow DNS resolution:
    • This could be due to a slow DNS server or network congestion. Try using a different DNS server or contact your ISP to check if there are any network issues.
  3. DNS cache issues:
    • On Windows servers, you can flush the DNS cache by running the following command in a Command Prompt with administrative privileges:
    ipconfig /flushdns
    
    On Linux servers, you can restart the nscd (Name Service Cache Daemon) service to clear the DNS cache:
    sudo systemctl restart nscd
    

Conclusion

Configuring DNS settings on your Inspur server is a relatively straightforward process, but it's crucial for ensuring optimal network performance. By following the steps outlined in this blog, you can easily configure DNS settings on both Linux and Windows Server - based Inspur servers.

As an Inspur server supplier, we are committed to providing high - quality servers and comprehensive support to our customers. If you are interested in purchasing an Inspur server or need further assistance with DNS configuration or any other server - related issues, please feel free to contact us for a detailed discussion. We look forward to helping you meet your server needs.

References

  • "Linux Network Configuration Guide", various Linux distribution documentation.
  • "Windows Server Network Configuration", Microsoft official documentation.
Send Inquiry
Contact usif have any question

You can either contact us via phone, email or online form below. Our specialist will contact you back shortly.

Contact now!