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

Помог ли вам данный ответ? 0 Пользователи нашли это полезным (0 голосов)