[Pdns-users] transfer zones
Otto Moerbeek
otto at drijf.net
Sun Mar 31 14:47:04 UTC 2019
On Sun, Mar 31, 2019 at 02:30:34PM +0000, SAMI RAHAL wrote:
>
>
>
> 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
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> https://mailman.powerdns.com/mailman/listinfo/pdns-users
Ddi you read and follow
https://docs.powerdns.com/authoritative/modes-of-operation.html#master-slave-setup-requirements
?
In short, a slave zone needs to be added on the slave server using db
inserts, the HTTP API, or using pdnsutil create-slave-zone.
Alternatively you can declare te master to be supermaster, as
described in
https://docs.powerdns.com/authoritative/modes-of-operation.html#supermaster-automatic-provisioning-of-slaves
-Otto
More information about the Pdns-users
mailing list