{"id":121,"date":"2013-10-08T09:22:00","date_gmt":"2013-10-08T09:22:00","guid":{"rendered":"http:\/\/271@jodohost.com\/\/blog\/"},"modified":"2013-10-08T09:22:00","modified_gmt":"2013-10-08T09:22:00","slug":"where-to-set-the-dns-settings-in-the-linux-os","status":"publish","type":"post","link":"http:\/\/www.jodohost.com\/blog\/index.php\/2013\/10\/08\/where-to-set-the-dns-settings-in-the-linux-os\/","title":{"rendered":"Where to set the DNS settings in the Linux OS"},"content":{"rendered":"<p>To connect to the Internet from a Linux machine, we need to set the DNS for the Linux machine using the command line. We need to set up an entry in a file that is \/etc\/resolv.conf. Below is the way using which we can setup an entry:-<\/p>\n<p>Step 1: Login onto the server using SSH.<\/p>\n<p>Step 2:\u00a0 Edit the file with your favourite editor:-\u00a0<\/p>\n<p>vi \/etc\/resolv.conf<\/p>\n<p>and then place the entry of the DNS as below :-<\/p>\n<p>nameserver 8.8.8.8<\/p>\n<p>nameserver 4.4.4.4<\/p>\n<p>and then save the file.<\/p>\n<p>That&#8217;s all we need to do here for connecting to the Internet.<\/p>\n<p> ]]><\/p>\n","protected":false},"excerpt":{"rendered":"<p>To connect to the Internet from a Linux machine, we need to set the DNS for the Linux machine using the command line. We need to set up an entry in a file that is \/etc\/resolv.conf. Below is the way using which we can setup an entry:- Step 1: Login onto the server using SSH. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[],"_links":{"self":[{"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/121"}],"collection":[{"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=121"}],"version-history":[{"count":0,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/121\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=121"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=121"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=121"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}