View Full Version : Bind config question

05-28-2005, 04:57 PM
This isn't specifically for Mac, but it's for Linux, which is very much Unix related, so I figured I'd put a post here and see if anyone has any information.

I'm trying to set up a home router with Gentoo Linux. So far I have everythign done but I have been having non-stop troubles getting Bind configured properly. Does anyone know of any good howto sites or just general documentation on Bind?

I don't know too much about network topology other than the basics, so most of the docs on Bind's web site were over my head.

Thanks much for any information you have!

05-28-2005, 05:07 PM
BIND stinks.

use tinydns:


05-28-2005, 05:47 PM
Hmm, it looks nice. They have really easy to read documentation on how to set up tinydns exactly as I'm going to need it on my router. So what's the catch? Is it lacking anything compared to BIND? Is it less secure (I would find that hard to believe since BIND tends to have a lot of security holes)?

05-28-2005, 06:00 PM
No catch.

It is bulletproof, there's a third party patch if you need IPv6 and it just works.

I run it on my linux-rootserver in a colo and only tinker with it to add new domain-data.

05-28-2005, 07:32 PM
Ok, so I followed the procedure found here (http://gentoo-wiki.com/HOWTO_Setup_a_DNS_Server_with_DJBDNS) and it's not working. I also checked the docs on the site you listed, but I'm not sure quite how to follow them. I only have one server (set up as my router), so I'll be hosting the cache and the dns on it. I'm a little confused as to which link takes precedence for /service. I'm guessing that since the Gentoo-wiki doc has it set to the dns, then the cache isn't running properly and therefore I can't resolve any addresses. Any ideas?

05-28-2005, 07:53 PM
That's indeed not intuitive.

You need to run both tinydns and dnscache for your setup.

If there was only one more site to read, it's here:


For specific problems, the ML (on djbs site) is great, but only ask smart questions (like in thinking about it real hard at least half an hour after having both read and understood documentation and source code) or you might get unfriendly reactions.

The cutest site about djbdns is unfortunately gone now:


Yet another FAQ and the IPv6 patch here:


05-29-2005, 06:52 AM
(Moved to coat room)

05-30-2005, 08:55 PM
voldenuit, thanks for all the information. I'm still having problems getting dns to work, but I haven't had much of a chance to play with it since Saturday. I'll keep reading through those sites and see what I can do.

Thanks, Jayson