wget: unable to resolve host address ‘dl.grafana.com’的解決方法

wget 下載軟件報錯:
錯誤如下:
在這裏插入圖片描述
解決方式:
登入root(VPS)。
進入/etc/resolv.conf。
修改內容爲下
nameserver 8.8.8.8 #google域名服務器
nameserver 8.8.4.4 #google域名服務器

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章