{"id":457,"date":"2009-11-06T10:31:08","date_gmt":"2009-11-06T09:31:08","guid":{"rendered":"http:\/\/www.thomaskeller.biz\/blog\/?p=457"},"modified":"2009-11-06T10:31:08","modified_gmt":"2009-11-06T09:31:08","slug":"quick-tip-networkmanager-and-etcresolv-conf","status":"publish","type":"post","link":"https:\/\/www.thomaskeller.biz\/blog\/2009\/11\/06\/quick-tip-networkmanager-and-etcresolv-conf\/","title":{"rendered":"Quick Tip: NetworkManager and \/etc\/resolv.conf"},"content":{"rendered":"<p>If you have trouble with NetworkManager overwriting your `search` and `domain` configuration after every startup and you&#8217;re using DHCP, add the following line to your `\/etc\/dhclient.conf`:<\/p>\n<pre>append domain-name \" company.local other.company.local\";<\/pre>\n<p>So whenever your DHCP server doesn&#8217;t provide these information (the one in my company does not), it&#8217;ll add this<\/p>\n<pre>\r\ndomain company.local\r\nsearch company.local other.company.local\r\n<\/pre>\n<p>to your `\/etc\/resolv.conf`. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you have trouble with NetworkManager overwriting your `search` and `domain` configuration after every startup and you&#8217;re using DHCP, add the following line to your `\/etc\/dhclient.conf`: append domain-name &#8221; company.local other.company.local&#8221;; So whenever your DHCP server doesn&#8217;t provide these information (the one in my company does not), it&#8217;ll add this domain company.local search company.local other.company.local &hellip; <a href=\"https:\/\/www.thomaskeller.biz\/blog\/2009\/11\/06\/quick-tip-networkmanager-and-etcresolv-conf\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Quick Tip: NetworkManager and \/etc\/resolv.conf<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25,11],"tags":[],"class_list":["post-457","post","type-post","status-publish","format-standard","hentry","category-tips","category-work"],"_links":{"self":[{"href":"https:\/\/www.thomaskeller.biz\/blog\/wp-json\/wp\/v2\/posts\/457","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.thomaskeller.biz\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.thomaskeller.biz\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.thomaskeller.biz\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.thomaskeller.biz\/blog\/wp-json\/wp\/v2\/comments?post=457"}],"version-history":[{"count":1,"href":"https:\/\/www.thomaskeller.biz\/blog\/wp-json\/wp\/v2\/posts\/457\/revisions"}],"predecessor-version":[{"id":458,"href":"https:\/\/www.thomaskeller.biz\/blog\/wp-json\/wp\/v2\/posts\/457\/revisions\/458"}],"wp:attachment":[{"href":"https:\/\/www.thomaskeller.biz\/blog\/wp-json\/wp\/v2\/media?parent=457"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.thomaskeller.biz\/blog\/wp-json\/wp\/v2\/categories?post=457"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.thomaskeller.biz\/blog\/wp-json\/wp\/v2\/tags?post=457"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}