Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a network of computers and a server. I often need to edit the hosts file of all the computers to add a new entry or to change one. e.g. temporary-internal-site

How can I get all the machines (all windows) to 'import' or use a hosts file on a server in addition to the normal one. This means that I can just edit this one file with the new entry and all the machines will check it.

Feel free to ask questions if you don't understand.

share|improve this question
If you have home router (for example WLAN box or similar), you can probably add those entries to there as DNS records, instead of HOSTS. That way every computer in your network can have same entries, without syncronizing files between computers. – Olli Feb 12 '11 at 15:26
Yes I do have a router, but not sure what I need to edit or where? I have a DLINK DIR-615 – gfhgh Feb 12 '11 at 15:30
Not quite what you're asking, but OpenDNS shortcuts might help a bit. (I've never used it; I hope they allow mapping temporary-internal-site to However, it would NOT get you a correct HTTP Host header.) – Arjan Feb 12 '11 at 15:58

What you want to do had been done a while ago, its called DNS zones and you need a DNS daemon/service to respond request. The DNS upload zones (text files) from another file systems or DNS servers.

So, you have to set up a DNS Server. OpenDNS is a good place to start.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .