Author Archives: DennyZhang

About DennyZhang

DevOps/Cloud Expert.

Here I share my experience and learning for how to deliver and maintain a complex cloud system Smoothly and Economically.

In my spare time, I’m deeply addicted to Efficiency Improvement, Emacs and all exciting Open Source technologies. Find me in Linkedin and Twitter

Examine Unexpected Changes In Your /etc/hosts File

Updating hosts file is super easy! Any sed, echo, vim command will work.

You’re perfectly safe, if all changes only come from the automation. And your code is bug-free.

But in the reality, you might have surprises. Especially when people might change it manually.

My Suggestion? Before making any changes, confirm all customizations are expected. If not, abort the changes with proper alerting.

Update /etc/hosts With Everything Expected


(more…)