how to: ns1 & ns2

6 posts / 0 new
Last post
#1 Wed, 06/18/2008 - 07:26
zulkhaery

how to: ns1 & ns2

Hi,

I have server under debian with ip: 202.xxx.xxx.12, hostname: mydomain.net also i got 2 ip: 202.xxx.xxx.13 & 202.xxx.xxx.14 from my isp.

I want to use ns1.mydomain.net and ns2.mydomain.net as name server for another domain. what should i do, please help me.

I have follow the instruction here: http://www.beer.org.uk/bsacdns/ & here: http://forums.devshed.com/dns-36/setting-up-dns-using-webmin-406190.html and here: http://itmission.org/Main/How-to-Setup-your-own-primary-and-secondary-na... but its make me confused, each other different.

best regards,

Zulkhaery B

Wed, 06/18/2008 - 10:09
andreychek

Howdy,

Yeah, setting up DNS servers can be tricky, and there's a number of "correct" ways to do it, which is probably why you're seeing such variety in the documents you're reading.

First off, I might suggest O'Reilly's DNS and BIND book, which is pretty good at getting folks up to speed with all the DNS intricacies.

For what you're asking for above, since I assume you're setting this all up on a box running Webmin, you might find it easier to go through a tutorial that uses Webmin to setup BIND, rather than doing it manually (that said, it's always good to understand how to do it manually, which the above book can help with ;-)

This HOWTO looks pretty good:

http://rimuhosting.com/support/bindviawebmin.jsp

As that HOWTO mentions, you'd ideally have two separate servers each with their own IP -- but a lot of folks run one server with two IP's, and point both NS1 and NS2 at the same server.

The HOWTO will walk you through setting up the DNS records on your server (using Webmin), as well as registering the nameservers with your domain name registrar.

Good luck!
-Eric

Wed, 06/18/2008 - 11:46 (Reply to #2)
ronald
ronald's picture

in addition, if your registrar does not have a service to register your (IP's for the) nameservers, then you can point all the records to your server.

Namecheap.com let's you register nameservers if you had your domain there.

Thu, 06/19/2008 - 14:20 (Reply to #3)
Thu, 06/19/2008 - 23:05 (Reply to #4)
zulkhaery

thanks Joe

- ZB

Wed, 06/18/2008 - 21:34
zulkhaery

thanks for help,
i refer to this posting http://www.virtualmin.com/forums/help-home-for-newbies/create-name-serve..., and at this time,very helpfull for me.

Topic locked