Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DNS Host file for remote clients

Status
Not open for further replies.

GenTrac

Technical User
May 14, 2004
98
We have a server named “Intra” that user connect to and had a old IP address of 10.159.46.70. We changed some of the schema and now the same server “Intra” has an IP address of 10.159.47.100. Some of our remote clients will have host file entries to resolve “Intra” to the old IP address. Is it possible to have forwarder in our DNS server to reflect both IP addresses seeing that client workstations first try to resolve through the host file? What is the best way of getting these unknown clients to access the server without a lot of manual work?
 
As your remote clients have hosts file entries for this server, you would need to change the entry in the hosts file on each machine.
 
Send out a batch file with the new hosts file in it. Have your remote users run it.

clr
copy hosts c:/system32/drivers/etc/hosts
close


This will overwrite the old hosts file without you having to do a lot of legwork. Good luck.

Glen A. Johnson
If you're from Northern Illinois/Southern Wisconsin/Central Florida feel free to join the Tek-Tips in Chicago, Illinois Forum.
TTinChicago
Johnson Computers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top