{"id":669,"date":"2021-10-13T22:32:53","date_gmt":"2021-10-13T20:32:53","guid":{"rendered":"https:\/\/blog.chloesoe.ch\/?p=669"},"modified":"2021-10-13T23:49:51","modified_gmt":"2021-10-13T21:49:51","slug":"disable-dns-lonfiguration-from-networkmanager-in-linux-mint","status":"publish","type":"post","link":"https:\/\/blog.chloesoe.ch\/?p=669","title":{"rendered":"Disable DNS Configuration from NetworkManager in Linux Mint"},"content":{"rendered":"<h1>Overview<\/h1>\n<p>The initial goal was, that my openvpn client configuration is able to set the DNS server.<\/p>\n<p>Somehow that was not possible, even though we have set <code>dhcp-option DNS 10.8.0.1<\/code> in the ovpn file.<\/p>\n<p>But nevertheless, perhaps you want to get rid of your Network manager fingering in your resolv.conf convfig, then follow below:<\/p>\n<h1>Steps to Do<\/h1>\n<p>From <a href=\"https:\/\/askubuntu.com\/a\/623956\/733411\">https:\/\/askubuntu.com\/a\/623956\/733411<\/a><\/p>\n<ol>\n<li>Edit <code>\/etc\/NetworkManager\/NetworkManager.conf<\/code><\/li>\n<li>Change to\n<pre><code>dns=none<\/code><\/pre>\n<\/li>\n<\/ol>\n<p>Now feel free use your <code>\/etc\/resolv.conf<\/code><\/p>\n<p>e.g. like that:<\/p>\n<pre><code>nameserver 9.9.9.9          # quad 9\nnameserver 149.112.112.112  # secondary quad 9\nnameserver 2620:fe::fe      # IPv6 quad 9<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Overview The initial goal was, that my openvpn client configuration is able to set the DNS server. Somehow that was not possible, even though we have set dhcp-option DNS 10.8.0.1 in the ovpn file. But nevertheless, perhaps you want to get rid of your Network manager fingering in your resolv.conf convfig, then follow below: Steps&#8230; <a href=\"https:\/\/blog.chloesoe.ch\/?p=669\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Disable DNS Configuration from NetworkManager in Linux Mint<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,7],"tags":[],"class_list":["post-669","post","type-post","status-publish","format-standard","hentry","category-it-sec","category-linux"],"_links":{"self":[{"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=\/wp\/v2\/posts\/669","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=669"}],"version-history":[{"count":5,"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=\/wp\/v2\/posts\/669\/revisions"}],"predecessor-version":[{"id":674,"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=\/wp\/v2\/posts\/669\/revisions\/674"}],"wp:attachment":[{"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=669"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=669"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=669"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}