[wuug-list] [wuug-forum] ezod: Re: local dns server setup

Windsor UNIX Users Group mavrinac at gmail.com
Thu Jun 21 11:59:41 EDT 2007


Author: ezod
Username: ezod (d38-232-186.home1.cgocable.net)
Subject: Re: local dns server setup
Forum: Software
Link: http://www.wuug.org/read.php?13,24,27#msg-27
Approved: Yes

I'm doing essentially the exact same thing with my Linksys WRT54G running OpenWrt (Linux). It does precisely what you're looking for.

You do need that local domain search stuff above in your DHCP server, but you also need your DNS server to have entries for your local machines, which is a hassle to maintain manually, especially if you're allocating IPs from a dynamic range or you frequently have new computers (friends' laptops and such) on the network.

OpenWrt uses a DNS/DHCP server called dnsmasq which is designed for just this purpose and does it all automagically. I don't know the precise details but it looks like it takes the hostname field of the DHCP request (or the hostname field from the static DHCP entry) and generates a DNS table entry for the host (with the associated IP, of course, being the IP the DHCP server assigned).

Check it out: http://wiki.openwrt.org/OpenWrtDocs/dnsmasq

I'd imagine ClarkConnect would have something similar, but I've never used it...



More information about the wuug-list mailing list