The error "Unable to resolve target system name" in the tracert (or traceroute on Linux/Mac) command occurs when the system cannot resolve the hostname or domain name provided to its corresponding IP address.
Possible Causes
Incorrect Hostname or Domain Name
The domain name entered is incorrect or does not exist.
DNS Resolution Issues
The system cannot resolve the hostname to an IP address due to DNS configuration problems.
Network Connectivity Problems
The system cannot connect to the DNS server to resolve the hostname.
Firewall or Security Restrictions
The traceroute command is blocked by firewall rules or network policies.
Expired Domain
The domain name provided may no longer be active or registered.
How to Fix the Issue
Verify the Domain or Hostname
- Ensure the domain or hostname is typed correctly.
- Example:
- Incorrect usage:
- Fix: Remove http:// or https://.
tracert example.com
tracert http://example.com
Test DNS Resolution
- Use the ping command to check if the system can resolve the hostname:
- If this also fails, there is likely a DNS issue.
ping example.com
Use an IP Address Instead
- If the hostname cannot be resolved, use the server IP address directly:
tracert 192.168.1.1
Check Your Internet Connection
- Ensure the system has an active internet connection.
- Test by accessing a known website like google.com.
Flush DNS Cache
Clear your system DNS cache to resolve possible conflicts.
On Windows:
- Open Command Prompt as Administrator.
- Run:
ipconfig /flushdns
Change DNS Server
If the issue persists, try using a public DNS server like Google DNS or Cloudflare DNS.
- Google DNS:
- Primary: 8.8.8.8
- Secondary: 8.8.4.4
- Cloudflare DNS:
- Primary: 1.1.1.1
- Secondary: 1.0.0.1
Steps to Change DNS (Windows):
- Go to Control Panel > Network and Sharing Center > Change adapter settings.
- Right-click on your active network and select Properties.
- Select Internet Protocol Version 4 (TCP/IPv4) and click Properties.
- Enter the public DNS server addresses.
Check the Firewall
- Ensure your firewall or antivirus software is not blocking tracert.
- Temporarily disable the firewall to test if it resolves the issue.
Verify Domain Status
- Use a tool like WHOIS Lookup to check if the domain is still active.
Example Fix Scenarios
- Typo in Domain Name:
- Command: tracert exapmle.com
- Fix: Correct the spelling to example.com.
- DNS Issue:
- Command: tracert example.com fails.
- Fix: Switch to Google DNS and try again.
- Blocked by Firewall:
- Command: tracert returns "Unable to resolve".
- Fix: Temporarily disable the firewall and test.
Testing Tools
- DNS Lookup Tools:
- Use nslookup to manually check DNS resolution:
nslookup example.com - Online DNS Tools:
- MXToolBox or DNS Checker to verify DNS records.
- Online Traceroute Tools:
- Use services like Traceroute Online to test the route from an external location.


