LMSouq
server-admin Open

Linux command line error message: Temporary failure in name resolution

NI
Nicolai Jacobsen
1 month ago
3 views
Problem Description
I'm getting error message "Temporary failure in name resolution" when trying to ping a domain name such as a website. When I ping a discrete IP address then ping works normally. ping: google.com: Temporary failure in name resolution This problem only happens when trying to ping a domain instead of an IP, so this seems to be a DNS problem. My `/etc/resolve.conf` specifies DNS server 127.0.0.57. After I added `nameserver 8.8.8.8` and restarted the service that seemed to fix the problem. However this may be only short term, it may break again, So I need a long term solution. If anyone has a solution to this issue, it could be awesome.

AI-Generated Solution

Powered by LMSouq AI · GPT-4.1-mini

✓ Solution Ready
Analyzing problem and generating solution…
Was this solution helpful?
Back to Knowledge Base