Configuring BIND using Webmin

In my efforts to set up a DNS server properly, with a zone for my own local domain, I have found that Webmin is quite useful, or rather the module for maintaining the BIND configuration (package webmin-bind).

I was getting initially confused by zone files, and where the webmin module is handy is getting the file started, and probably avoiding a number of commmon syntax problems. Also, if you need to update the zone configuration that is also very easy.

However, I find that in this case the module could be a little more helpful in describing what it's doing. In general Webmin modules assume a lot of knowledge about configuration parameters with little description about what they actually do. For inexperienced users, some help on each configuration page would be beneficial, while experienced users could just turn it off. Also, for actually setting things up, a wizard-like process could be set up where the user is guided through a task over several pages. Aside from the ease-of-use element, such an arrangement may help avoid errors in configuration even for experienced administrators, and that would be particularly useful for something as fiddly as BIND.

Incidentally, I did a quick search to see if there were some other tools for configuring BIND via web interface and found PHP Bind on sourceforge - which is unfortunately just a PHP class that hasn't been updated since December 2000. More promising is this class, and there is also a sample application available on the page. Overall, it seems that there aren't really any other tools to help administer BIND that I can find.

No votes yet

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

BIND Sucks (aka "Configuring BIND")

I hate BIND. Don't get me wrong, it's powerful and complex software that generally works very well. And I have a clue about just how much magic goes into making DNS work.

But configuring BIND just sucks. It sucks bad.

I don't use Webmin for such tasks, but one easy solution to create a simple BIND zone is this web site.

out of date docs

The documentation seems to be about 6 years out of date and BIND doesn't even behave as described in the documentation anymore. It seems to be one of those things that no one bothered to document because everyone who sets it up and follows the mailing lists over the past 10 years knows all there is to know about it. I wonder if the O'Reilly BIND book has more updated info... I might take a quick peek at one next time I'm in a bookshop. It seems there aren't many bookshops in Canberra though - which makes sense because this is a know-all town.

I'm still not sure if I've

I'm still not sure if I've done it correctly though. Computer names are resolving ok, but I can't get an answer with nslookup when querying the local domain.

Also, using ping on Debian I can only get it to work with fully qualified domain names, where in the windows console ping works with the hostname, and brings back the fully qualified name.

Jamie Cameron's Webmin book has a large section on BIND, which may also be of use in understanding how to do it. It's probably just one of those things where understanding gradually builds over several years...

Actually, it seems I forgot the reverse lookup zone entirely, putting the reverse mapping records in the forward mapping zone...

Hooray

Glad you found it useful.

Syndicate content