- Forums
- Linux Hosting
- How To Change Dns Ip Address In Linux
This Page Will Show You About Changing The Dns Ip Address In Linux Command Shell Console Prompt Terminal [1287], Last Updated: Mon Jun 24, 2024
Webune Support
Mon Oct 19, 2009
0 Comments
408 Visits
hello, welcome to Webune Support Forums. If you have purchased a dedicated server from Webune, you are probably wondering how you can change your DNS ip setting through the linux command line..
this is a frequenctly asked question, so we are going to address it today.
first, open a SSH session and login as with your root password.
the DNS settings are located in the following file:
nano etc/resolv.conf
all you have to do to change it is edit this file with whatever DNS server you want to setup your server with. so edit the file, just execute this command:
SHELL COMMAND:
nano etc/resolv.conf
Hope that helps
Webune Support Team