<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"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><br><br><br><br><blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><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>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><br>
        </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>
        <img src="cid:43540036$1$1696c8875a2$Coremail$15555513217$163.com" orgwidth="1164" orgheight="310" data-image="1" style="width: 749px; height:
          199px;" class=""><br>
        <br>
        </div></blockquote></blockquote></div><br><span title="neteasefooter"><p><br> </p></span></div><br><br><span title="neteasefooter"><p><br> </p></span></div><br><br><span title="neteasefooter"><p><br/> </p></span>