EGOPOLY

Topics include: programming, Apple, Unix, gadgets, large-scale web sites and other nerdy stuff.

How to setup a local DNS server (idiot's version).

2006-09-27 18:02:27

I like to maintain my own DNS on my home network. So I can give all the machines fixed IP addresses and nice names. It makes file sharing between machine easier, and, of course, lets me ssh around more easily.

The problem is that I'm too much of an idiot to figure out how to set up a bind/named config from scratch. I don't do it very often, and each time it seems like bind has radically changed the way it works. So I spend hours cobbling together a named.conf and zone files, and finally it works.

This time, I went looking for a GUI DNS config tool, just to get myself going. I want to get the thing started, then I could edit the config files myself to change and add A records and CNAMES. I ended up using gbindadmin. As a productivity/maintenance tool, it's terrible: you can't change A records or CNAMES once you put them in, for example. But it got my config going in just a few minutes, and that's what I was looking for.

Now that I have a new bind running on my ubuntu machine, I can decommission my ancient slackware server and use it for something else. Or at least wipe it out and bring it up with ubuntu or centos.