On Sat, 21 Jul 2007 14:06:05 -0400, Randy Yates wrote:
> I'm using Fedora Core 6.
>
> I have not be using any DNS so far for systems on my local home network,
> instead just using the local private network IP address directly
> (192.168.x.y).
>
> I also have a Linksys router configured to dynamically assign my home
> network IP address via DHCP. I have two FC4 and one FC6 computers on the
> network.
>
> However, this is a pain since, occasionally, maybe once every 6 months
> or so, my IP addresses get shuffled. Then I have to go modify everything
> that relies on the IP addresses.
>
> I considered starting the named service on one of my systems and then
> modifying the /etc/resolv.conf files, as suggested in a book, but then I
> still have to update the IP address in the /etc/resolv.conf files for
> every non-nameserver system when the IP addresses change.
>
> Is there a better way that's still easy and local (i.e., I don't want to
> have to go buy a domain name)?
I really, really like pdns -
http://www.phys.uu.nl/~rombouts/pdnsd.html
You run it as your 'DNS' server. It lets you have your private stuff in
/etc/hosts and then it goes to a 'real' dns if it doesn't find a match in
your /etc/hosts file. PLUS... if you have a DNS that is there under
certain conditions ( my VPN is enabled for instance... ) then it will use
the DNS when it's available.
So... with my setup I have all of my local 'private.net' machines
listed in my /etc/hosts file... things like
www.yahoo.com get resolved
from my verizon DNS that pdnsd.conf points to and IF my VPN link is
active,
www.work.net resolves using the 'ns.work.net'... other wise
www.work.net does not resolve... and since I can't get there without the
VPN active.. I don't need to resovle the work.net addresses....
pdnsd is great....
jack
--
D.A.M. - Mothers Against Dyslexia
see
http://www.jacksnodgrass.com for my contact info.
jack - Grapevine/Richardson