<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Please disregard my email and very sorry for the noise. <div><br></div><div>/c<br><br><div><hr id="stopSpelling">From: claudiaeriksen@outlook.com<br>To: pdns-users@mailman.powerdns.com<br>Date: Thu, 5 Nov 2015 19:37:15 +0100<br>Subject: [Pdns-users] understanding soa-edit / also-notify<br><br>

<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--></style>
<div dir="ltr"><span style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:10pt;background-color:rgb(255, 255, 255);">Hi all,</span><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:small;"><br></div><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:small;">I am migrating from bind master to powerdns and I am having difficulties understanding how the soa-edit works. </div><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:small;"><br></div><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:small;">The type of the soa-edit in domainmetadata is INCEPTION-INCREMENT and the soa record for the zone is : </div><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:small;"><br></div><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:small;"><div>;; ANSWER SECTION:</div><div>claudiasdomain.com.     3600    IN      SOA     nic1.claudiasdomain.com. hostmaster.claudiasdomain.com. 2015063000 3600 900 1209600 86400</div></div><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:small;"><br></div><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:small;">So after I set up the db on powerdns, and I created one new record in the zone above the SOA record on the slave is updated to:</div><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:small;"><br></div><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:small;"> ;; ANSWER SECTION:</div><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:small;">claudiasdomain.com.     3600    IN      SOA     nic1.claudiasdomain.com. hostmaster.claudiasdomain.com. 2015110501 3600 900 1209600 86400</div><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:small;"><br></div><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:small;">and querying the slave locally for the new record works fine. </div><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:small;">If I add a second record to the zone on master, querying the slave locally still works fine, but the SOA is no longer updated. </div><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:small;"><br></div><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:small;">Also on the master, the db is not touched, since the serial nb on the SOA record and the notified_serial field in the domains table remains the same as it was when I first set up the server: </div><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:small;"><br></div><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:small;"><div>pdns=# select id,name,type,notified_serial from domains where id='17';</div><div> id |        name        |  type  | notified_serial </div><div>----+--------------------+--------+-----------------</div><div> 17 | claudiasdomain.com | MASTER |      2015063000</div><div>(1 row)</div><div><br></div><div>pdns=# </div></div><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:small;"><br></div><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:small;"><div>pdns=# select domain_id,name,type,content from records where domain_id='17' and type='SOA';</div><div> domain_id |        name        | type |                                         content                                         </div><div>-----------+--------------------+------+-----------------------------------------------------------------------------------------</div><div>        17 | claudiasdomain.com | SOA  | nic1.claudiasdomain.com hostmaster.claudiasdomain.com 2015063000 3600 900 1209600 86400</div><div>(1 row)</div><div><br></div><div>pdns=# </div></div><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:small;"><br></div><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:small;">I would really like to understand how this works, and so far I haven't been able to find the proper docs to read about this. Could someone, please, point me to the right direction? </div><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:small;"><br></div><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:small;">Thanks a lot!</div><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:small;"><br></div><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:small;">Regards,</div><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:small;">/c</div><div><br></div>                                     </div>
<br>_______________________________________________
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users</div></div>                                           </div></body>
</html>