* [gentoo-user] keeping hosts file in sync
@ 2005-09-28 14:33 Patrick Marquetecken
2005-09-28 14:46 ` Dave Nebinger
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: Patrick Marquetecken @ 2005-09-28 14:33 UTC (permalink / raw
To: gentoo-user
Hi,
Whats the best way to keep several /etc/host files in sync ?
TIA
Patrick
--
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: [gentoo-user] keeping hosts file in sync
2005-09-28 14:33 [gentoo-user] keeping hosts file in sync Patrick Marquetecken
@ 2005-09-28 14:46 ` Dave Nebinger
2005-09-30 22:13 ` John Myers
2005-09-28 15:17 ` byron
` (2 subsequent siblings)
3 siblings, 1 reply; 6+ messages in thread
From: Dave Nebinger @ 2005-09-28 14:46 UTC (permalink / raw
To: gentoo-user
> 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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] keeping hosts file in sync
2005-09-28 14:33 [gentoo-user] keeping hosts file in sync Patrick Marquetecken
2005-09-28 14:46 ` Dave Nebinger
@ 2005-09-28 15:17 ` byron
2005-09-28 15:51 ` Neil Bothwick
2005-09-28 16:06 ` Paweł Madej
3 siblings, 0 replies; 6+ messages in thread
From: byron @ 2005-09-28 15:17 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] keeping hosts file in sync
2005-09-28 14:33 [gentoo-user] keeping hosts file in sync Patrick Marquetecken
2005-09-28 14:46 ` Dave Nebinger
2005-09-28 15:17 ` byron
@ 2005-09-28 15:51 ` Neil Bothwick
2005-09-28 16:06 ` Paweł Madej
3 siblings, 0 replies; 6+ messages in thread
From: Neil Bothwick @ 2005-09-28 15:51 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 402 bytes --]
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.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] keeping hosts file in sync
2005-09-28 14:33 [gentoo-user] keeping hosts file in sync Patrick Marquetecken
` (2 preceding siblings ...)
2005-09-28 15:51 ` Neil Bothwick
@ 2005-09-28 16:06 ` Paweł Madej
3 siblings, 0 replies; 6+ messages in thread
From: Paweł Madej @ 2005-09-28 16:06 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] keeping hosts file in sync
2005-09-28 14:46 ` Dave Nebinger
@ 2005-09-30 22:13 ` John Myers
0 siblings, 0 replies; 6+ messages in thread
From: John Myers @ 2005-09-30 22:13 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1060 bytes --]
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.
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-10-01 5:16 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-28 14:33 [gentoo-user] keeping hosts file in sync Patrick Marquetecken
2005-09-28 14:46 ` Dave Nebinger
2005-09-30 22:13 ` John Myers
2005-09-28 15:17 ` byron
2005-09-28 15:51 ` Neil Bothwick
2005-09-28 16:06 ` Paweł Madej
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox