Friday, August 17, 2012

how to change dns server in ubuntu

Type the following command, enter:
$ sudo gedit /etc/resolv.conf
then replace nameserver x.x.x.x
with nameserver your DNS
then check it by typing
$ ping google.com

0 comments:

Post a Comment

gotta some thing to say ?

Note: Only a member of this blog may post a comment.