Disassociative Networking Disorder
April 8, 2008 10:27 AM
Subscribe
Is there a way for Leopard to bind a hosts file to a location in Network Preferences?
My workplace is on some weird network transition period where I can only check my mail when connected to the parent company's VPN. If I'm not connected to the VPN, I can use the office DNS just fine and contact all the servers in the office just fine. If I AM connected to the VPN, I can't use any of the regular office DNS and instead have to look up the name in an Excel spreadsheet and add it to my hosts file. Depending on whether I am on the VPN, the servers have different IP addresses, so the hosts file will only work on the VPN!
I've already created separate locations for being on and off the VPN in order to manage proxy settings, so I was wondering if there's any way to get something like the hosts file to stick to a particular location as well. This way I don't have to comment everything out of my /etc/hosts file when I get off the VPN.
posted by mkb to computers & internet (4 comments total)
1 user marked this as a favorite
http://homepage.mac.com/locationmanager/index.html
posted by flif at 10:37 AM on April 8, 2008