Domain name server ping nowhere, was able to ping ip

Foreword

Today, the company suddenly loses power, after the call, a network server suddenly not ping the domain name, but it can ping the ip. Baidu a moment later resolved here to do the next record.

solve

Adding DNS Configuration file

sudo vim /etc/resolv.conf
# 增加如下内容
nameserver 8.8.8.8
nameserver 8.8.4.4

 

Published 95 original articles · won praise 370 · views 180 000 +

Guess you like

Origin blog.csdn.net/HXNLYW/article/details/105141721