BIND DNS Server - set up tutorial

  • wattaman
  • 09/24/08
  • Offline
Posted: Mon, 2011-09-12 00:00

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!


you can read about BIND here

  • ronald
  • 12/20/07
  • Offline
  • Mon, 2011-09-12 02:14

you can read about BIND here http://doxfer.com/Webmin/BINDDNSServer to understand what it does.

However basically virtualmin will do it for you once the IP is provided. There are many topics about it in this forum though.


Hmmm... made me more confused

  • wattaman
  • 09/24/08
  • Offline
  • Mon, 2011-09-12 04:18

Hmmm... made me more confused - do you know about a smaller tutorial? Just the basic step-by-step guide? Thanks!


Add IP's in webmin -

  • ronald
  • 12/20/07
  • Offline
  • Mon, 2011-09-12 17:01

Add IP's in webmin - Networking - Network Configuration
Network Interfaces
eth0 Ethernet 213.163.82.71 255.255.254.0
eth0:1 Ethernet (Virtual) 213.163.82.72 255.255.254.0
Host Addresses
213.163.82.72 ns1.izicompany.com , ns1

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.

  • wattaman
  • 09/24/08
  • Offline
  • Mon, 2011-09-12 22:01

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?

Thanks again!