<div dir="ltr"><div>Thanks for the quick response Klaus.<br></div><div><br></div>Indeed, the type is 'NATIVE'. Should it be 'MASTER' in all cases?<br><br>I am going to create a new domain with type 'MASTER' to see its behavior. I estimate that the transmission of the rest as 'NATIVE' will not influence the transmission or should I eliminate them as well?<br><div><br></div><div>+----+------------------+--------+------------+--------+-----------------+---------+---------+---------+<br>| id | name | master | last_check | type | notified_serial | account | options | catalog |<br>+----+------------------+--------+------------+--------+-----------------+---------+---------+---------+<br>| 1 | <a href="http://test.dev">test.dev</a> | | NULL | NATIVE | 2022101403 | | NULL | NULL |<br>| 2 | <a href="http://test2.dev">test2.dev</a> | | NULL | NATIVE | 2022101403 | | NULL | NULL |<br>| 3 | <a href="http://test3.dev">test3.dev</a> | | NULL | NATIVE | 2022101403 | | NULL | NULL |<br>| 4 | <a href="http://test4.dev">test4.dev</a> | | NULL | NATIVE | NULL | | NULL | NULL |<br>+----+------------------+--------+------------+--------+-----------------+---------+---------+---------+<br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El jue, 12 oct 2023 a las 14:23, Klaus Darilion (<<a href="mailto:klaus.darilion@nic.at">klaus.darilion@nic.at</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div id="m_-3081891141854095900gw-compose-body-div" style="font-family:Arial;font-size:12pt;color:rgb(0,0,0)">
<div>I have never used pdnsutil. Maybe the domain is created with type NATIVE instead of MASTER. Check the 'domains' table.</div>
<div><br>
</div>
<div>Klaus</div>
<div><br>
</div>
<div><br>
</div>
<div id="m_-3081891141854095900gw-compose-signature-div" style="font-family:Arial;font-size:12pt;color:rgb(0,0,0)">
Gesendet über BlackBerry Work (<a href="http://www.blackberry.com" target="_blank">www.blackberry.com</a>)</div>
</div>
<hr style="display:inline-block;width:98%">
<div><b>Von: </b>Pdns-users <<a href="mailto:pdns-users-bounces@mailman.powerdns.com" target="_blank">pdns-users-bounces@mailman.powerdns.com</a>> im Namen von Andres Alejandro Dobie via Pdns-users <<a href="mailto:pdns-users@mailman.powerdns.com" target="_blank">pdns-users@mailman.powerdns.com</a>><br>
<b>Gesendet: </b>12.10.2023 19:09<br>
<b>An: </b><a href="mailto:pdns-users@mailman.powerdns.com" target="_blank">pdns-users@mailman.powerdns.com</a><br>
<b>Cc: </b>Andres Alejandro Dobie <<a href="mailto:andres.dobie@gmail.com" target="_blank">andres.dobie@gmail.com</a>><br>
<b>Betreff: </b>[Pdns-users] Problem with master and slave config<br>
<br type="attribution">
</div>
<div>
<div dir="ltr">Hi all, and sorry for my english. Its not my mother language.
<div><br>
</div>
<div>I have 2 PDNS servers, master and slave</div>
<div><br>
</div>
<div>PDNS Master - 192.168.0.200 - <a href="http://ns1.example.com" target="_blank">ns1.example.com</a></div>
<div>PDNS Slave - 192.168.0.201 - <a href="http://ns2.example.com" target="_blank">ns2.example.com</a></div>
<div><br>
</div>
<div>both with PowerDNS Authoritative Server 4.8.1</div>
<div><br>
</div>
<div>My master config:</div>
<div><br>
</div>
<div>allow-axfr-ips=192.168.0.201<br>
allow-dnsupdate-from=<a href="http://127.0.0.0/8,::1" target="_blank">127.0.0.0/8,::1</a><br>
allow-notify-from=<a href="http://0.0.0.0/0,::/0" target="_blank">0.0.0.0/0,::/0</a><br>
<br>
default-soa-content=<a href="http://ns1.example.com" target="_blank">ns1.example.com</a>. <a href="http://sysadmin.example.com" target="_blank">
sysadmin.example.com</a>. 2023101402 21600 3600 1209600 21600<br>
disable-axfr=no<br>
disable-syslog=no<br>
#include-dir=/etc/powerdns/pdns.d<br>
<br>
launch=gmysql<br>
gmysql-host=localhost<br>
gmysql-user=pdnsadmin<br>
gmysql-password=Superlogico*96<br>
gmysql-dbname=pdns<br>
<br>
log-dns-queries=yes<br>
log-timestamp=yes<br>
loglevel=5<br>
master=yes<br>
primary=yes<br>
query-logging=yes<br>
also-notify=192.168.0.201<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>My slave config:</div>
<div><br>
</div>
<div><br>
disable-syslog=no<br>
#include-dir=/etc/powerdns/pdns.d<br>
<br>
#nuevo<br>
allow-notify-from=192.168.0.200<br>
<br>
setgid=pdns<br>
setuid=pdns<br>
<br>
#nuevo<br>
local-address=192.168.0.201<br>
local-port=53<br>
query-local-address=192.168.0.201<br>
server-id=<a href="http://ns2.example.com" target="_blank">ns2.example.com</a><br>
<br>
launch=gmysql<br>
<br>
gmysql-host=localhost<br>
gmysql-user=pdnsadmin<br>
gmysql-password=Superlogico*96<br>
gmysql-dbname=pdns<br>
<br>
log-dns-queries=yes<br>
log-timestamp=yes<br>
query-logging=yes<br>
#nuevo<br>
master=no<br>
superslave=yes<br>
#slave=yes<br>
slave-cycle-interval=2<br>
autosecondary=yes<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>I do the follow, crate zone in master and add some records:</div>
<div><br>
</div>
<div>pdnsutil create-zone <a href="http://testing.dev" target="_blank">testing.dev</a><br>
</div>
<div><br>
</div>
<div>pdnsutil add-record <a href="http://testing.dev" target="_blank">testing.dev</a> @ NS <a href="http://ns1.example.com" target="_blank">
ns1.example.com</a></div>
<div>pdnsutil add-record <a href="http://testing.dev" target="_blank">testing.dev</a> @ NS <a href="http://ns2.example.com" target="_blank">
ns2.example.com</a><br>
</div>
<div><br>
</div>
<div>after that...</div>
<div><br>
</div>
<div>pdnsutil increase-serial <a href="http://testing.dev" target="_blank">testing.dev</a><br>
</div>
<div><br>
</div>
<div>At this point I suposse the slave srv comunicate with master and replicate de zones but Nothing happens... at least not automatically...</div>
<div><br>
</div>
<div>If I do in master:</div>
<div><br>
</div>
<div>pdns_control notify <a href="http://testing.dev" target="_blank">testing.dev</a><br>
</div>
<div><br>
</div>
<div>Master send and comunicate with slave and replicate de zones correctly</div>
<div><br>
</div>
<div>Master:</div>
<div>pdns_control list-zones<br>
</div>
<div><a href="http://testing.dev" target="_blank">testing.dev</a>.</div>
<div><br>
</div>
<div>Slave:</div>
<div>pdns_control list-zones<br>
<a href="http://testing.dev" target="_blank">testing.dev</a>.</div>
<div><br>
</div>
<div>But it does not do it automatically, I must carry out this process by hand knowing the area in advance. How can I carry out this process independently? Is there something wrong with my Master/Slave configuration?<br>
</div>
<div><br>
</div>
<div>Thank you very much in advance for your appreciated help.<br>
</div>
<div><br>
</div>
</div>
</div>
</div>
</blockquote></div>