Background Image

Blog Post

修改 /etc/resolv.conf 的 DNS IP
Jul 05

修改 /etc/resolv.conf 的 DNS IP


step 1 . vim /etc/dhcp/dhclient.conf
檔案內增加 
supersede domain-name-servers 8.8.8.8;

step 2 .
sudo dhclient -r && sudo dhclient

Back   
 
We're sorry. New comments are no longer being accepted.
1 person will be notified when a comment is added.
Would you like to be notified when a comment is added?
Please login or register first.