Portal Home > Knowledgebase > Articles Database > Name Servers SSH


Name Servers SSH




Posted by IFeelYourPain, 05-13-2010, 07:17 PM
How can I create a ns through ssh?

Posted by cloudvps, 05-13-2010, 07:58 PM
can you please elaborate a bit on what are you trying to achieve ?

Posted by Anthony, 05-13-2010, 08:18 PM
If you are asking about DNS, you would need to install bind. If you are wanting to add resolvers edit /etc/resolv.conf

Posted by cloudvps, 05-13-2010, 08:27 PM
If you are installing on RH or CentOS you need also install bind caching only server which is a separate package: yum install caching-nameserver bind

Posted by IFeelYourPain, 05-13-2010, 10:05 PM
Ok, so basically. I have a godaddy account. From there I added a host of my IP address and made two ns servers. ns1.mydomain.com and ns2.mydomain.com so from there do I just add my domain and ipaddress to the resolv.config I've installed bind just in case the resolv was not what I was suppose to do. Last edited by IFeelYourPain; 05-13-2010 at 10:09 PM.

Posted by Echelon, 05-13-2010, 10:18 PM
http://www.wains.be/index.php/2007/1...dns-with-bind/ If you're using CentOS on the vps, this will walk you through the process for the most part.

Posted by IFeelYourPain, 05-13-2010, 10:44 PM
im using virtuozzo

Posted by Anthony, 05-13-2010, 11:49 PM
OK, use the guide that Ryan posted. You need to login to SSH and configure this, or you can hire a management company to do this for you.

Posted by IFeelYourPain, 05-14-2010, 11:23 AM
it doesnt seem to show me how to create two ns servers. Just one ns.domain.com How would I go about creating ns1.consolediscussions.com for 174.121.226.11 and ns2.consolediscussions.com for my second ip 174.121.226.12

Posted by webangel_ie, 05-14-2010, 02:36 PM
the second server should be 1) on the separate machine 2) preferably in different datacenter 3) have a bind configured in the slave mode for that domain if you put bind slave in google you will find plenty of examples.

Posted by IFeelYourPain, 05-14-2010, 09:13 PM
After using the above as the .db file and starting name: service named start It said OK, so does that mean it's enabled?

Posted by ramsh, 05-15-2010, 01:08 PM
The db zone file is fine for this. But you need to modify the IPs in your domain registrar. Otherwise it wouldn't work.

Posted by Mormegil, 05-15-2010, 09:37 PM
My best recommendation, read: http://www.amazon.com/DNS-BIND-5th-C...3973848&sr=8-1

Posted by webhostingextras, 05-15-2010, 09:40 PM
I believe this can be done with BIND. Sometimes your hosting provider may offer this as well.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
UK Reseller accounts (Views: 679)
Reseller Question (Views: 701)