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

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

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

Post 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
Last edited by Chris Corbyn on Mon Dec 19, 2005 9:51 am, edited 1 time in total.
redmonkey
Forum Regular
Posts: 836
Joined: Thu Dec 18, 2003 3:58 pm

Post 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.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post 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 :)
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post 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/)
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post 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.
endorphine44
Forum Newbie
Posts: 3
Joined: Wed Jan 04, 2006 1:19 pm

a little late but...

Post 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.
Post Reply