{"id":3186,"date":"2016-08-05T06:08:51","date_gmt":"2016-08-05T06:08:51","guid":{"rendered":"http:\/\/www.esds.co.in\/kb\/?p=3186"},"modified":"2016-08-15T10:47:46","modified_gmt":"2016-08-15T10:47:46","slug":"dns-zone-validation-tool","status":"publish","type":"post","link":"https:\/\/www.esds.co.in\/kb\/dns-zone-validation-tool\/","title":{"rendered":"DNS Zone Validation Tool"},"content":{"rendered":"<p style=\"text-align: justify\"><img fetchpriority=\"high\" decoding=\"async\" src=\"http:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2016\/08\/DNS-Validation-Tool.png\" alt=\"DNS Validation Tool\" width=\"674\" height=\"400\" \/><\/p>\n<p><strong>Applies to:<\/strong><\/p>\n<p style=\"text-align: justify\">Plesk 10.4 for Linux\/Unix<\/p>\n<p style=\"text-align: justify\">Plesk 10.4 for Windows<\/p>\n<p style=\"text-align: justify\"><strong>Symptoms<\/strong><\/p>\n<p style=\"text-align: justify\">Amid a upgrade up to Parallels Plesk Panel (PP) 10.4.4, DNS records in zones in which the IP location of the primary A record is not quite the same as the IP location of the domain hosting, and this domain has subdomains, will be changed.<\/p>\n<p style=\"text-align: justify\"><strong>Cause<\/strong><\/p>\n<p style=\"text-align: justify\">There is a bug in the upgrade to variant 10.4.4 procedure.<\/p>\n<p style=\"text-align: justify\"><strong>Resolution<\/strong><\/p>\n<p style=\"text-align: justify\">Before moving up to PP 10.4.4, utilize the Pre-Upgrade Checker to figure out which DNS zones on your server will be influenced.<\/p>\n<p style=\"text-align: justify\">In the wake of upgrade to PP 10.4.4, utilize the DNS Zone Validation Tool to figure out which records were added to or erased from DNS zones.<\/p>\n<p style=\"text-align: justify\">At that point you will have the capacity to alter these DNS zones manually utilizing the given data or by utilizing a generated SQL script that permits you to rollback changes that have been made amid the update.<\/p>\n<p style=\"text-align: justify\"><strong>Output example of Pre-Upgrade Checker:<\/strong><\/p>\n<pre style=\"font-family: monospace;font-size: 0.90em;width: 99%;height: 30%;border: green 2px solid;color: yellow;background-color: #000000\">[INFO] ==&gt; STEP 26: Checking for customized DNS zones which will be modified during upgrade\u2026\r\n[INFO] A or AAAA records in DNS zone domain.com will be modified or deleted after upgrade.\r\n[WARNING] A or AAAA records in DNS zones will be modified or deleted after upgrade.\r\n[INFO] Result: Warning\r\n<\/pre>\n<p style=\"text-align: justify\"><strong>Output example of DNS Zone Validation Tool:<\/strong><\/p>\n<pre style=\"font-family: monospace;font-size: 0.87em;width: 99%;height: 30%;border: green 2px solid;color: yellow;background-color: #000000\"># php -d safe_mode=0 dns_zone_validator.php\r\n[INFO] ==&gt; Installed Plesk version\/build: 10.4.4 CentOS 5 1013111102.18\r\n[INFO] ==&gt; Detect system configuration\r\n[INFO] OS: CentOS release 5.2 (Final)\r\nKernel \\r on an \\m\r\n[INFO] Arch: i386\r\n[INFO] ==&gt; Validate given db password\r\n[INFO] Result: OK\r\n[INFO] ==&gt; Plesk DNS zones validator version: 10.4.0.27\r\n[INFO] Found pre-upgrade database dump mysql.preupgrade.8.6.0-10.13.4.20120327-083339.dump.gz\r\n[INFO] Decompressing pre-upgrade database dump to \/var\/lib\/psa\/dumps\/unpacked_3f7c10c5f773fc2d0af632580ab61b40\r\n[INFO] Extracting necessary tables to file \/var\/lib\/psa\/dumps\/prepared_3f7c10c5f773fc2d0af632580ab61b40\r\n[INFO] Creating temporary database DnsZoneValidator_3f7c10c5f773fc2d0af632580ab61b40\r\n[INFO] Deleting file \/var\/lib\/psa\/dumps\/unpacked_3f7c10c5f773fc2d0af632580ab61b40\r\n[INFO] Deleting file \/var\/lib\/psa\/dumps\/prepared_3f7c10c5f773fc2d0af632580ab61b40\r\n[INFO] Following DNS record was deleted from zone domain.com: domain.com. A 10.52.52.105\r\n[INFO] Following DNS record was deleted from zone domain2.com: ns.domain2.com. A 10.52.52.104\r\n[INFO] Following DNS record was deleted from zone domain2.com: domain2.com. A 10.52.52.104\r\n[INFO] Following DNS record was deleted from zone domain2.com: webmail.domain2.com. A 10.52.52.104\r\n[INFO] Following DNS record was deleted from zone domain2.com: mail.domain2.com. A 10.52.52.104\r\n[INFO] Following DNS record was deleted from zone domain2.com: sub1.domain2.com. A 10.52.52.104\r\n[INFO] Following DNS record was added to zone domain2.com: domain2.com. A 10.52.52.104\r\n[INFO] Following DNS record was added to zone domain2.com: ns.domain2.com. A 10.52.52.105\r\n[INFO] Following DNS record was added to zone domain2.com: mail.domain2.com. A 10.52.52.105\r\n[INFO] Following DNS record was added to zone domain2.com: webmail.domain2.com. A 10.52.52.105\r\n[INFO] Following DNS record was added to zone domain2.com: sub1.domain2.com. A 10.52.52.105\r\n[INFO] Deleting temporary database DnsZoneValidator_3f7c10c5f773fc2d0af632580ab61b40\r\n[INFO] For fix this records directly in database you can use SQL file: \/root\/fix_dns_records.sh\r\nFound errors: 0; Found Warnings: 0\r\n[root@a10-52-52-104 ~]#\r\n<\/pre>\n<p>The script generates a shell file with commands that fix the described changes.<br \/>\n<strong>Limitation<\/strong><\/p>\n<p style=\"text-align: justify\">On the off chance that DNS records that were changed by the upgrade are modified or altered physically before running the script, the script will offer the alternative to add such records to the zone (which did not exist at the time of the script start-up), as they were before the update.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Applies to: Plesk 10.4 for Linux\/Unix Plesk 10.4 for Windows Symptoms Amid a upgrade up to Parallels Plesk Panel (PP) 10.4.4, DNS records in zones in which the IP location of the primary A record is not quite the same as the IP location of the domain hosting, and this domain has subdomains, will be [&hellip;]<\/p>\n","protected":false},"author":17,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3186","post","type-post","status-publish","format-standard","hentry","category-data-center-services-india"],"aioseo_notices":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v15.9.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>DNS Zone Validation Tool - ESDS Official Knowledgebase<\/title>\n<link rel=\"canonical\" href=\"https:\/\/www.esds.co.in\/kb\/dns-zone-validation-tool\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"DNS Zone Validation Tool - ESDS Official Knowledgebase\" \/>\n<meta property=\"og:description\" content=\"Applies to: Plesk 10.4 for Linux\/Unix Plesk 10.4 for Windows Symptoms Amid a upgrade up to Parallels Plesk Panel (PP) 10.4.4, DNS records in zones in which the IP location of the primary A record is not quite the same as the IP location of the domain hosting, and this domain has subdomains, will be [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.esds.co.in\/kb\/dns-zone-validation-tool\/\" \/>\n<meta property=\"og:site_name\" content=\"ESDS Official Knowledgebase\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ESDSdc\/\" \/>\n<meta property=\"article:published_time\" content=\"2016-08-05T06:08:51+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2016-08-15T10:47:46+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2016\/08\/DNS-Validation-Tool.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@ESDSDataCenter\" \/>\n<meta name=\"twitter:site\" content=\"@ESDSDataCenter\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\">\n\t<meta name=\"twitter:data1\" content=\"3 minutes\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.esds.co.in\/kb\/#website\",\"url\":\"https:\/\/www.esds.co.in\/kb\/\",\"name\":\"ESDS Official Knowledgebase\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/www.esds.co.in\/kb\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.esds.co.in\/kb\/dns-zone-validation-tool\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"http:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2016\/08\/DNS-Validation-Tool.png\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.esds.co.in\/kb\/dns-zone-validation-tool\/#webpage\",\"url\":\"https:\/\/www.esds.co.in\/kb\/dns-zone-validation-tool\/\",\"name\":\"DNS Zone Validation Tool - ESDS Official Knowledgebase\",\"isPartOf\":{\"@id\":\"https:\/\/www.esds.co.in\/kb\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.esds.co.in\/kb\/dns-zone-validation-tool\/#primaryimage\"},\"datePublished\":\"2016-08-05T06:08:51+00:00\",\"dateModified\":\"2016-08-15T10:47:46+00:00\",\"author\":{\"@id\":\"https:\/\/www.esds.co.in\/kb\/#\/schema\/person\/5f605d84720df2fc7432c71a747f588e\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.esds.co.in\/kb\/dns-zone-validation-tool\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.esds.co.in\/kb\/dns-zone-validation-tool\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.esds.co.in\/kb\/dns-zone-validation-tool\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.esds.co.in\/kb\/\",\"url\":\"https:\/\/www.esds.co.in\/kb\/\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.esds.co.in\/kb\/dns-zone-validation-tool\/\",\"url\":\"https:\/\/www.esds.co.in\/kb\/dns-zone-validation-tool\/\",\"name\":\"DNS Zone Validation Tool\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.esds.co.in\/kb\/#\/schema\/person\/5f605d84720df2fc7432c71a747f588e\",\"name\":\"ESDS USER\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.esds.co.in\/kb\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d9d5e7d9ee209637998b4d33afb1beaa649bb7989f142280e25a8da4ade9cc72?s=96&d=mm&r=g\",\"caption\":\"ESDS USER\"},\"sameAs\":[\"http:\/\/www.esds.co.in\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/posts\/3186","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/comments?post=3186"}],"version-history":[{"count":12,"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/posts\/3186\/revisions"}],"predecessor-version":[{"id":3209,"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/posts\/3186\/revisions\/3209"}],"wp:attachment":[{"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/media?parent=3186"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/categories?post=3186"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/tags?post=3186"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}