Page 1 of 1

[SOLVED] DNS and BIND -- I'm going Nuts

Posted: Wed Dec 14, 2005 6:46 pm
by Chris Corbyn
Anyone know any good tutorials for learning how to understand and configure BIND9 for DNS?

I've been reading articles found on Google all night and they all jump straight in at the deep end with example config files that go right over my head :(

I'm actually trying to configure PowerDNS but using a BIND backend although that doesn't make any difference since I still need to figure out what I'm doing.

The server works fine since it successfully resolves example.com as it should be anything I try to set up myself just fails :cry:

Fingers crossed,

d11

Posted: Wed Dec 14, 2005 7:53 pm
by redmonkey
Don't know of any decent tutorials but if you want to PM me (or post) your current config and any questions I may be able to help.

Posted: Thu Dec 15, 2005 6:29 am
by Chris Corbyn
redmonkey wrote:Don't know of any decent tutorials but if you want to PM me (or post) your current config and any questions I may be able to help.
Thanks for the offer, I'll keep trying myself... I think I'm getting somewhere with this on the Gentoo Forums ;)

It's quite a huge thing to learn (at least it appears that way but maybe it'll "click" shortly)... I'd just brushed over it in the past but now I plan to host my own DNS (only for myself/clients) I need to understand it as much as I can :)

Posted: Thu Dec 15, 2005 4:34 pm
by timvw
Last time i configured bind (8.3 or 8.4) was around 2000.. I remember it was a pita.. I also remember that you need to end names with . otherwise the zone name is appended... (And then i had to patch bind so it would find it's data in an ldap tree instead of config files..)

I started by looking up a coupe of examples, added the zonefiles to my named.conf and restarted bind (didn't know there where tools to dynamically update bind config)


Example and explanation of zonefile: http://www.zytrax.com/books/dns/apa/zones.html
Generator for zonefiles: http://pgl.yoyo.org/adservers/bind-zone ... reator.php


Most people i know tell me they find djbdns way easier to configure and use (also read http://www.lifewithdjbdns.com/)

Posted: Mon Dec 19, 2005 9:51 am
by Chris Corbyn
Thanks for reading this :)

I find this is how I learn best. After much playing around I finally got it working for an arbitrary domain.

Once I'd got that working I simply used the same zone file as a template for my other domains and the stuff in the zone files all makes sense now. Not sure I could write one from memory though :?

AutoDNS rocks for managing the slave DNS too :)

Cheers guys.

a little late but...

Posted: Wed Jan 04, 2006 1:22 pm
by endorphine44
It's probably a little late to help you but someone else browsing this topic might find it useful.

http://www.comptechdoc.org/os/linux/man ... rvers.html

I used this guide with webmin on fedora core 4 to get BIND DNS working. I had tried for a week to configure the files myself with no luck. Now it works like a champ.