<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta content="text/html; charset=utf-8">
</head>
<body>
<div id="gw-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="gw-compose-signature-div" style="font-family:"Arial"; font-size:12pt; color:#000000">
Gesendet über BlackBerry Work (www.blackberry.com)</div>
</div>
<hr style="display:inline-block; width:98%">
<div class="quote"><b>Von: </b>Pdns-users <pdns-users-bounces@mailman.powerdns.com> im Namen von Andres Alejandro Dobie via Pdns-users <pdns-users@mailman.powerdns.com><br>
<b>Gesendet: </b>12.10.2023 19:09<br>
<b>An: </b>pdns-users@mailman.powerdns.com<br>
<b>Cc: </b>Andres Alejandro Dobie <andres.dobie@gmail.com><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">ns1.example.com</a></div>
<div>PDNS Slave - 192.168.0.201 - <a href="http://ns2.example.com">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">127.0.0.0/8,::1</a><br>
allow-notify-from=<a href="http://0.0.0.0/0,::/0">0.0.0.0/0,::/0</a><br>
<br>
default-soa-content=<a href="http://ns1.example.com">ns1.example.com</a>. <a href="http://sysadmin.example.com">
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">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">testing.dev</a><br>
</div>
<div><br>
</div>
<div>pdnsutil add-record <a href="http://testing.dev">testing.dev</a> @ NS <a href="http://ns1.example.com">
ns1.example.com</a></div>
<div>pdnsutil add-record <a href="http://testing.dev">testing.dev</a> @ NS <a href="http://ns2.example.com">
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">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">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">testing.dev</a>.</div>
<div><br>
</div>
<div>Slave:</div>
<div>pdns_control list-zones<br>
<a href="http://testing.dev">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>
</body>
</html>