Sign In
Sign In

How to Fix "Server IP Address Could Not Be Found"

How to Fix "Server IP Address Could Not Be Found"
Awais Khan
Technical writer
DNS
05.03.2025
Reading time: 6 min

The "Server IP Address Could Not Be Found" error arises from DNS resolution problems, which hinder the system from converting domain names into their related IP addresses. Several factors produce this error: DNS configuration errors, server uptime instability, or server hardware problems. The identification of primary causes stands as the key to solving issues successfully.

If facing such an error, move to this blog to find out different solutions to identify and repair the issue. 

Solution 1: Stable Internet Connectivity

To start server access you must have a dependable internet connection. Utilize the procedure outlined below to ensure your connection stays stable.

  • Verify physical connectivity by inspecting cables and validating the chosen Wi-Fi network. Cables that become loose will produce connection issues.

  • Reboot your router or modem to address potential connectivity problems: power them down, wait ten seconds, then turn them back on. A stable connection can be restored by running this procedure which removes temporary connection glitches.

  • Evaluate the host using various devices like tablets, computers, or smartphones, to check if device compatibility is contributing to the issue.

  • Engage your ISP if you suspect they can assist in alleviating your connectivity woes.

Solution 2: Verify and Adjust DNS Settings

Network access can be disrupted by improperly configured DNS settings. Checking and tweaking your DNS settings can aid in identifying network issues and sustaining a consistent internet connection. To review and modify your DNS settings, adhere to these guidelines.

Use Default DNS Settings

Leveraging the default DNS configuration provides hassle-free and consistent network connectivity without extra configuration efforts. Here’s way to do it:

Windows

  • Access Control Panel via the Start Menu.

Image1

  • Select Network and Internet, then visit Network and Sharing Center.

Image3

  • Click Change adapter settings.

Image2

  • Right-click on the in-use network and delve into Properties.

Image5

  • Activate IPv4 and head to Properties.

Image4

  • Enable automatic DNS server address obtaining in the settings.

Image7

macOS

  • Enter System Preferences and explore the Network option.
  • Opt for an in-use network (Ethernet or Wi-Fi).
  • Opt for Advanced to open the DNS tab.
  • Verify DNS servers have an automatic configuration.

Utilize Public DNS Servers

The domain resolution services delivered by Google and Cloudflare maintain reliability together with high speed. Consider using these public DNS addresses: 

Google

  • Primary Address: 8.8.8.8

  • Secondary Address: 8.8.4.4

Cloudflare

  • Primary Address: 1.1.1.1

  • Secondary Address: 1.0.0.1

Flush DNS Cache

Connectivity problems can stem from faulty or outdated DNS records on someone’s system. Here’s the procedure to refresh the DNS cache:

Windows

  • Open Command Prompt with admin rights and execute: 

ipconfig /flushdns

Image6

macOS

  • Open Terminal and execute:

sudo killall -HUP mDNSResponder

Solution 3: Analyze the Host File

To fine-tune domain name lookups, the host file can be utilized to alter DNS settings, providing control over the domain-to-IP mapping. You can check and perform modification in the host file via following procedure:

Modify the Hosts File

  • Use Notepad for hosts files edits on Windows systems but users must select between Nano or Vi text editors for macOS/Linux platforms.
  • Each line of the file needs careful inspection to find any errors or incorrect access causing the issue.
  • After editing, save the changes and close the editor.

Reload DNS Service

Refreshing the DNS client service can alleviate DNS-related problems.

Windows

  • Launch Services Manager via Win + R, and enter services.msc.

Image9

  • Find DNS Client by scrolling down in the manager tab.

Image8

  • Right-click the Client and trigger a Restart.

macOS

  • Fire up the Terminal and apply:

sudo killall -HUP mDNSResponder

The command reinitializes mDNSResponder service, enabling the new DNS configuration updates to be implemented.

Solution 4: Examine Server Configuration

When issues persist, server configuration issues might be the culprit. To verify and correct server setup follow this procedure:

  • Check all DNS records of your domain for proper configuration. Digital DNS tools and Network Services Lookup tools can be used to verify that DNS records function correctly.

  • The server firewall requirements must include DNS traffic authorization. Modify firewall settings to enable DNS query transmission if needed.

  • Performing a server restart of DNS services will rectify any configuration issues, resulting in improved connectivity. Run below command to restart the named service on a Linux server.

sudo systemctl restart named

Solution 5: Update Network Drivers

The IP address error can frequently be attributed to network drivers that are either obsolete or corrupted. A possible fix for such an issue is to simply update the network drivers.

Windows

  • Hit Win + X and launch Device Manager through the list.

  • Open the Network Adapters options using dropdown arrow.

Image12

  • Right-click the driver, move to Update driver, then pick Search automatically for drivers. Follow the steps to finalize the update.

Image10

macOS

  • Launch System Preferences, move to Software Update, and confirm if there are any updates.
  • Kick off the installation by clicking Update Now.

Solution 6: Clear Browser Cache

The browser cache can hinder DNS resolution, generating issues. Wiping the browser cache may help fix your error.

Google Chrome

  • After launching Chrome, click on the three vertical dots in the upper-right corner.
  • Access Settings, find Privacy and Security, and opt for Clear browsing data.
  • Go with All Time, mark the option Cached images and files, and select Clear now.

Image11

Solution 7: Use Troubleshooter

Most distributions are equipped with network troubleshooters that help you detect and fix connectivity issues. Here's how to use it:

Windows

  • Open the Settings by hitting Win + I.

Image13

  • From Update & Security, pick Troubleshoot → Additional troubleshooters.

Image14

  • Move to Internet Connections:

Image15

  • Launch the troubleshooter:

Image16

macOS

  • Access System Preferences and move over to Network.
  • Pick the Help Me options and select Diagnostics.
  • Follow the on-screen prompts to run the network diagnostics.

Solution 8: Check for Malware

Viruses or malware may hinder DNS resolution, triggering connectivity problems. Conducting a malware scan could help detect and remove any harmful software. Here's how to run a malware scan:

Windows

  • Open Settings to locate Update & Security followed by Windows Security to access Windows Defender.

Image17

  • Check for viruses with Virus & Threat Protection and then select between Quick Scan and Full Scan as detection methods.

Image18

macOS

  • Leverage dependable antivirus software to scan for potential malware and viruses.
  • Adhere to the software's instructions to carry out a full system scan and eliminate any detected threats.

Conclusion

By following the instructions in this article, you'll be able to pinpoint and fix the "Server IP Address Could Not Be Found" error. Essential actions include DNS setup verification, host file check for inconsistencies, restarting critical services, upgrading network drivers, clearing cached data in a browser, and utilizing built-in network troubleshooting tools. Each of these actions addresses particular connectivity issue reasons, ensuring a comprehensive method for maintaining smooth network access. Keeping your server's IP address readily discoverable is important for uninterrupted connectivity and reliable access to your services.

DNS
05.03.2025
Reading time: 6 min

Similar

Network

A Complete Guide to the nslookup Command in Linux and Windows

The nslookup command is a widely used tool for querying Domain Name System (DNS) records. It helps network administrators troubleshoot DNS-related issues by allowing them to perform a range of lookups, from finding IP addresses associated with domain names to querying specific DNS servers. This tutorial will guide you through the basics of using nslookup on both Linux and Windows platforms. In this tutorial, you will learn: Basic syntax and options of nslookup How to perform simple DNS queries Retrieving mail exchange (MX) records Performing reverse DNS lookups Querying specific DNS servers Using non-interactive mode By the end of this tutorial, you will be familiar with the most common and useful nslookup commands for effective DNS troubleshooting. Basic Syntax and Options for nslookup The basic syntax for the nslookup command is straightforward: nslookup [options] [domain] Here is a breakdown of the commonly used options: No parameters: Opens an interactive mode where you can enter multiple queries [domain]: Performs a DNS lookup for the specified domain name -type=[record_type]: Specify the type of DNS record to query (e.g., A, MX, AAAA, etc.) [server]: Specify a DNS server for querying instead of using the default system server For example: nslookup example.com This command performs a DNS lookup for "example.com" using your default DNS server. Common Options for nslookup -query=A: Query the IP address (default record type) -query=MX: Retrieve mail exchange records -query=AAAA: Query for IPv6 addresses -timeout=[seconds]: Set a timeout for the response -debug: Show detailed information about the query process How to Perform a Simple DNS Query One of the most common uses of nslookup is to resolve domain names to IP addresses. Step-by-Step Guide to Performing a Simple DNS Query Open the terminal or command prompt. Type the nslookup command followed by the domain name: nslookup google.com Output: In this example, the DNS server at 8.8.8.8 (Google's public DNS server) returned the IP address 142.250.65.238 for google.com. Using nslookup to Retrieve MX Records The mail exchange (MX) records for a domain indicate which mail servers are responsible for receiving emails on behalf of that domain. To retrieve the MX records using nslookup: Use the -type=MX option to specify that you want to retrieve MX records.     nslookup -query=MX gmail.com The output will list the MX records, including the mail servers and their priority: Server: 8.8.8.8 Address: 8.8.8.8#53 Non-authoritative answer: gmail.com mail exchanger = 20 alt2.gmail-smtp-in.l.google.com.. gmail.com mail exchanger = 10 alt1.gmail-smtp-in.l.google.com. In this case, the mail servers for gmail.com are listed along with their priorities. The lower the number, the higher the priority. Performing Reverse DNS Lookups A reverse DNS lookup translates an IP address back to its associated domain name. This is useful for identifying the domain that corresponds to a given IP address. To perform a reverse DNS lookup, input the IP address into the nslookup command: nslookup 142.250.65.238 The output should display the domain name associated with the IP: Non-authoritative answer: 238.65.250.142.in-addr.arpa name = lga25s73-in-f14.1e100.net. In this example, the IP 142.250.65.238 resolves back to lga25s73-in-f14.1e100.net, which is part of Google's infrastructure. Querying Specific DNS Servers By default, `nslookup` uses the system's configured DNS server to perform queries. However, you can specify a different DNS server if needed. To query a specific DNS server, append the server's IP address to the command: nslookup example.com 1.1.1.1 The command will query the 1.1.1.1 DNS server (Cloudflare's DNS) for the domain example.com: Server: 1.1.1.1 Address: 1.1.1.1#53 Non-authoritative answer: Name: example.com Address: 93.184.215.14 This allows you to test DNS resolution from different servers. Using Non-Interactive Mode in nslookup In non-interactive mode, you can issue multiple queries without entering nslookup's interactive shell. This is useful when scripting or automating tasks. To use nslookup non-interactively, simply pass the domain name and the server (optional) in one command: nslookup example.com 8.8.8.8 The response will be printed directly, without entering the interactive shell: Server: 8.8.8.8 Address: 8.8.8.8#53 Non-authoritative answer: Name: example.com Address: 93.184.215.14 This method is efficient when you need to quickly query DNS records without additional input. Conclusion The nslookup command is a powerful and flexible tool for performing DNS queries. Whether you're troubleshooting domain resolution, retrieving MX records, or performing reverse lookups, nslookup is an essential command for network administrators. By mastering the options and syntax, you can use nslookup effectively on both Linux and Windows systems. To recap, here’s what we covered in this tutorial: Performing simple DNS queries Retrieving MX records Conducting reverse DNS lookups Querying specific DNS servers Using non-interactive mode
18 October 2024 · 4 min to read

Do you have questions,
comments, or concerns?

Our professionals are available to assist you at any moment,
whether you need help or are just unsure of where to start.
Email us
Hostman's Support