Example: After logging in to Linux, ping the external IP address displays normally, but ping the domain name prompts that it cannot be resolved or reached

Solution: Edit vi/etc/resolv.conf

Add the following:

search localdomain

nameserver 8.8.8.8

nameserver 114.114.114.114

Was this answer helpful? 0 Users Found This Useful (0 Votes)