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

SOA serial number mismatch between Master and Slave Name Ser

Questions regarding the DNS Server
BIND
Post Reply
  • Print view
Advanced search
10 posts • Page 1 of 1
M1LIAM
Posts: 15
Joined: Tue Jun 17, 2014 8:39 am

SOA serial number mismatch between Master and Slave Name Ser
  • Quote

Post by M1LIAM » Sat Jun 28, 2014 5:19 am

I have been trying to set up a VestaCP instance with two Nameserver's. I have followed the documentaion many times over but I am still stuck with one issue ...

The records all update to the second name server but there appears to be a mismatch between the records on the two servers. E.g MyDomain.tld - SOA ****05 on NS1 and MyDomain.tld - SOA *****01 on NS2.

I have spent many hours trying to figure ths out and it doesnt appear to be a known issue in the forum's so any help would be greatly appreciated.
Top

cagriaksu
Posts: 9
Joined: Tue Jul 08, 2014 1:01 pm

Re: SOA serial number mismatch between Master and Slave Name
  • Quote

Post by cagriaksu » Tue Jul 08, 2014 8:53 pm

I have the exact same problem, and manually editing the zone file temporarily solves the problem but as soon as I make a change on the master server, SOA serial number reverts on the slave server when it gets updated.

And there is another strange thing, when I run

v-sync-dns-cluster

the SOA serial number on the slave reverts to 01 like it is newly created...

This has to be fixed immediately, so the team please help us.
Top

cagriaksu
Posts: 9
Joined: Tue Jul 08, 2014 1:01 pm

Re: SOA serial number mismatch between Master and Slave Name
  • Quote

Post by cagriaksu » Mon Jul 14, 2014 9:41 am

OK I got to solve it manually, this is how I do it:

Determine which one of the DNS server is left behind. i.e. the SOA serial number is smaller than the other servers.

Login to that server, and run this command for each of the un-sync domains:

v-rebuild-dns-domain dns-cluster xxyyzz.com

Each time you run this command, it ticks the serial number by 1. So if yours is behind 3 numbers, run the command 3 times and check.

I hope that this will be resolved in the next version
Top

7thkey
Posts: 8
Joined: Wed Aug 06, 2014 4:49 pm

Re: SOA serial number mismatch between Master and Slave Name
  • Quote

Post by 7thkey » Wed Aug 06, 2014 4:56 pm

cagriaksu wrote:OK I got to solve it manually, this is how I do it:

Determine which one of the DNS server is left behind. i.e. the SOA serial number is smaller than the other servers.

Login to that server, and run this command for each of the un-sync domains:

v-rebuild-dns-domain dns-cluster xxyyzz.com

Each time you run this command, it ticks the serial number by 1. So if yours is behind 3 numbers, run the command 3 times and check.

I hope that this will be resolved in the next version
Hi there, i am having the same issue but I can't run this command to fixit. The thing is that my serial number differs by 7598. Is there another way to acomplish the same task instead hitting 7598 times the "v-rebuild-dns-domain dns-cluster xxyyzz.com" command?

Thanks
Vesta Rules!!
Top

karlis.kisis
Posts: 14
Joined: Fri Sep 19, 2014 10:47 am

Re: SOA serial number mismatch between Master and Slave Name
  • Quote

Post by karlis.kisis » Fri Sep 19, 2014 10:51 am

I have the same problem, so it clearly is a bug.

I like Vesta CP very much so it would be nice to fix it or find a workaround.

I will try the manual fix for each domain as it was suggested some posts ago but that is not a solution.
Top

krok
Posts: 65
Joined: Wed Oct 01, 2014 10:58 am

Re: SOA serial number mismatch between Master and Slave Name
  • Quote

Post by krok » Sat Nov 08, 2014 12:49 am

Yeah its a bug, i have it too.
Top

sim
Posts: 101
Joined: Sat Nov 22, 2014 7:47 pm

Re: SOA serial number mismatch between Master and Slave Name
  • Quote

Post by sim » Thu Dec 04, 2014 3:47 pm

Problem still persists...

Imperio, could you please take a look?

For example http://intodns.com/vpsinus.com

Or should we use DNS clusters together with AXFR ?
Top

drMacFaulty
Posts: 88
Joined: Thu Mar 06, 2014 7:52 pm
Contact:
Contact drMacFaulty
Website

Re: SOA serial number mismatch between Master and Slave Name
  • Quote

Post by drMacFaulty » Wed Dec 24, 2014 11:57 pm

Yes, I also experience this issue. Is there already a fix for this?
Top

drMacFaulty
Posts: 88
Joined: Thu Mar 06, 2014 7:52 pm
Contact:
Contact drMacFaulty
Website

Re: SOA serial number mismatch between Master and Slave Name
  • Quote

Post by drMacFaulty » Sun Dec 28, 2014 6:45 pm

drMacFaulty wrote:Yes, I also experience this issue. Is there already a fix for this?
Tested this now for a few days, but if I add a new domain with slave NS already set up, then sync is as it should be :S
So, for me this issue only arises when I am adding a new name server. The issue persists then and need to be resolved on the new name server.

So, shortly recapped:

- If domain is on master without any slaves and a slave is added, SOA goes out-of-sync.
- If domain is added when master and slaves are already present, sync is as it should be.
Top

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

Os: Ubuntu 15x
Web: apache + nginx
Re: SOA serial number mismatch between Master and Slave Name
  • Quote

Post by Felix » Fri Sep 11, 2015 7:46 am

I have the same problem.

For serials with a difference of 1 or 2, I use cagriaksu solution. For all other cases I edit the DNS zone manually by editing the following file:

Code: Select all

/home/[USER]/conf/dns/[TLD].db
I too believe this is a serious bug.
Top


Post Reply
  • Print view

10 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
 

 

cron

Login  •  Register

I forgot my password