Re: [gentoo-user] keeping hosts file in sync
On Wednesday 28 September 2005 07:46, Dave Nebinger wrote: Whats the best way to keep several /etc/host files in sync ? The easiest way is not to bother. Use a local dns server to provide host lookups. I believe on the gentoo wiki you'll find a setup for a caching dns proxy where the most lookups will be forwarded to a regular dns but you can still provide local host lookups and reverse lookups. Works great for me and I don't have to worry about whatever /etc/hosts contains. Also ensures that new windows clients added to the network don't need their files updated, either. In fact, the default BIND install will do the forwarding. I don't know if it's caching, but it definately works well on my (small) home network. I use Webmin for management, and it works great. I also use ISC dhcpd to assign my systems their static internal IP addresses by their MAC address, and to give the location of the DNS server, so I don't have to do any network configuration on my clients. It really works well for me. pgpFUpLAxDUKs.pgp Description: PGP signature
RE: [gentoo-user] keeping hosts file in sync
Whats the best way to keep several /etc/host files in sync ? The easiest way is not to bother. Use a local dns server to provide host lookups. I believe on the gentoo wiki you'll find a setup for a caching dns proxy where the most lookups will be forwarded to a regular dns but you can still provide local host lookups and reverse lookups. Works great for me and I don't have to worry about whatever /etc/hosts contains. Also ensures that new windows clients added to the network don't need their files updated, either. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] keeping hosts file in sync
Patrick Marquetecken wrote: Hi, Whats the best way to keep several /etc/host files in sync ? TIA Patrick This may be a little over kill but, I've found this project (www.cfengine.com) to be very cool. Cfengine has tons of functionality and managing config files across multiple systems just happens to be one of them. There is decent documentation on the site plus I've found some Debian based tutorials here: http://www.debian-administration.org/articles/223 , http://www.debian-administration.org/articles/224 , http://www.debian-administration.org/articles/225 . It's designed to help Admins manage a large number of Unix systems from a central location. Oh, and it's in portage too. byron -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] keeping hosts file in sync
On Wed, 28 Sep 2005 16:33:54 +0200 (CEST), Patrick Marquetecken wrote: Whats the best way to keep several /etc/host files in sync ? The best way is usually to use only one hosts file. Providing your computers are networked, and one on them is on 24/7, install dnsmasq on this box and tell the others to use it as their DNS server. -- Neil Bothwick I work with User-Surly Software. pgpxnOv9QWmWP.pgp Description: PGP signature
Re: [gentoo-user] keeping hosts file in sync
Patrick Marquetecken wrote: Hi, Whats the best way to keep several /etc/host files in sync ? TIA Patrick I got that problem few days ago and tried to install MyDNS [1] little dns server great for home network. It also has easy admin script written in PHP but it is not installed during emerge mydns. So you have to unpack package from distfiles and put it into your's apache documentroot. [1] http://mydns.bboy.net/ Greets Paweł -- gentoo-user@gentoo.org mailing list