A couple of days ago I was working with ipython notebook and it opens me a page in my web browser (Google Chrome) and I was able to work with the notebook (zero problems with my internet).
Then, I configure my network connection with a public proxy in order to get access to a blocked webpage, after that I erase the proxy configuration.
Now, when I open the ipython notebook I get the next error:
ERROR: Not Found
While trying to retrieve the URL http://some.localhost:8888/tree:
DNS resolving failed
Your cache administrator is webmaster.
Moreover, I have been having internet connection problems, for instance, I have to reload several times a webpage in order to open it, most of the times I get a No internet error despite I am connected.
So, the question is: How I get rid of this DNS error?
Additional comments: I am in Ubuntu 12.04. I am having this problem in my workplace as in my home, therefore I believe it has to do with my network configuration and not with my router.
I don't know which should be my default configuration since I don't know too much about networks, but I have the following configuration in /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.0.1
search some.workplace.page
The file gedit /etc/network/interfaces have:
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
I tried to flush the DNS as explain in here but that didn't work.
ifconfig eth0 gives:
eth0 Link encap:Ethernet HWaddr 54:42:49:58:36:xx
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:18