After setting the static IP, Ubuntu forgets to set DNS. An error is reported when pinging: name or service not known
Just add DNS
vi /etc/resolv.conf nameserver 8.8.8.8 nameserver 8.8.4.4
Similar Posts:
- Temporary failure in name resolution solution when Ubuntu installs essential (GCC)
- Workaround for “could not retrieve mirrorlist” during Yum installation
- Running ntpdate reports an error: temporary failure in name resolution
- “ping: unknown host www.baidu.com “Problem solving
- wget: unable to resolve host address
- ping: www.baidu.com : unknown name or service. Linux cannot access the Internet
- CentOS ping www.google.com Error: name or service not know
- [Solved] Yum command error: could not retrieve mirrorlist http://mirrorlist.centos.org…
- ping: www.bing.com: Temporary failure in name resolution
- LINUX: How to Fix Ping Warning unknown host www.google.com