{"id":786,"date":"2016-09-20T12:08:05","date_gmt":"2016-09-20T11:08:05","guid":{"rendered":"http:\/\/www.haxed.me.uk\/?p=786"},"modified":"2016-09-20T12:08:13","modified_gmt":"2016-09-20T11:08:13","slug":"not-resolve-mirror-rackspace-com","status":"publish","type":"post","link":"https:\/\/haxed.me.uk\/index.php\/2016\/09\/20\/not-resolve-mirror-rackspace-com\/","title":{"rendered":"Could not resolve mirror.rackspace.com"},"content":{"rendered":"<p><a href=\"http:\/\/www.haxed.me.uk\/wp-content\/uploads\/2016\/09\/Capture-12.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.haxed.me.uk\/wp-content\/uploads\/2016\/09\/Capture-12.png\" alt=\"capture-12\" width=\"932\" height=\"291\" class=\"alignnone size-full wp-image-787\" srcset=\"https:\/\/haxed.me.uk\/wp-content\/uploads\/2016\/09\/Capture-12.png 932w, https:\/\/haxed.me.uk\/wp-content\/uploads\/2016\/09\/Capture-12-300x94.png 300w, https:\/\/haxed.me.uk\/wp-content\/uploads\/2016\/09\/Capture-12-768x240.png 768w, https:\/\/haxed.me.uk\/wp-content\/uploads\/2016\/09\/Capture-12-500x156.png 500w\" sizes=\"auto, (max-width: 932px) 100vw, 932px\" \/><\/a><\/p>\n<p>So a customer came to me with an issue about not being able to install chkrootkit, due to DNS failure. The customer wasn&#8217;t technical and didn&#8217;t understand how to fix it. It&#8217;s easy to fix, by wiping the resolv.conf nameservers file, and rebuilding it. Takes a few seconds, this should allow you to resolve domains afterwards again.<\/p>\n<pre>\r\n\r\n# Delete resolv.conf\r\n\r\nrm \/etc\/resolv.conf\r\n\r\n# Recreate the DNS file with different DNS servers\r\ntouch \/etc\/resolv.conf\r\necho \"nameserver 4.2.2.4\" >> \/etc\/resolv.conf\r\necho \"nameserver 8.8.8.8\" >> \/etc\/resolv.conf\r\n\r\n<\/pre>\n<p>Alternatively you could just open it up for editing with vi or nano.<\/p>\n<pre>\r\nvi \/etc\/resolv.conf\r\nnano \/etc\/resolv.conf \r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>So a customer came to me with an issue about not being able to install chkrootkit, due to DNS failure. The customer wasn&#8217;t technical and didn&#8217;t understand how to fix it. It&#8217;s easy to fix, by wiping the resolv.conf nameservers &hellip; <a href=\"https:\/\/haxed.me.uk\/index.php\/2016\/09\/20\/not-resolve-mirror-rackspace-com\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/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":[19,46,9,4],"tags":[],"class_list":["post-786","post","type-post","status-publish","format-standard","hentry","category-bash","category-dns","category-linux","category-networking"],"_links":{"self":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/786","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/comments?post=786"}],"version-history":[{"count":1,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/786\/revisions"}],"predecessor-version":[{"id":788,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/786\/revisions\/788"}],"wp:attachment":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/media?parent=786"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/categories?post=786"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/tags?post=786"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}