今天心血來潮打開了Windows store 安裝的Kali Linux才發現無法apt-get update,出現了標題的錯誤訊息,google了一下,原來改nameserver就搞定了,好像很短?但是我閱讀了好幾篇才找到解決的方法,所以還是要記一下
Edit the /etc/resolv.conf file and change it from:
nameserver 172.24.0.1
to:
nameserver 1.1.1.1
Or the IP of another DNS server of your choice.
留言