how to change dns

Hello!
I am newbie to opensuse and linux.I am using opensuse 11.4 64 bit kde. I want to change dns to google dns.I search it with google ,but I still don’t know how to change dns.
Could anyone give me a step-by-step tutorial.
I am sorry my english is very poor.
Thanks for any response.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yast: Networking: Hostname and DNS stuff: Name server

Put in the IP address of the desired DNS server (8.8.8.8 or 8.8.4.4 for
one of Google’s).

Good luck.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJO8cpjAAoJEF+XTK08PnB5PVcQALULaVmUYtzjIxnTITPDwDMP
QhK9PZDgJxw23Bgca8JhIJ13eKcLM6v5oXC9ljDPHPmfl7A5eg5Z5zLZd18cFMrz
0cmewG3JKUKDHKhftnrG0jvf0lv+P56cMm/PkKMFgwu/IZoNAgX7MqDqxtAOP+Wv
NDZaRAWDKSVfL2ULBf6nUiy5XoCvovGnNBgzq/2yif9me8WfxZAflCQ/snRKEG9p
hWBVXtRBZU1i4lQ9il/8486Fi0+ASDZD3PVBV3fgjiGsf87vNWlsluQD4v3XyEX9
sdAG4q3GV5C0nsGgxuGTl1P+RpRgI4yroB8ERzP9iOZ5nZlla7zc2kFs4K5Z4xUx
+eYeFFDuC4OKlUqdgenRn2c0iampxtEu7gwRibF8pYO8nw9DiNfKratMIHimSu2P
FTfirl2qwyYyaHO5nidW0l6szMHbS/O7KT+2qlDp+xBH9SC4IeuTVwj3UmEe0+ug
NZSSHcGcyGa/Wl7OnKDRN7lo9aGHkctHBK1uPjFdurGX8tV/TpZbaFeGlsbNghXG
y8KXBxCcvFrW/A8ISsDxDRcf0Kzr1PGAmbccnqjQpw3igupcHIIZwcu0PEjhAwzw
JWK6uqzKrGD8a+btI+eVSSdo4ymCEvPz9NbPelIpfg4dO5H3y3Y8I40G9FZa0Tqi
lR25lQOEHetRqds2Q9tz
=5DL5
-----END PGP SIGNATURE-----

You should be able to configure DNS settings in your router.
Typically it will be on some kind of auto setting, which may depend on your ISP and if you have static or dynamic IP

On 12/21/2011 12:46 PM, lonfory wrote:
> Could anyone give me a step-by-step tutorial.

you need to edit your /etc/resolve.conf to point to 8.8.8.8 and 8.8.4.4
instead of whatever they are looking at now

i can’t give you a step-by-step because the steps are different
depending on if you use kde or gnome or xfce or lxde or some other
desktop environment…or no desktop environment…

for KDE press and hold Alt and then press F2, in the resulting popup
near the top type in and enter “kdesu kwrite” (without the “”) and then
give root password when asked… a root powered kwrite will popup, so
you navigate to /etc/resolve.conf open it and you will see a huge scary
warning…below that you might see something like


search somewhere.com site
nameserver 192.164.1.1
nameserver 208.67.282.222
nameserver 208.67.220.210

suggest you edit to something like


search somewhere.com site
#nameserver 192.164.1.1
#nameserver 208.67.282.222
#nameserver 208.67.220.210
nameserver 8.8.8.8
nameserver 8.8.4.4

for gnome/xfce/lxde and other the way to open a root powered file editor
changes…in gnome it is “gnomesu kwrite” but i have no idea abou the
other desktops…and, for a text only use mc or vim…

after making the edit the system will complain (during boot up) that
resolve.conf has been manually changed…but, it will not stop or cause
problems…


DD http://tinyurl.com/DD-Caveat
openSUSE®, the “German Engineered Automobiles” of operating systems!

Hello!!
Thanks for your response.Problem has benn solved by what DenverD(4#) post.
when I open network setting ,a window pop-up tell me that network setting is controlled by knetworkmanager and can’t edit by YsST.I can’t edit dns with YaST

Hello!
I am able to configure dns in my router.But ,four people include me use one router ,change router in router will affect others.So I want change dns only in my computer.
With my ISP’s DNS,if I type a wrong domain name such as www.bfegfdsfsfl.com,it will redirect me to ISP’s home page ,full of ADs.I don’t like that.
Problem has benn solved by what DenverD(4#) post.
Thanks for you response!

Solved ,Thank you!

On 12/22/2011 01:56 AM, lonfory wrote:
> Solved ,Thank you!

good for you! (welcome)


DD
openSUSE®, the “German Engineered Automobiles” of operating systems!