Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

OK so I have my Raspberry Pi running a DNS server (dnsmasq), and I have my router set up to use it as the DNS server for the whole network. This was working perfectly until a few hours ago when I added some stuff to the hosts file (all valid). Now, for example, going to in chrome gives "Oops! Google Chrome could not find"... Even (which isn't even mentioned in the hosts file) is invalid. That's the only non-hosts site I've found that's still invalid

THe really weird thing is, dig from one of my network computers (inside the network, and accessing my raspberry pi DNS server) returns WORKING IP addresses, which work in chrome! Screenshot shows dig results.. Any help would be great, thanks

enter image description here

EDIT: Ok so the contents of my resolv.conf is just nameserver, that's it. My router is at, and the Raspberry Pi (with dnsmasq) is at (the screenshot shows it's using this as its server).

I have restored the hosts file but the same problem persists. Very strange

share|improve this question
Could you add the contents of /etc/resolv.conf and the ip address of the router and dnsmasq server to the question? They might give a better grasp at the issue. – GnP Jul 13 '13 at 22:13
Have you try to restore previous contents of hosts file and test whether still works ? And than add new stuff - line by line - and test it. – furas Jul 13 '13 at 23:51
Thanks guys, see edit – Conor Taylor Jul 14 '13 at 9:13

Is the problem still unsolved? Have you restarted everything after you made the change(s), including the dnsmasq service, the browser, and/or even the entire system?

To me, I have to restart the dnsmasq service to make it listen to the correct address

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .