change DNS resolver?

I created a Linode and installed openvpn(ubuntu 20.04 LTS) from marketplace. Everything works fine, clients can connect to the vpn server.

My question is how can I change the DNS resolver for that Linode? Currently I guess the vm is using the default configs which is Linode DNS servers:

cat /etc/resolv.conf
search members.linode.com

And, can I use a public DNS (example: 8.8.8.8) as a DNS resolver?

Thank you

1 Reply

You can change the default DNS resolver but beware unanticipated side effects!

I’m pretty sure it will get changed back to the default after you reboot your system.

File a support ticket & ask them about the particulars.

— sw

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct