Advertisement: Linux VPS for $4/month - based on OpenVZ, credit card accepted, automatic setup.
+ Post New Thread
Results 1 to 2 of 2

Thread: Changing nameservers (open DNS resolvers) in Ubuntu 18 (not via /etc/resolv.conf)

  1. #1
    Fli
    Fli is offline
    Administrator Fli's Avatar
    Join Date
    Mar 2013
    Posts
    2,540

    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

  2. #2
    Junior Member latishang's Avatar
    Join Date
    Oct 2020
    Posts
    1


    Is this useful / helpfull? Yes | No
    It would be nice if someone has any answer to this. I am interested too.
    .

+ Post New Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
 Protected by : ZB BLOCK  &  StopForumSpam