<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 26/07/2018 11:15, Frank Altpeter
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CANx=-wPXRvC9KqPydj9-PvR--fSB=xb0kgB32rB4aOrDnnCtFA@mail.gmail.com">
<div class="gmail-cye-lm-tag">The value returned from the real
primary:</div>
<div class="gmail-cye-lm-tag">
<div class="gmail-cye-lm-tag">freddy@hades ~ % dig +short
+noshort <a href="http://floppysheep.com"
moz-do-not-send="true">floppysheep.com</a> soa @<a
href="http://koef.zs64.net" moz-do-not-send="true">koef.zs64.net</a></div>
<div class="gmail-cye-lm-tag"><a href="http://floppysheep.com"
moz-do-not-send="true">floppysheep.com</a>.<span style="white-space:pre" class="gmail-cye-lm-tag gmail-cye-lm-tag gmail-cye-lm-tag gmail-cye-lm-tag gmail-cye-lm-tag"> </span>432000<span style="white-space:pre" class="gmail-cye-lm-tag gmail-cye-lm-tag gmail-cye-lm-tag gmail-cye-lm-tag gmail-cye-lm-tag"> </span>IN<span style="white-space:pre" class="gmail-cye-lm-tag gmail-cye-lm-tag gmail-cye-lm-tag gmail-cye-lm-tag gmail-cye-lm-tag"> </span>SOA<span style="white-space:pre" class="gmail-cye-lm-tag gmail-cye-lm-tag gmail-cye-lm-tag gmail-cye-lm-tag gmail-cye-lm-tag"> </span><a
href="http://koef.zs64.net" moz-do-not-send="true">koef.zs64.net</a>.
<a href="http://hostmaster.zs64.net" moz-do-not-send="true">hostmaster.zs64.net</a>.
2018072400 86400 3600 3888000 300</div>
<div><br>
</div>
</div>
<div class="gmail-cye-lm-tag">The value returned from the hidden
primary:</div>
<div class="gmail-cye-lm-tag gmail-cye-lm-tag gmail-cye-lm-tag
gmail-cye-lm-tag gmail-cye-lm-tag gmail-cye-lm-tag">
<div class="gmail-cye-lm-tag">freddy@hades ~ % dig +short
+noshort <a href="http://floppysheep.com"
moz-do-not-send="true">floppysheep.com</a> soa @<a
href="http://p-dns.irz42.net" moz-do-not-send="true">p-dns.irz42.net</a></div>
<div class="gmail-cye-lm-tag gmail-cye-lm-tag"><a
href="http://floppysheep.com" moz-do-not-send="true">floppysheep.com</a>.<span style="white-space:pre" class="gmail-cye-lm-tag gmail-cye-lm-tag gmail-cye-lm-tag gmail-cye-lm-tag gmail-cye-lm-tag"> </span>432000<span style="white-space:pre" class="gmail-cye-lm-tag gmail-cye-lm-tag gmail-cye-lm-tag gmail-cye-lm-tag gmail-cye-lm-tag"> </span>IN<span style="white-space:pre" class="gmail-cye-lm-tag gmail-cye-lm-tag gmail-cye-lm-tag gmail-cye-lm-tag gmail-cye-lm-tag"> </span>SOA<span style="white-space:pre" class="gmail-cye-lm-tag gmail-cye-lm-tag gmail-cye-lm-tag gmail-cye-lm-tag gmail-cye-lm-tag"> </span><a
href="http://koef.zs64.net" moz-do-not-send="true">koef.zs64.net</a>.
<a href="http://hostmaster.zs64.net" moz-do-not-send="true">hostmaster.zs64.net</a>.
2018072601 86400 3600 3888000 300</div>
<div class="gmail-cye-lm-tag"><br>
</div>
<div class="gmail-cye-lm-tag">The value returned from the second
slave (directly syncing from the real primary):</div>
<div class="gmail-cye-lm-tag gmail-cye-lm-tag gmail-cye-lm-tag
gmail-cye-lm-tag">
<div class="gmail-cye-lm-tag">freddy@hades ~ % dig +short
+noshort <a href="http://floppysheep.com"
moz-do-not-send="true">floppysheep.com</a> soa @<a
href="http://s-dns.irz42.net" moz-do-not-send="true">s-dns.irz42.net</a></div>
<div class="gmail-cye-lm-tag gmail-cye-lm-tag"><a
href="http://floppysheep.com" moz-do-not-send="true">floppysheep.com</a>.<span style="white-space:pre" class="gmail-cye-lm-tag gmail-cye-lm-tag gmail-cye-lm-tag gmail-cye-lm-tag"> </span>432000<span style="white-space:pre" class="gmail-cye-lm-tag gmail-cye-lm-tag gmail-cye-lm-tag gmail-cye-lm-tag"> </span>IN<span style="white-space:pre" class="gmail-cye-lm-tag gmail-cye-lm-tag gmail-cye-lm-tag gmail-cye-lm-tag"> </span>SOA<span style="white-space:pre" class="gmail-cye-lm-tag gmail-cye-lm-tag gmail-cye-lm-tag gmail-cye-lm-tag"> </span><a
href="http://koef.zs64.net" moz-do-not-send="true">koef.zs64.net</a>.
<a href="http://hostmaster.zs64.net" moz-do-not-send="true">hostmaster.zs64.net</a>.
2018072400 86400 3600 3888000 300</div>
<div><br>
</div>
<div><br>
</div>
<div>As you see, both the master and the second slave
have 2018072400 as serial, but the hidden primary has the
serial 2018072601.</div>
<div><br>
</div>
<div>The problem is, I have no clue where this serial is
coming from. The domain is configured via bind backend so
the serial has to come from the zonefile itself, but it
isn't:</div>
<div><br>
</div>
<div>
<div>p-dns:~ # grep SOA /var/named/slave/<a
href="http://floppysheep.com" moz-do-not-send="true">floppysheep.com</a> </div>
<div>@<span style="white-space:pre" class="gmail-cye-lm-tag gmail-cye-lm-tag"> </span>432000<span style="white-space:pre" class="gmail-cye-lm-tag gmail-cye-lm-tag"> </span>SOA<span style="white-space:pre" class="gmail-cye-lm-tag gmail-cye-lm-tag"> </span><a
href="http://koef.zs64.net" moz-do-not-send="true">koef.zs64.net</a>.
<a href="http://hostmaster.zs64.net"
moz-do-not-send="true">hostmaster.zs64.net</a>.
2018072400 86400 3600 3888000 300</div>
</div>
<div class="gmail-cye-lm-tag"><br>
</div>
</div>
</div>
</blockquote>
<p>Which server is that file on? The hidden primary, real primary,
or slave?</p>
<p>Anyway, if I do a query now, it seems to have updated:</p>
<p><tt>$ dig +trace floppysheep.com. soa</tt><tt><br>
</tt><tt>...</tt><tt><br>
</tt></p>
<tt>floppysheep.com. 172800 IN NS p-dns.irz42.net.</tt><tt><br>
</tt><tt>floppysheep.com. 172800 IN NS s-dns.irz42.net.</tt><tt><br>
</tt><tt>;; Received 114 bytes from 192.5.6.30#53(192.5.6.30) in 191
ms</tt><tt><br>
</tt><tt><br>
</tt><tt>floppysheep.com. 432000 IN SOA koef.zs64.net.
hostmaster.zs64.net. 2018072601 86400 3600 3888000 300</tt><tt><br>
</tt><tt>;; Received 93 bytes from
2a00:14b0:4200:8600::30#53(2a00:14b0:4200:8600::30) in 35 ms</tt><tt><br>
</tt><tt><br>
</tt>(That IPv6 address shows the query went to p-dns.irz42.net)<br>
<br>
It could just be that you don't have notifications configured
properly, so the slaves (including "real primary" which is really a
slave) only update periodically. You have a refresh interval of
86400 seconds set, so it could take that long for the updates to
propagate if notifications aren't working.<br>
<br>
Regards,<br>
<br>
Brian.<br>
</body>
</html>