[Pdns-users] Domains created on master are not created on slave.
kamil kapturkiewicz
horizn at wp.pl
Fri Nov 6 11:44:43 UTC 2015
Hi,
I've just installed and configured PowerDNS with MySQL backend and NSEDIT frontend. The problem is, that every domain added on master NS is not added on slave dns server.
master dns server log:
Nov 6 10:53:03 master-ns pdns[17257]: 1 domain for which we are master needs notifications
Nov 6 10:53:13 master-ns pdns[17257]: Queued notification of domain 'domain' to 2.2.2.2:53
Nov 6 10:53:13 master-ns pdns[17257]: Queued also-notification of domain 'domain' to 2.2.2.2:53
Nov 6 10:53:14 master-ns pdns[17257]: Removed from notification list: 'domain' to 2.2.2.2:53 (was acknowledged)
Nov 6 10:53:14 master-ns pdns[17257]: Received unsuccessful notification report for 'domain' from 2.2.2.2:53, error: Query Refused
Nov 6 10:53:14 master-ns pdns[17257]: Received spurious notify answer for 'domain' from 2.2.2.2:53
Nov 6 10:53:16 master-ns pdns[17257]: No master domains need notifications
where 2.2.2.2 is IP address of slave dns server.
slave dns server log:
Nov 6 10:49:29 slave-ns pdns[14648]: Received NOTIFY for domain from 1.1.1.1 for which we are not authoritative
Nov 6 10:49:29 slave-ns pdns[14648]: Unable to find backend willing to host domain for potential supermaster 1.1.1.1. 2 remote nameservers:
Nov 6 10:49:29 slave-ns pdns[14648]: ns1.domain
Nov 6 10:49:29 slave-ns pdns[14648]: ns2.domain
Nov 6 10:51:47 slave-ns pdns[14648]: Received NOTIFY for domain from 1.1.1.1 for which we are not authoritative
Nov 6 10:51:47 slave-ns pdns[14648]: Unable to find backend willing to host domain for potential supermaster 1.1.1.1. 4 remote nameservers:
Nov 6 10:51:47 slave-ns pdns[14648]: ns2.domain
Nov 6 10:51:47 slave-ns pdns[14648]: ns1.domain
Nov 6 10:51:47 slave-ns pdns[14648]: 2.2.2.2
Nov 6 10:51:47 slave-ns pdns[14648]: 1.1.1.1
Nov 6 10:52:00 slave-ns pdns[14648]: Received NOTIFY for domain from 1.1.1.1 for which we are not authoritative
Nov 6 10:52:00 slave-ns pdns[14648]: Unable to find backend willing to host domain for potential supermaster 1.1.1.1. 4 remote nameservers:
Nov 6 10:52:00 slave-ns pdns[14648]: ns2.domain
Nov 6 10:52:00 slave-ns pdns[14648]: ns1.domain
Nov 6 10:52:00 slave-ns pdns[14648]: 2.2.2.2
Nov 6 10:52:00 slave-ns pdns[14648]: 1.1.1.1
Nov 6 10:53:13 slave-ns pdns[14648]: Received NOTIFY for domain from 1.1.1.1 for which we are not authoritative
Nov 6 10:53:13 slave-ns pdns[14648]: Unable to find backend willing to host domain for potential supermaster 1.1.1.1. 4 remote nameservers:
Nov 6 10:53:13 slave-ns pdns[14648]: ns1.domain
Nov 6 10:53:13 slave-ns pdns[14648]: ns2.domain
Nov 6 10:53:13 slave-ns pdns[14648]: 2.2.2.2
Nov 6 10:53:13 slave-ns pdns[14648]: 1.1.1.1
where 1.1.1.1 is IP address of master dns server.
Master's config:
allow-axfr-ips=127.0.0.1/8,x.x.x.32/27
allow-notify-from=127.0.0.1/8,x.x.x.32/27
allow-recursion=127.0.0.1/8,x.x.x.32/27
also-notify=2.2.2.2
config-dir=/etc/powerdns
daemon=yes
disable-axfr=no
disable-tcp=no
experimental-api-key=xyz
experimental-api-readonly=no
experimental-json-interface=yes
experimental-logfile=/var/log/pdns/pdns.log
guardian=yes
launch=gmysql
gmysql-host=localhost
gmysql-port=
gmysql-dbname=pdns
gmysql-user=pdns
gmysql-password=password
gmysql-dnssec=no
local-address=1.1.1.1
local-port=53
log-dns-details=no
log-dns-queries=no
loglevel=6
master=yes
module-dir=/usr/lib/powerdns
recursor=127.0.0.1
setgid=pdns
setuid=pdns
slave=no
socket-dir=/var/run
webserver=yes
webserver-address=127.0.0.1
webserver-allow-from=127.0.0.1,x.x.x.32/27
webserver-password=xyz
webserver-port=8081
Slave's config:
allow-axfr-ips=x.x.x.32/27,127.0.0.0/8
allow-notify-from=x.x.x.32/27,127.0.0.0/8
allow-recursion=127.0.0.0/8, x.x.x.32/27
also-notify=1.1.1.1
config-dir=/etc/powerdns
daemon=yes
disable-axfr=yes
disable-tcp=no
guardian=yes
launch=gmysql
gmysql-host=localhost
gmysql-port=3306
gmysql-dbname=pdns
gmysql-user=pdns
gmysql-password=password
gmysql-dnssec=no
local-address=2.2.2.2
local-port=53
log-dns-details=yes
loglevel=6
master=no
module-dir=/usr/lib/powerdns
recursor=127.0.0.1
setgid=pdns
setuid=pdns
slave=yes
slave-cycle-interval=60
version-string=powerdns
More information about the Pdns-users
mailing list