The error "tracert unable to resolve target system name" occurs when the tracert (or traceroute on Linux/Mac) command is unable to resolve the hostname or domain name you provided to its corresponding IP address.

Possible Causes

Incorrect Hostname or Domain Name

The hostname or domain name you entered is misspelled or invalid.

DNS Resolution Issues

The system cannot resolve the hostname to an IP address because of a DNS configuration problem.

Network Connectivity Problems

Your computer cannot connect to the internet or to a DNS server.

Expired or Non-Existent Domain

The domain name may have expired or is not registered.

Firewall Restrictions

A firewall may be blocking DNS queries or the tracert command.

Steps to Resolve the Issue

Verify the Hostname or Domain Name

  • Double-check the hostname or domain name for typos.
  • Example of valid usage:
  • tracert example.com
  • Incorrect Usage: Including http:// or https://:
  • tracert http://example.com # Invalid

Test DNS Resolution

  • Use the ping command to check if the hostname resolves to an IP address:
  • ping example.com
  • If ping also fails, the issue is likely related to DNS.

Use an IP Address Instead

  • If the hostname cannot be resolved, try the tracert command with an IP address:
  • tracert 8.8.8.8
  • If this works, the issue is with DNS resolution for the domain name.

Flush DNS Cache

Clear your local DNS cache to resolve potential conflicts.

Windows:

  1. Open Command Prompt as Administrator.
  2. Run:
  3. ipconfig /flushdns

Mac:

  1. Open Terminal.
  2. Run:
  3. sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder

Linux:

  1. Open Terminal.
  2. Restart the DNS service:
  3. sudo systemctl restart systemd-resolved

Change DNS Server

If the issue persists, switch to a reliable public DNS server like Google DNS or Cloudflare DNS.

Steps to Change DNS in Windows:

  1. Go to Control Panel > Network and Sharing Center > Change Adapter Settings.
  2. Right-click your active network connection and select Properties.
  3. Select Internet Protocol Version 4 (TCP/IPv4) and click Properties.
  4. Use these DNS server addresses:
    • Google DNS: 8.8.8.8 and 8.8.4.4
    • Cloudflare DNS: 1.1.1.1 and 1.0.0.1

Check Internet Connectivity

  • Ensure your computer is connected to the internet:
  • Open a browser and try accessing a website like https://google.com.

Check Firewall or Antivirus Settings

  • Ensure your firewall or antivirus is not blocking the tracert command or DNS traffic.

Verify the Domain Status

  • Use an online tool like WHOIS Lookup to check if the domain is active or expired.

Use an Online Traceroute Tool

Example Scenarios and Fixes

  1. Misspelled Domain Name:
    • Command: tracert exapmle.com
    • Fix: Correct the spelling to tracert example.com.
  2. DNS Issue:
    • Command: tracert example.com fails.
    • Fix: Flush DNS cache and switch to Google DNS.
  3. Firewall Blocking Tracert:
    • Command: Tracert fails for all domains.
    • Fix: Temporarily disable the firewall and try again.

Additional Tools for Troubleshooting

  1. nslookup:
    • Check if the domain resolves to an IP address:
    • nslookup example.com
  2. dig (Linux/Mac):
    • Query DNS servers for the domain:
    • dig example.com
  3. Check Logs:
    • Review system logs for DNS or connectivity errors.