2

I want to use a set of custom DNS addresses, for all connection, without resorting to change configuration for each connection individually.

In the Network Manager I can change the preferred DNS setting on a per connection basis, but this would not be feasible for my purpose. I am intending to use the given DNS addresses system-wide: They need to be applied permanently, rather than until connected to a new network.

I am aware that I would have to address compatibility for other services such DHCP, and dnsmasq so they would not conflict with each other, but I do not know as to what I am required to do. Therefore I would like to ask for advice as to how to do this.


Operating system

Linux Mint 18.3 x64 CINNAMON system.

closed as unclear what you're asking by G-Man, Rui F Ribeiro, Mr Shunz, Shadur, user34720 Mar 18 at 20:45

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • I think you are asking “How do I configure my system, to use a specified DNS server, for all connections?”? – ctrl-alt-delor Mar 14 at 16:53
  • @ctrl-alt-delor Yes, that is what I am looking to do. But during my research on this topic yielded very broad results and still couldn't find the information I needed. Thus I did not know what would've been the best way to phrase my question as to how specific I should be when asking. – Zoltán Jáki Mar 14 at 20:04
  • Why do you say “use a series of custom DNS addresses”? are you using a different address for each connection, or is it that you want fallback addresses (a list of several DNS addresses), but the same for each connection? – ctrl-alt-delor Mar 15 at 10:02
  • @ctrl-alt-delor Is is the latter. I want my Linux Mint OS to use the speicified DNS addresses for all connections. And the reason why I say series instead of the regular two or maximum three given addresses is because I would like to inlcude multiple DNS addresses for IPv4 and IPv6 for testing. – Zoltán Jáki Mar 16 at 16:18
  • I have edited your question for you (you can also do this when asked for clarification). I think in us much clearer now. Hope you get an answer. – ctrl-alt-delor Mar 16 at 18:49

Browse other questions tagged or ask your own question.