How To Setup Change Edit DNS Nameservers Linux Command Shell
how to setup change edit dns nameservers linux command shell
how, to, setup, change, edit, dns, nameservers, linux, command, shell
How To Setup Change Edit DNS Nameservers Linux Command Shell
Post Description: how to setup change edit dns nameservers linux command shell
POST# 1008
Posted On: Fri Feb 29, 2008 12:01 pm
web hosting
Topic: How To Setup Change Edit DNS Nameservers Linux Command Shell
the file to chanage or edit your nameservers in debian is this one:

/etc/resolv.conf

for example if i wanted to change my nameservers for my server to be these two:
206.12.23.13
206.12.24.13

i would send this command:
nano etc/resolv.conf


now i would make change the contents to look something like this:

search
nameserver 206.12.23.13
nameserver 206.12.24.13


now save the file and restart your network

/etc/init.d/networking restart


if you need to change hostname, you can follow this link:

Next: Set Hostname


No Repies
(0) Comments for How To Setup Change Edit DNS Nameservers Linux Command Shell

What do you think?

* name:  

* email:  

* Please enter comments:


Receive Replies on my Comments
(An email will be sent to you when someone replies to your comments)

Add image to comments
yes no             upload