Dns change ubuntu mate

hey everyone,

i need to change my dns perm so i can access blocked website, i have tried under network setting and change to 1.1.1.1 or 1.0.0.1 , but nothing works, i have edited the base file with vim and add both domains but nothing is working.

can someone help?

sudo vim /etc/resolvconf/resolv.conf.d/base
nameserver 1.1.1.1
nameserver 1.0.0.1
sudo resolvconf -u

hello pavlos

i indeed have tried this and its not woking, is there any other solution ?

thank you in advance

some suggest to add those lines to the head file instead of the base file, then sudo resolvconf -u
Give it a try.