7

I have problem with network connection. Internet don't work but when I type ping 8.8.8.8 in terminal it works.

So I called ISP and operator tell me that to change DNS but I don't know where it is.

I'm using Ubuntu 14.04.

9

The easiest way to set a custom DNS on Ubuntu 14.04 (and other) is by editing the base file of the resolv.conf.d folder:

sudo nano /etc/resolvconf/resolv.conf.d/base

Add your DNS to the file :

nameserver 8.8.8.8
nameserver 8.8.4.4

Update resolv configuration :

sudo resolvconf -u
| improve this answer | |
  • thanks but can you tell why this happened? I didn't change anything but this morning all phones and computers wouldn't connect to computer. – Vesal75 Aug 18 '15 at 10:26
  • Sorry I am not sure to understand. You connect all your computers and phones to another computer ? I think it is a different problem. You should create a new question for that. – hg8 Aug 18 '15 at 10:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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