These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for how to: ns1 & ns2 on the new forum.
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
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
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.
Other docs on the topics of BIND and Webmin and Virtualmin:
http://doxfer.com/Webmin/BINDDNSServer
http://doxfer.com/Webmin/BINDTroubleshootingTools
http://www.virtualmin.com/documentation/id,dns_slave_auto-configuration_...
--
Check out the forum guidelines!
thanks Joe
- ZB
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.