Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Whenever I edit my /etc/hosts file it's not long before I find it is exactly what it was before I edited it. Is there some master file I should be editing, or a gui interface I'm supposed to be using to edit it?

I'm still on Natty.

share|improve this question
    
Are you working with VPN? –  user61928 Oct 3 '12 at 12:22
    
do you have dnsmasq in your system? –  user61928 Oct 3 '12 at 12:23
    
No vpn, but it looks like dnsmasq-base is installed. I'll look into that and update on results. –  Rob Mosher Oct 3 '12 at 23:14

1 Answer 1

According to this post your problem is caused by one of the three possibilities:

1.It's due to dnsmasq defaulting to sys dns settings.

http://www.stgraber.org/2012/02/24/dns-in-ubuntu-12-04/#comment-39367

http://wiki.debian.org/HowTo/dnsmasq

2.You need to update .

3.Any changes you make to /etc/hosts or /ets/resolv.conf during the VPN session are wiped out when you disconnect from the VPN

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.