Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.7: Adding entries to the hosts file' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.7: Adding entries to the hosts file
Authored by: wOOge on Oct 11, '11 08:14:34AM

This tip is specific to the poster's software setup.
OP: I would change the title of the tip to include that info, otherwise it will lead people astray.

Changes to the stock Lion hosts file *are* respected/kept after a reboot by default.
I know this for a fact, I use this every day.

As a side note, someone should contact Cisco technical support and tell them not to mess with system files like that. Wow.

---
wOOge
http://www.axonz.com



[ Reply to This | # ]
10.7: Adding entries to the hosts file
Authored by: leamanc on Oct 13, '11 06:44:40PM

It's quite common for VPN software to make edits to /etc/hosts and /etc/resolv.conf. Sometimes hosts have an internal (LAN) IP and a public facing one (a webmail server, for instance), and when you connect to the VPN, your IT admins may want to force you to go one or the other via hard-coding in hosts.

The real problem is that Apple has been threatening to phase out hosts and resolv.conf in OS X for years, and it's high time that developers start making use of Directory Services (via the dscl command) before it's too late and their VPN clients don't work anymore!



[ Reply to This | # ]