<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><br><br><br><br><br><div style="position:relative;zoom:1"></div><div id="divNeteaseMailCard"></div><br>At 2019-03-11 19:27:13, "Brian Candler" <b.candler@pobox.com> wrote:<br> <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="moz-cite-prefix">Please reply to the list, not to me
personally.</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">On 11/03/2019 11:15, ½ª²®Ñó wrote:<br>
</div>
<blockquote type="cite" cite="mid:67355f8b.d661.1696c768400.Coremail.15555513217@163.com">
<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial">
<div>
<div>Thank you first!</div>
<div>My environment is a pdns master node, two pdns slave
nodes, that is, three servers. Whether I deploy on two slave
nodes or all nodes deploy recursor, master-slave
synchronization fails!</div>
</div>
<div>
<div>From the node's configuration file:</div>
<div>Setgid=pdns</div>
<div>Setuid=pdns</div>
<div>Daemon=yes</div>
<div>Local-address=127.0.0.1</div>
<div>Local-port=5300</div>
<div>Loglevel=9</div>
<div>Local-ipv6=</div>
<div><br>
</div>
<div>#log-dns-queries=yes</div>
<div># Number of seconds to store packets in PacketCache</div>
<div>Cache-ttl=60</div>
<div># The number of seconds to store negative query results
in QueryCache</div>
<div>Negquery-cache-ttl=60</div>
<div># Number of seconds to store query results in QueryCache</div>
<div>Query-cache-ttl=60</div>
<div># Accept the threads of the Packets (generally the same
as the number of CPU cores)</div>
<div>Receiver-threads=12</div>
<div>Reuseport=yes</div>
<div># Number of threads per thread connected backend</div>
<div>Distributor-threads=20</div>
<div><br>
</div>
<div># Database related configuration</div>
<div>Launch=gmysql</div>
<div>Gmysql-host=10.3.0.12</div>
<div>Gmysql-port=3306</div>
<div>Gmysql-user=powerdns</div>
<div>Gmysql-dbname=powerdns</div>
<div>Gmysql-password=powerdns</div>
<div><br>
</div>
<div># webserverrelated configuration</div>
<div>Api=yes</div>
<div># webserver login username</div>
<div>Api-key=changeme</div>
<div>Webserver=yes</div>
<div>Webserver-address=0.0.0.0</div>
<div>Webserver-password=wpt123465</div>
<div>Webserver-allow-from=0.0.0.0/0</div>
<div>Webserver-port=8081</div>
<div><br>
</div>
<div># slave node configuration</div>
<div>Slave=yes</div>
<div>Allow-notify-from=10.3.2.15</div>
<div># This is the number of seconds between the slave check
area updates</div>
<div>Slave-cycle-interval=60</div>
<div># Insert the name in the SOA record if there is no
setting in the backend</div>
<div>Default-soa-name=test-ops-dns-1</div></div><div>
<div><br></div></div>
<div>
<div>Recursor configuration file:</div>
<div>Daemon=yes</div>
<div># Allow all clients to make DNS requests</div>
<div>Allow-from=0.0.0.0/0</div>
<div><br>
</div>
<div># Specify the domain name that needs to be forwarded</div>
<div>Forward-zones=test.org=127.0.0.1:5300</div>
<div><br>
</div>
<div># No domain name specified, default forwarding to
114.114.114.114</div>
<div>Forward-zones-recurse=.=114.114.114.114</div>
<div>Forward-zones-recurse=.=223.5.5.5</div>
<div><br>
</div>
<div>Local-address=10.3.0.12</div>
<div>Local-port=53</div>
</div>
<div>I don't know what my configuration is wrong? Still there,
please help me.</div>
<div><br>
</div>
<div>I always see this error on the API monitoring page of the
8081.</div>
<br>
<pre>At 2019-03-11 17:14:42, "Brian Candler" <a class="moz-txt-link-rfc2396E" href="mailto:b.candler@pobox.com"><b.candler@pobox.com></a> wrote:
>On 11/03/2019 08:49, ½ª²®Ñó wrote:
>> My system is centos7.4, the pdns version is 4.1, and the pdns-recursor
>> version is 4.1.
>> But when I changed the port of pdns to 5300, my master and slave nodes
>> could not be synchronized. It was ok before this.
>
>Sorry, you need to be more specific.
>
>You changed which pdns to port 5300 - the recursor or the
>authoritative? I will guess authoritative. Better if you show the
>actual config change you made.
>
>Are your master and slave nodes all running pdns authoritative? Which
>backend are you using?
>
>Did you remember to configure the slave nodes to talk to port 5300 on
>the master? Show what configuration change you made on the slaves.
>
>You do presumably have port 5300 open in iptables on the master, both
>UDP and TCP? Have you tried "dig @m.m.m.m -p5300 example.com. axfr" on
>a slave node, to check that you are able to talk to the master on that port?
>
>What do logs on the slave show when it tries to copy the domain, and
>what do logs show on the master at the same time?
</pre>
</div>
<br>
<br>
<span title="neteasefooter">
<p><br>
</p>
</span>
</blockquote>
<p><br>
</p>
</blockquote></div><br><br><span title="neteasefooter"><p><br> </p></span></div><br><br><span title="neteasefooter"><p><br/> </p></span>