Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

To fight against my procrastination I changed /etc/hosts on my Ubuntu (11.10) laptop. The /etc/hosts looks now like facebook.com plus.google.com twitter.com  

and many more time-eaters in it!

But if I type now facebook.com in my browser it still works.

Is there a DNS cache or something?

share|improve this question
By the way, you can put multiple entries on one line-- facebook.com plus.google.com twitter.com stackoverflow.com etc. –  Chris Morgan Feb 18 '12 at 13:39
add comment

migrated from stackoverflow.com Feb 18 '12 at 14:02

This question came from our site for professional and enthusiast programmers.

1 Answer

up vote 2 down vote accepted

Are you perhaps going to www.facebook.com rather than facebook.com? You probably want to block www. variants as well.

share|improve this answer
such an easy answer... i was searching really long for deleting the dns cache... thanks for your help! –  Joerg Feb 18 '12 at 13:58
add comment

Your Answer


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.