There is a disconnection in DNS settings

Good day,
I wanted to share with you the same error that I have been experiencing for about 3-4 months on different server installations because I couldn’t solve it this time. I couldn’t share any logs about the problem. Because I don’t know which records I should share.
The problem is as follows: I added a domain from the user control panel and checked the “email support” and “dns support” buttons. I checked and approved all the settings. I also checked and approved the domain’s binding records.
When I enter the domain’s settings, enter the aliases I use, check the “Enable SSL” checkbox and click “Save”, I get the error “Error: DNS record for cpanel.domain.com doesn’t exist”. Because the DNS records (including the SOA record) saved on the DNS domain work properly, but the records are passive. Bind somehow doesn’t return these DNS records. It seems like there is no DNS. The records I made are perceived as if they don’t exist by Bind.
My examinations are as follows:

  • I checked the DNS records again.
  • I deleted the DNS records and saved them again.
  • I opened the DNS records and clicked the save button without making any changes.
  • I deleted the DNS domain and created a new DNS domain with the same records.
  • I deactivated the DNS domain and then reactivated it.
  • I changed the CNAME records to A, and the A records to CNAME.
  • I tried adding (.) to the end of the SOA and NS records.
  • I restarted the Bind9 server.
  • I completely restarted the server.

What else should I do?

Based on my experience, first save all settings without enabling SSL.

Ensure that the domain’s DNS settings at your registrar are correctly pointing to the server’s IP address. Once the DNS is properly configured and propagated, you can edit the domain configuration and enable SSL without errors.

It just runs “nslookup domain.tld” on the server itself to check, if the record is available. Check why this nslookup fails or gives back an invalid answer.

Thank you both for your help.
When I look at it with nslookup, something different happens. Although I updated the IP addresses from the regular domain registrar, the IP addresses of the old server are returned. I think I will provide this.