How To Change Dns Ip Address Linux Command

RegisterLogin
How To Change Dns Ip Address Linux Command
Post Description: How To Change Dns Ip Address Linux Command
Tags: How, To, Change, Dns, Ip, Address, Linux, Command
This Post Was Posted On Apr 20, 2008 By malkos #909
i would like to know what command i need to use to change the dns ip address on my dedicated server i leased from you. it was installed with linux redhat

i was able to login to the shell through ssh but i dont know how to approach this..

thanks
Leave Your Comments
Rosa
#9873 1
you must use root type vim /etc/resolv.conf
it will show
# Generated by NetworkManager
nameserver

so you can change dns ip in nameserver and then please restart your network by command /etc/init.d/network restart
Jul 28, 2012 Reply Report abuse
unix guy
#1160 2
you need to edit this file:

/etc/resolv.conf

i have red hat fedora and i use this to edit this file:

nano /etc/resolv.conf


hope that helps
Feb 17, 2010 Reply Report abuse
Eddie
#9418
This is what I always use and no problems so far
Feb 01, 2012 Report abuse
Sandy
#4749 3
vi /etc/resolv.conf save and exit then restart network services
Jan 10, 2011 Reply Report abuse
Mehmet
#3785 4
i also want to know:d i cannot reach youtube
Apr 17, 2010 Reply Report abuse
permanent
#3766 5
show me permanand change ip linux
Apr 13, 2010 Reply Report abuse
webune
#3479 6
you enter it in /etc/resolv.conf file
Feb 17, 2010 Reply Report abuse
tomas
#3478 7
where do you enter dns ip in linux
Feb 17, 2010 Reply Report abuse
samsam25
#2833 8
can you show me how to change dns server from command for linux please
Nov 16, 2009 Reply Report abuse
yandi
#2689 9
is this really the linux command change dns servers?
Oct 29, 2009 Reply Flagged!
steveharis
#1163 10
how to set dns server ip in linux?
Jul 31, 2009 Reply Report abuse
shakals
#1162 11
what i need to konw is how to change dns address in linux with command?
Jul 23, 2009 Reply Report abuse
nikhil gupta
#1161 12
nice post...but if you want a more easier way then go to this link...it helped me

http://www.techviolation.com/how-to-change-dns-server-settings/
Jul 14, 2009 Reply Report abuse
Leave Your Comments...
©2012 Webune Forums - Sat Jul 28, 2012 12:29 pm
Powered by: Webune Forums V3