{"id":1060,"date":"2014-03-13T10:36:24","date_gmt":"2014-03-13T17:36:24","guid":{"rendered":"http:\/\/jim-zimmerman.com\/?p=1060"},"modified":"2014-03-13T10:36:24","modified_gmt":"2014-03-13T17:36:24","slug":"add-dns-search-suffix-in-ubuntu","status":"publish","type":"post","link":"https:\/\/jim-zimmerman.com\/?p=1060","title":{"rendered":"Add DNS search suffix in Ubuntu"},"content":{"rendered":"<p>Sometimes I hate change, and this is one.  I just want to edit the \/etc\/resolv.conf.  The search suffix in Ubuntu can be added by adding the following to the \/etc\/network\/interfaces file:<\/p>\n<blockquote><p>dns-search <em>domaintosearch<\/em><\/p><\/blockquote>\n<p>For example, on my Ubuntu client:<\/p>\n<blockquote><p># cat \/etc\/network\/interfaces<br \/>\nauto lo<br \/>\niface lo inet loopback<\/p>\n<p># The primary network interface<br \/>\nauto eth0<br \/>\niface eth0 inet dhcp<br \/>\ndns-search jim-zimmerman.com\n<\/p><\/blockquote>\n<p>I am not sure if the network needs to be restarted.  I did restart it by:<\/p>\n<blockquote><p># service networking restart<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes I hate change, and this is one. I just want to edit the \/etc\/resolv.conf. The search suffix in Ubuntu can be added by adding the following to the \/etc\/network\/interfaces file: dns-search domaintosearch For example, on my Ubuntu client: # cat \/etc\/network\/interfaces auto lo iface lo inet loopback # The primary network interface auto eth0 [&#038;hellip<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[164,247,132],"class_list":["post-1060","post","type-post","status-publish","format-standard","hentry","category-documentation","tag-dns","tag-search","tag-ubuntu"],"share_on_mastodon":{"url":"","error":""},"_links":{"self":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/1060","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1060"}],"version-history":[{"count":1,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/1060\/revisions"}],"predecessor-version":[{"id":1061,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/1060\/revisions\/1061"}],"wp:attachment":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1060"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1060"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1060"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}