{"id":25,"date":"2015-10-24T20:04:08","date_gmt":"2015-10-24T19:04:08","guid":{"rendered":"http:\/\/www.aaronhatton.co.uk\/blog\/?p=25"},"modified":"2015-10-24T20:04:08","modified_gmt":"2015-10-24T19:04:08","slug":"migrating-dns-servers","status":"publish","type":"post","link":"https:\/\/www.aaronhatton.co.uk\/blog\/index.php\/2015\/10\/24\/migrating-dns-servers\/","title":{"rendered":"Migrating DNS Servers"},"content":{"rendered":"<p>I am currently in the process of migrating thousands of domains from my corporate old name servers to our new ones, it is a simple process scripting wise however the odd random few have already been migrated and so there is some clearing up to do as it wasn&#8217;t documented properly&#8230; (Woops!)<\/p>\n<p>For this reason I whipped together another script which will check the nameservers of the domains in a CSV and tell me if they are on the old or new server. Some customers change their nameservers without telling us as well so I added in a fall back clause for that as well.<\/p>\n<p><strong>Please Note<\/strong>: The purpose of this is very specific, you enter your old and new nameservers and if it doesn&#8217;t match it will throw up &#8220;Investigate&#8221; line. The output is in the format for a CSV file which is beneficial to me for Excel formatting.<\/p>\n<p>The GitHub download link:\u00a0https:\/\/github.com\/aaronhatton\/Domain-Nameserver-Checker<\/p>\n\n<div class=\"twitter-share\"><a href=\"https:\/\/twitter.com\/intent\/tweet?via=aaronjlhatton\" class=\"twitter-share-button\">Tweet<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>I am currently in the process of migrating thousands of domains from my corporate old name servers to our new ones, it is a simple process scripting wise however the odd random few have already been migrated and so there [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[13,14,9,15],"class_list":["post-25","post","type-post","status-publish","format-standard","hentry","category-scripts","tag-csv","tag-dns","tag-php","tag-scripts","dwtl normal"],"_links":{"self":[{"href":"https:\/\/www.aaronhatton.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/posts\/25","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.aaronhatton.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.aaronhatton.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.aaronhatton.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.aaronhatton.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=25"}],"version-history":[{"count":2,"href":"https:\/\/www.aaronhatton.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/posts\/25\/revisions"}],"predecessor-version":[{"id":27,"href":"https:\/\/www.aaronhatton.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/posts\/25\/revisions\/27"}],"wp:attachment":[{"href":"https:\/\/www.aaronhatton.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=25"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.aaronhatton.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=25"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.aaronhatton.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=25"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}