{"id":3299,"date":"2021-03-08T10:14:03","date_gmt":"2021-03-08T04:44:03","guid":{"rendered":"https:\/\/www.24x7serversupport.com\/blog\/?p=3299"},"modified":"2021-03-08T10:19:16","modified_gmt":"2021-03-08T04:49:16","slug":"a-dns-entry-for-domain_name-already-exists","status":"publish","type":"post","link":"https:\/\/www.24x7serversupport.com\/blog\/a-dns-entry-for-domain_name-already-exists\/","title":{"rendered":"A DNS entry for \u2018domain_name\u2019 already exists"},"content":{"rendered":"\n<p>A DNS entry for \u2018domain_name\u2019 already exists. You must remove this DNS entry from all servers in the DNS cluster to proceed.<\/p>\n\n\n\n<p>While adding addon domain under cPanel, I was getting error as below \u2013<\/p>\n\n\n\n<p>A DNS entry for \u2018domain_name\u2019 already exists. You must remove this DNS entry from all servers in the DNS cluster to proceed.<\/p>\n\n\n\n<p>1. Please make sure the domain which you are trying to add the addon domain should not present as&nbsp;addon\/parked(aliases)\/sub-domain&nbsp;on the same server.<\/p>\n\n\n\n<p>2. If it is not present then check the DNS entry in DNS zone file. You will need root SSH access for it. SSH to server and check the below file \u2013<br>\/var\/named<\/p>\n\n\n\n<p>3. If there is entry of domain then you can remove\/kill the DNS entry using this command \u2013&nbsp;<br>\/scripts\/killdns domain_name<\/p>\n\n\n\n<p>Please give a try now, it should work! You can verify the DNS entry by firing the using this command \u2013&nbsp;<br>cat \/var\/cpanel\/userdata\/$user_name\/main<\/p>\n\n\n\n<p>4. If you are still facing the same issue then you will need to check the other servers with the same&nbsp;DNS cluster. There should not be entry of domain on the other server which you are trying to add.<\/p>\n\n\n\n<p>If there is DNS entry then you will need to remove that entry. (Please make sure the domain which you are trying to add is present as addon domain\/parked domain(aliases)\/sub-domain).<\/p>\n\n\n\n<p>Please take backup of DNS zone file before editing it (for safe-side). You can fire below command for it \u2013<br>cp -rp \/var\/named\/domain_name.db \/var\/named\/domain_name.db_backup<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A DNS entry for \u2018domain_name\u2019 already exists. You must remove this DNS entry from all servers in the DNS cluster to proceed. While adding addon domain under cPanel, I was getting error as below \u2013 A DNS entry for \u2018domain_name\u2019 already exists. You must remove this DNS entry from all servers in the DNS cluster [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[33],"tags":[],"class_list":["post-3299","post","type-post","status-publish","format-standard","hentry","category-cpanel"],"jetpack_publicize_connections":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>A DNS entry for \u2018domain_name\u2019 already exists | 24x7serversupport Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.24x7serversupport.com\/blog\/a-dns-entry-for-domain_name-already-exists\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"A DNS entry for \u2018domain_name\u2019 already exists | 24x7serversupport Blog\" \/>\n<meta property=\"og:description\" content=\"A DNS entry for \u2018domain_name\u2019 already exists. You must remove this DNS entry from all servers in the DNS cluster to proceed. While adding addon domain under cPanel, I was getting error as below \u2013 A DNS entry for \u2018domain_name\u2019 already exists. You must remove this DNS entry from all servers in the DNS cluster [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.24x7serversupport.com\/blog\/a-dns-entry-for-domain_name-already-exists\/\" \/>\n<meta property=\"og:site_name\" content=\"24x7serversupport Blog\" \/>\n<meta property=\"article:published_time\" content=\"2021-03-08T04:44:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-03-08T04:49:16+00:00\" \/>\n<meta name=\"author\" content=\"24x7support\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@24x7serversuppo\" \/>\n<meta name=\"twitter:site\" content=\"@24x7serversuppo\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"24x7support\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/a-dns-entry-for-domain_name-already-exists\/\",\"url\":\"https:\/\/www.24x7serversupport.com\/blog\/a-dns-entry-for-domain_name-already-exists\/\",\"name\":\"A DNS entry for \u2018domain_name\u2019 already exists | 24x7serversupport Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#website\"},\"datePublished\":\"2021-03-08T04:44:03+00:00\",\"dateModified\":\"2021-03-08T04:49:16+00:00\",\"author\":{\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/a-dns-entry-for-domain_name-already-exists\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.24x7serversupport.com\/blog\/a-dns-entry-for-domain_name-already-exists\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/a-dns-entry-for-domain_name-already-exists\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.24x7serversupport.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"A DNS entry for \u2018domain_name\u2019 already exists\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#website\",\"url\":\"https:\/\/www.24x7serversupport.com\/blog\/\",\"name\":\"24x7serversupport Blog\",\"description\":\"Linux | CPanel | WHM | webhosting| Plesk | DirectAdmin | CentOs | Debian | Ubuntu Blog\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.24x7serversupport.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401\",\"name\":\"24x7support\",\"url\":\"https:\/\/www.24x7serversupport.com\/blog\/author\/24x7support\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"A DNS entry for \u2018domain_name\u2019 already exists | 24x7serversupport Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.24x7serversupport.com\/blog\/a-dns-entry-for-domain_name-already-exists\/","og_locale":"en_US","og_type":"article","og_title":"A DNS entry for \u2018domain_name\u2019 already exists | 24x7serversupport Blog","og_description":"A DNS entry for \u2018domain_name\u2019 already exists. You must remove this DNS entry from all servers in the DNS cluster to proceed. While adding addon domain under cPanel, I was getting error as below \u2013 A DNS entry for \u2018domain_name\u2019 already exists. You must remove this DNS entry from all servers in the DNS cluster [&hellip;]","og_url":"https:\/\/www.24x7serversupport.com\/blog\/a-dns-entry-for-domain_name-already-exists\/","og_site_name":"24x7serversupport Blog","article_published_time":"2021-03-08T04:44:03+00:00","article_modified_time":"2021-03-08T04:49:16+00:00","author":"24x7support","twitter_card":"summary_large_image","twitter_creator":"@24x7serversuppo","twitter_site":"@24x7serversuppo","twitter_misc":{"Written by":"24x7support","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.24x7serversupport.com\/blog\/a-dns-entry-for-domain_name-already-exists\/","url":"https:\/\/www.24x7serversupport.com\/blog\/a-dns-entry-for-domain_name-already-exists\/","name":"A DNS entry for \u2018domain_name\u2019 already exists | 24x7serversupport Blog","isPartOf":{"@id":"https:\/\/www.24x7serversupport.com\/blog\/#website"},"datePublished":"2021-03-08T04:44:03+00:00","dateModified":"2021-03-08T04:49:16+00:00","author":{"@id":"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401"},"breadcrumb":{"@id":"https:\/\/www.24x7serversupport.com\/blog\/a-dns-entry-for-domain_name-already-exists\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.24x7serversupport.com\/blog\/a-dns-entry-for-domain_name-already-exists\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.24x7serversupport.com\/blog\/a-dns-entry-for-domain_name-already-exists\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.24x7serversupport.com\/blog\/"},{"@type":"ListItem","position":2,"name":"A DNS entry for \u2018domain_name\u2019 already exists"}]},{"@type":"WebSite","@id":"https:\/\/www.24x7serversupport.com\/blog\/#website","url":"https:\/\/www.24x7serversupport.com\/blog\/","name":"24x7serversupport Blog","description":"Linux | CPanel | WHM | webhosting| Plesk | DirectAdmin | CentOs | Debian | Ubuntu Blog","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.24x7serversupport.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401","name":"24x7support","url":"https:\/\/www.24x7serversupport.com\/blog\/author\/24x7support\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/posts\/3299","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/comments?post=3299"}],"version-history":[{"count":1,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/posts\/3299\/revisions"}],"predecessor-version":[{"id":3300,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/posts\/3299\/revisions\/3300"}],"wp:attachment":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/media?parent=3299"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/categories?post=3299"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/tags?post=3299"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}