First of all, I’ve never used Bind and just want to make sure of what it does: I can use it if I want to get rid of dyndns.com service, for example, right? To point the nameserver to the same machine (IP) where the site is?!
Well, if Yes, it means I’m on the right way. The problem is I’m confused - the Bind DNS panel looks complicated and, since finally I’ve set up the server to run smoothly and fast, I don’t dare to mess with Bind DNS.
I’d like to know if someone can provide a step-by-step tutorial on how to do this, or a link to such a tutorial, for noobs. Only the basic steps, what exactly needs to be done to get it right; if I do this, I can adventure further and change, if needed, the more advanced settings.
My server, if it matter, runs on Centos 5, I have the latest Webmin/Virtualmin updates, Bind is 9.3.6 - currently stopped. I’m using the dyndns.com service and I’d like very much to stop paying them that’s why, if I can, I’ll use Bind to do the trick. So, my registrar point to dyndns servers right now.
Btw, if you don’t know an address to Bind setup tutorial for Centos but you’d like to help me and write it yourself here, please make sure is explicit and easy to follow, for idiots (ie me) - all those master zones, slave zones, forward zones, clients, clusters say nothing to me … or nothing I can understand.
Thanks for reading and hope you can help, too.
Cheers!
Under Virtualmin - System Settings - Server Templates - choose your template like default
Drop down menu, choose BIND DNS Domain
Enable - Add nameserver record for this system
Master DNS server hostname
Enable Hostname and fill in your preferred hostname for bind. I choose ns1.izicompany.com
I have 2 other nameservers on other servers though. You would probably want 2 nameservers on the same box.
OK, thanks for the help. Before I’ll start, I just want to make sure of something:
the netmask (pic 1.png) is 255.255.255.0, not 255.255.254.0, like in your tutorial - does it matter?
About the Bind DNS template, can I have 2 nameservers for all the domains, right? If so, where to I add them, the “Master DNS server hostname” form field only allows one entry?
Also, do I need to create the subdomains (ns1.domain.com) in virtualmin, too?
Fixed. doxfer.com is now doxfer.webmin.com (somebody sniped our doxfer.com domain a few years ago, when I was off-the-grid for a while and didn’t see the email come in about it expiring).