[Pdns-users] transfer zones

SAMI RAHAL Sami.Rahal at topnetpro.tn
Sun Mar 31 14:30:34 UTC 2019




Hello,


Please Can you help me  please

Short description

I'm running two machines with PowerDNS, one being the master (SQL) and one being the slave (SQL). The problem is, that every domain added on master NS is not added on slave dns server

Environment

  *   Operating system: CentOS7
  *   Software version: powerdns4.2
  *   Software source:

Steps to reproduce

Master's config ns1//192.168.1.99:
allow-axfr-ips=192.168.1.98,192.168.1.0/24
master=yes
slave=no
also-notify=192.168.1.98
disable-axfr=no
soa-minimum-ttl=3600
soa-refresh-default=10800
soa-retry-default=3600
disable-axfr=no
daemon=yes
guardian=no
launch=gmysql
gmysql-host=localhost
gmysql-user=powerdns
gmysql-password=mypassword
gmysql-dbname=powerdns
gmysql-dnssec=yes
local-address=0.0.0.0
local-ipv6=
local-port=53
log-dns-details=yes
log-dns-queries=yes
log-timestamp=yes
loglevel=4
setgid=pdns
setuid=pdns
#also-notify=192.168.1.98
allow-notify-from=0.0.0.0/0

Slave's config:
daemon=yes
guardian=no
launch=gmysql
gmysql-host=localhost
gmysql-user=powerdns
gmysql-password=mypassword
gmysql-dbname=powerdns
gmysql-dnssec=yes
local-address=0.0.0.0
local-ipv6=
local-port=53
log-dns-details=yes
log-dns-queries=yes
log-timestamp=yes
loglevel=4
setgid=pdns
setuid=pdns
#allow-notify-from=192.168.1.99
slave=yes
disable-axfr=yes
disable-tcp=no
master=no
query-local-address=192.168.1.99,127.0.0.1
allow-notify-from=0.0.0.0/0


master log:
Mar 21 21:08:46 ns1 pdns_server: Unable to queue notification of domain 'exemple.com': nameservers do not resolve!
Mar 21 21:08:46 ns1 pdns_server: Queued also-notification of domain 'exemple.com' to 192.168.1.98:53
Mar 21 21:08:46 ns1 pdns_server: Error sending data to pdns_control: Broken pipe
Mar 21 21:08:48 ns1 pdns_server: Received unsuccessful notification report for 'exemple.com' from 192.168.1.98:53, error: Query Refused
Mar 21 21:08:48 ns1 pdns_server: Removed from notification list: 'exemple.com' to 192.168.1.98:53 Query Refused



Please how can ensure the transfer of zones between master and slave ?

Regards,

--
Cordialement,

Sami Rahal
Service Hosting
Direction Technique & SI
Siège Social TOPNET, Centre Urbain Nord
Tél. :71185000
GSM :99 459 812
http://www.topnet.tn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20190331/5de9902c/attachment.html>


More information about the Pdns-users mailing list