- Forums
- Tutorial and Guides
- How To Enter Dns Ip Addresses In Linux Servers
This Page Contains information about How To Enter Dns Ip Addresses In Linux Servers By Webune in category Tutorial and Guides with 0 Replies. [714], Last Updated: Mon Jun 24, 2024
Webune
Tue Sep 29, 2009
0 Comments
497 Visits
welcome to webune web hosting. we specialize in dedicated linux hosting.
one of the most popular questions we get is: "how to enter DNS ip addresses in Linux servers?"
Many of our Webune Customer rely on our support for their success.
if also want to know how you can enter DNS ip addresses in Linux servers, we will show you how.
first, login to your ssh accoun into your linux server, once you are in the shell, be sure you are logged in as super user or root.
the file that contains the configuration for you DNS server is located at: /etc/resolv.conf, so we want to edit this file. to edit the file, we are going to use nano. we like using nano instead of VI because its easier to use. but if you are more confortable using VI, than by all means use VI. so to edit the resolv.conf file send this command:
nano /etc/resolv.conf
there you will see something like this:
nameserver 127.0.0.1
nameserver 205.189.97.1
nameserver 205.189.97.2
search localdomain
options rotate
search exaple.com
;File created by the fix_resolve step of ProvisionManager.
;File created by the fix_resolve step of ProvisionManager.
all you have to do i change or add your nameservers
thats it