Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section DNS Server
  • Search

Cannot unsuspend domains

Questions regarding the DNS Server
BIND
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
Felix
Posts: 134
Joined: Tue Aug 04, 2015 7:15 pm

Os: Ubuntu 15x
Web: apache + nginx
Cannot unsuspend domains
  • Quote

Post by Felix » Fri Sep 08, 2017 1:44 pm

Hello,

I have 2 VPS with VestCP. I've followed the Slave DNS Cluster guide and the second acts as a SLAVE DNS, so lets call the servers MASTER and SLAVE. This setups has been working OK for 2 years.

Recently, I suspended some domains in MASTER server and after some weeks I completely removed them from MASTER (unsuspend the domains in MASTER and then delete the domains). The problem is that I can still see the deleted domains in the SLAVE server, under DNS of the dns-cluster user account. Moreover, I cannot unsuspend the domains and so I cannot delete them.

I tried using the command line at the SLAVE server:

Code: Select all

v-unsuspend-domain dns-cluster domain.tld
but that failed with error:

Code: Select all

/usr/local/vesta/func/main.sh: line 293: 27:DOMAIN=domain.tld: command not found
There must be a bug somewhere...? Has anyone else faced this?
Top

Felix
Posts: 134
Joined: Tue Aug 04, 2015 7:15 pm

Os: Ubuntu 15x
Web: apache + nginx
Re: Cannot unsuspend domains
  • Quote

Post by Felix » Fri Sep 08, 2017 7:41 pm

OK, this was tricky but I have found fix that worked in my case. I'm sharing it here so it might help others.

Reading through the code of v-unsuspend-domain I found that the info about DNS domains is saved in the file: /usr/local/vesta/data/users/dns-cluster/dns.conf

So I opened this file and found that there were 2 entries for each domain I coulnd't unsuspend. I deleted one of the two entries for each domain and then managed to unsusped using VESTA GUI. After that deleting was a breeze.
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “DNS Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password