matsko
matsko

Reputation: 22203

Sync /etc/hosts file across multiple machines

Does anyone know an easy way to synchronize your /etc/hosts file across multiple machines? I use a MacBook, a MacMini, a Windows Machine as well as a Linux VM to develop websites with so it would be ideal to have all of them have the same hosts config.

Upvotes: 5

Views: 4135

Answers (2)

Christopher Hunt
Christopher Hunt

Reputation: 2081

Instead of having a /etc/hosts file for each machine you might instead consider using a DNS server.

Upvotes: 5

JeremyWeir
JeremyWeir

Reputation: 24378

You can run rsync on any of the macs/linux, and deltacopy on windows

Upvotes: 1

Related Questions