Nameservers doesn't have same SOA serial

zemaitis

Member
Jan 8, 2014
24
0
51
cPanel Access Level
Website Owner
Hello,

I have one vps with cPanel licence and ns1 service setup, then a second vps with dns only setup and binded with first one vps via dns clustering. I have this problem with soa:

Looks like your nameservers do not agree on the SOA serial. Ths SOA records as reported by your nameservers:
x.1.serv -> 2014011302
x.2.serv -> 2014011303
This can cause some serious problems that is why you should fix this asap.

How to manage this problem?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello :)

Could you provide details on how you have configured the cluster? Do you have the hosting server configured to synchronize changes to the DNS-Only server?

Thank you.
 

zemaitis

Member
Jan 8, 2014
24
0
51
cPanel Access Level
Website Owner
Also before adding secondary dns only+ns2 vps I had a secondary nameserver which IP now is changed to new dns only ns2 vps IP. It was done before 24 hours. However intodns.com shows this:

your nameservers NS records got from your nameservers listed at the parent NS are:

ns2.subdomain.lt ['old ns2 ip, 'new ns2 ip'] [TTL=86400]
ns1.subdomain.lt ['ns1 ip'] [TTL=86400]

why old ns2 ip is shown? I completely removed it from my cpanel+whm+ns1 vps..
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Websites such as IntoDNS will sometimes display cached data. You can try looking up the DNS information using the "dig" command to see if you notice the same issue. Feel free to open a support ticket using the link in my signature if you want us to take a closer look. You can post the ticket number here so we can update this thread with the outcome.

Thank you.
 

zemaitis

Member
Jan 8, 2014
24
0
51
cPanel Access Level
Website Owner
Websites such as IntoDNS will sometimes display cached data. You can try looking up the DNS information using the "dig" command to see if you notice the same issue. Feel free to open a support ticket using the link in my signature if you want us to take a closer look. You can post the ticket number here so we can update this thread with the outcome.

Thank you.
Code:
dig myserver.lt

; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>> myserver.lt
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 3703
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;myserver.lt.                   IN      A

;; ANSWER SECTION:
myserver.lt.            14400   IN      A       host1.ip

;; AUTHORITY SECTION:
myserver.lt.            7200    IN      NS      ns2.myserver.lt.
myserver.lt.            7200    IN      NS      ns1.myserver.lt.

;; ADDITIONAL SECTION:
ns1.myserver.lt.        7200    IN      A       ns1.ip
ns2.myserver.lt.        7200    IN      A       ns2.ip

;; Query time: 48 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Jan 14 20:37:10 2014
;; MSG SIZE  rcvd: 113
dig command shows everything good.

So, what to do with my soa records or how to check them?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
dig command shows everything good.

So, what to do with my soa records or how to check them?
You can check the SOA record with a command such as:

Code:
dig @nameserver SOA domain.com
Try synchronizing the zones if you are seeing different results.

Thank you.
 

zemaitis

Member
Jan 8, 2014
24
0
51
cPanel Access Level
Website Owner
I checked SOA record of my ns1 server and in it ns2 server ip is shown wrong (old nameserver ip), how to change ip in that soa record?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
What is the specific record are you referencing? You can edit a DNS Zone via:

"WHM Home » DNS Functions » Edit DNS Zone"

Thank you.
 

zemaitis

Member
Jan 8, 2014
24
0
51
cPanel Access Level
Website Owner
I dig into my ns1.

Output:

dig @ns1.myserver.lt SOA myserver.lt

; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>> @ns1.myserver.lt SOA myserver.lt
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64052
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;myserver.lt. IN SOA

;; ANSWER SECTION:
myserver.lt. 86400 IN SOA ns1.myserver.lt. mymail.gmail.com. 2014011400 86400 7200 3600000 86400

;; AUTHORITY SECTION:
myserver.lt. 86400 IN NS ns2.myserver.lt.
myserver.lt. 86400 IN NS ns1.myserver.lt.

;; ADDITIONAL SECTION:
ns1.myserver.lt. 14400 IN A good.ns1.ip
ns2.myserver.lt. 14400 IN A old.ns2.ip(it's wrong, should display good one)

;; Query time: 0 msec
;; SERVER: good.ns1.ip#53(good.ns1.ip)
;; WHEN: Tue Jan 14 21:51:13 2014
;; MSG SIZE rcvd: 158
 

zemaitis

Member
Jan 8, 2014
24
0
51
cPanel Access Level
Website Owner
Also I pointed ns1 and ns2 good it shouldnt be a problem

I don't understand, sometimes ns2 subdomain when I ping points to old one ip, sometimes to new one. I'm considering a full vps reinstall..
 
Last edited:

cPanelPeter

Senior Technical Analyst
Staff member
Sep 23, 2013
585
25
153
cPanel Access Level
Root Administrator
Hello,

I would not do a full reinstall as that is overkill and may not solve the issue. Feel free to open a support ticket using the link in my signature, and we can have one of our analysts investigate this for you.
 

zemaitis

Member
Jan 8, 2014
24
0
51
cPanel Access Level
Website Owner
cPanel Support Bryan Dowd solved the problem in 5 minutes!

Howdy,

I found the issue. You had two extra DNS zones setup on the server for ns1.domain.lt and ns2.domain.lt. Since you already have the DNS records setup correctly in the zone for hostrent.lt. I removed them. The method I used to find it was to grep for the IP address in the named directory. See below:

[18:15:29 s [email protected] ~]cPs# grep 213.65.66.5 /var/named/*