[Pdns-users] Master and slave cannot synchronize problems
Brian Candler
b.candler at pobox.com
Mon Mar 11 11:59:38 UTC 2019
On 11/03/2019 11:41, 姜伯洋 wrote:
>
> I always see this error on the API monitoring page of the 8081.
In the private E-mail you sent, you included the image:
"Unable to queue notification of domain 'test.org': nameservers do not
resolve!"
There's your error. Your master authoritative server needs access to a
working DNS cache in order to send notifications to the hosts listed in
NS records. By default it will be doing this via /etc/resolv.conf
Unfortunately I don't think it's possible to point /etc/resolv.conf to a
nameserver other than on port 53. But you can instead use the "resolver
<https://doc.powerdns.com/authoritative/settings.html#resolver>" option
to point it to your local recursor on port 5300.
You will make your life much, much easier if you have a separate
recursor. Even simpler, just remove the recursor from all your
authoritative servers, and in /etc/resolv.conf point to a public caching
server such as 1.1.1.1 / 8.8.8.8 / 9.9.9.9.
(By "much, much easier", I mean that it's extremely hard to administer a
Linux system if /etc/resolv.conf is not pointing to a working caching
nameserver, so you need to fix that anyway)
On a separate point: if you are using mysql for your backend, you can
simply use mysql replication between your hosts; this works very
reliably and avoids a load of potential problems with master-slave zone
transfers.
Regards,
Brian.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20190311/40a00923/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kfdbilbpipcbdlhh.png
Type: image/png
Size: 68011 bytes
Desc: not available
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20190311/40a00923/attachment-0001.png>
More information about the Pdns-users
mailing list