{"id":29,"date":"2012-03-04T14:08:00","date_gmt":"2012-03-04T14:08:00","guid":{"rendered":"https:\/\/www.srivittal.com\/wp\/?p=29"},"modified":"2021-08-31T10:12:45","modified_gmt":"2021-08-31T09:12:45","slug":"centos-networkmanager-dns-issues","status":"publish","type":"post","link":"https:\/\/www.srivittal.com\/wp\/?p=29","title":{"rendered":"CentOS NetworkManager DNS issues"},"content":{"rendered":"<div dir=\"ltr\" style=\"text-align: left;\">Had a chance to update my blog after a long time. This time it was DNS issues on my CentOS server. I have 3 NIC&#8217;s on my machine and only one of them (eth1) was connected to the router. I had NetworkManager manage my networks. Although eth1 had an IP Address assigned by the router via DHCP, I was still not able to connect to the Internet. I checked the network configuration and I had put the DNS server preferences there. But when I opened \/etc\/resolv.conf Network manager had put a clear message there. No DNS servers found, please update your network-scripts. Went into \/etc\/sysconfig\/network-scripts. Appended the iccfg-eth1 script with the DNS entries like<\/p>\n<p>DNS1=X.X.X.X<br \/>DNS2=X.X.X.X<\/p>\n<p>Restarted the NetowkrManager and I could see the DNS entries appeacing within resolv.conf and voila got Internet working properly now.<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Had a chance to update my blog after a long time. This time it was DNS issues on my CentOS server. I have 3 NIC&#8217;s on my machine and only one of them (eth1) was connected to the router. I had NetworkManager manage my networks. Although eth1 had an IP Address assigned by the router &hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,46,47,31,49,48],"tags":[],"class_list":["post-29","post","type-post","status-publish","format-standard","hentry","category-centos","category-dhcp","category-dns","category-linux","category-network","category-networkmanager","entry entry-center"],"_links":{"self":[{"href":"https:\/\/www.srivittal.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/29","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.srivittal.com\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.srivittal.com\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.srivittal.com\/wp\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.srivittal.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=29"}],"version-history":[{"count":1,"href":"https:\/\/www.srivittal.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/29\/revisions"}],"predecessor-version":[{"id":190,"href":"https:\/\/www.srivittal.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/29\/revisions\/190"}],"wp:attachment":[{"href":"https:\/\/www.srivittal.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=29"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.srivittal.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=29"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.srivittal.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=29"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}