Advertisement: Linux VPS from $4/month - contact support for custom offer.
-
Administrator
Changing nameservers (open DNS resolvers) in Ubuntu 18 (not via /etc/resolv.conf)
How to change these:
i read it should be like this:
Command 1:
systemctl status resolvconf.service;systemctl start resolvconf.service;systemctl enable resolvconf.service;systemctl status resolvconf.service;nano /etc/resolvconf/resolv.conf.d/head
Append new lines like for example:
nameserver 193.17.47.1
nameserver 185.43.135.1
nameserver 1.1.1.1
nameserver 8.8.8.8
(cznic, cloudflare, google)
Ctrl+X ; y
to save changes.
Then restart that resolvconf to apply changes:
systemctl start resolvconf.service
How to verify the result? I do not know. But values may change in cat /etc/resolv.conf
-
Junior Member
Is this useful / helpfull?
Yes |
No
It would be nice if someone has any answer to this. I am interested too.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Protected by : ZB
BLOCK & StopForumSpam
Bookmarks