Skip to main content

cPanel DNSONLY

Answered

Comments

7 comments

  • cPRex Jurassic Moderator

    Hey there!  I wasn't able to reproduce this on a test cluster as the entry in /var/named was removed.  Here is the file after creating the domain:

    # grep rextesting.com /etc/named.conf
    zone "rextesting.com" {
        file "/var/named/rextesting.com.db";

    and here is that file after I terminated the account from cPanel:

    # grep rextesting.com /etc/named.conf
    [root@45-63-66-195 ~]# 

    Is it possible that you have the "keep DNS Zone" option enabled on the server and that is causing this behavior?

    If not, and if you have a server that is reliably exhibiting this behavior, could you create a ticket so this can be investigated?

    0
  • Unnamed User

    I notice that when you grep the domain after adding it, it only comes up once for you, in my system it has Internal & External views and it appears twice after adding a zone, once in the Internal view and once in the External view? and both entries are still there after deleting the zone, although it does remove the actual .db zone file from /var/named/

    The "keep dns zone" checkbox is not selected when deleting. I have two dnsonly servers that this happens on exactly the same, they are on cpanel version 122.0.27.

     

    0
  • cPRex Jurassic Moderator

    It's normal for it to come up twice - I just edited my grep for clarity.

    Could you create a ticket for that behavior?

    0
  • Unnamed User

    Sure I would open a ticket, but I just tested again, before placing the ticket, and its working now and appears to be removing the entry from named.conf and the zone file from /var/named

    I noticed that it happened for several domains in the past, but as I say it appears to be working now

    Thanks for looking into this for me

    0
  • cPRex Jurassic Moderator

    I'm glad to hear things are working well now.  It's possible there was a bit of a delay before those were removed to avoid unnecessary restarts of the named service.  If you run into anything else just let me know!

    0
  • Unnamed User

    Whoops I spoke too soon. I just deleted another account and it left the zone entires in named.conf so it seems to be intermittent. Then I deleted the test account again that I tried previously and this time it also left the named.conf entries behind

    0
  • cPRex Jurassic Moderator

    It would likely be best to create a ticket on this issue so the problem can be seen in action.

    0

Please sign in to leave a comment.