Network (DNS?) issue (upgraded F24)

asked 2016-06-27 11:44:54 -0500

Arkantus gravatar image


I have singular problem that I discovered yesterday. The thing is I can't connect to internet. The network is fine (wifi connected, although, there is a question mark in place of the strength icon) I can browse the local network, but when I try to run firefox and an address ( ) I get a "server not found". When I ping the very same address I get "System Error". But the funny thing is : when I ping, or any other ip address everything works. I can also browse the web using tor.

Witch led me to think it's a DNS related issue. I tried setting it to inside NetworkManager but it does not do anything.

I'm out of ideas, so I've come here to seek your help !


edit retag flag offensive close merge delete


Please post the output of cat /etc/resolv.conf and grep ^hosts /etc/nsswitch.conf.

thomaswood gravatar imagethomaswood ( 2016-06-27 11:57:04 -0500 )edit


cat: /etc/resolv.conf: No such file or directory and

hosts: files mdns4_minimal [N] dns myhostname mymachines

That does not seems right...

Arkantus gravatar imageArkantus ( 2016-06-27 12:09:14 -0500 )edit

After further investigation, the file, is here (shown by ls, but if I try to modify it with vim (sudo or not) it show me the mention [New File], like it doesn't exist.

Arkantus gravatar imageArkantus ( 2016-06-27 12:23:30 -0500 )edit

sudo vim /etc/resolv.conf

Should work to edit and add a line like nameserver

aeperezt gravatar imageaeperezt ( 2016-06-27 15:33:20 -0500 )edit

Yep, I copied the resolv.conf from /run/NetworkManager (or something like that), restarted the service and everything worked fine (expect the question mark in wifi status). but the file is erased on reboot.

Arkantus gravatar imageArkantus ( 2016-06-28 03:36:49 -0500 )edit