• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

Resolved Help on Deleting Orphaned DNS Entree Command ?

BobK

New Pleskian
I have an Orphaned DNS entree from a failed domain creation and now i cant add that new domain because it says DNS entree already exists. I found this article on how to remove it


But I am not following the syntax of the delete commands they want. Assuming the domain name is DOMAIN.ABC could someone provide and example of how to delete that domain from the database?

delete from dns_recs where dns_zone_id in (select id from dns_zone where id not in (select dns_zone_id from domains) and id not in (select dns_zone_id from domain_aliases));

AND

delete from dns_zone where id not in (select dns_zone_id from domains) and id not in (select dns_zone_id from domain_aliases);


Much appreciated! Thanks!
 
Last edited:
But I am not following the syntax of the delete commands they want.
Why? I think that there is absolutely clearly described steps for resolving the issue. Why not just follow them? What sort of problems with it?
 
delete from dns_zone where id not in (select dns_zone_id from domains) and id not in (select dns_zone_id from domain_aliases); Kodi nox
 
Back
Top