[Pdns-users] Not transferred from zone from master to slave

JG j.goldinskis at gmail.com
Thu Oct 16 08:48:50 UTC 2014


Hi,
I have problem, SLAVE not send request to MASTER for getting
zone, if I send from MASTER with command pdns_control notify-host ...
alright, also with tcpdump I not see request to MASTER from SLAVE,
supermaster on SLAVE was add, Centos 6.5, pdns-3.3.1 with poweradmin.
Maybe I missed some item.

Server 1 MASTER config and logs:
/etc/pdns/pdns.conf

allow-axfr-ips=10.45.25.0/24
disable-axfr=no
disable-tcp=no
daemon=yes
default-soa-name=ns1.dk

soa-expire-default=604800
soa-minimum-ttl=3600
soa-refresh-default=10800
#soa-retry-default=3600

#version-string=anonymous
#webserver=yes
#webserver-address=10.45.25.34
#webserver-password=*****
#webserver-port=8081
#webserver-print-arguments=yes

launch=gmysql
gmysql-socket=/var/lib/mysql/mysql.sock
gmysql-host=127.0.0.1
gmysql-user=*****
gmysql-dbname=*****
gmysql-password=*****

master=yes
local-address=10.45.25.34
local-port=53
log-dns-details=/var/log/pdns/pdns-details.log
log-failed-updates=/var/log/pdns/pdns-fail.log
logging-facility=0
loglevel=4
query-logging=yes
#config-dir=/etc/pdns
#module-dir=/usr/lib64/pdns

Logs:
Oct  9 18:06:29 ns1 pdns[5488]: Scheduling exit on remote request
Oct  9 18:06:30 ns1 pdns[5488]: Guardian is killed, taking down children
with us
Oct  9 18:06:32 ns1 pdns[5696]: Listening on controlsocket in
'/var/run/pdns.controlsocket'
Oct  9 18:06:32 ns1 pdns[5699]: Guardian is launching an instance
Oct  9 18:06:32 ns1 pdns[5699]: Reading random entropy from '/dev/urandom'
Oct  9 18:06:32 ns1 pdns[5699]: This is module gmysqlbackend.so reporting
Oct  9 18:06:32 ns1 pdns[5699]: This is a guarded instance of pdns
Oct  9 18:06:32 ns1 pdns[5699]: UDP server bound to 10.45.25.34:53
Oct  9 18:06:32 ns1 pdns[5699]: TCP server bound to 10.45.25.34:53
Oct  9 18:06:32 ns1 pdns[5699]: PowerDNS Authoritative Server 3.3.1
(jenkins at autotest.powerdns.com) (C) 2001-2013 PowerDNS.COM BV
Oct  9 18:06:32 ns1 pdns[5699]: Using 64-bits mode. Built on 20131217194128
by mockbuild@, gcc 4.4.7 20120313 (Red Hat 4.4.7-4).
Oct  9 18:06:32 ns1 pdns[5699]: PowerDNS comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it according to
the terms of the GPL version 2.
Oct  9 18:06:32 ns1 pdns[5699]: Creating backend connection for TCP
Oct  9 18:06:32 ns1 pdns[5699]: Master/slave communicator launching
Oct  9 18:06:32 ns1 pdns[5699]: About to create 3 backend threads for UDP
Oct  9 18:06:32 ns1 pdns[5699]: No new unfresh slave domains, 0 queued for
AXFR already
Oct  9 18:06:32 ns1 pdns[5699]: Query: select
content,ttl,prio,type,domain_id,name from records where type='SOA' and
name='xxxxx.dk'
Oct  9 18:06:32 ns1 pdns[5699]: Query: select
content,ttl,prio,type,domain_id,name from records where type='SOA' and
name='example1.com'
Oct  9 18:06:32 ns1 pdns[5699]: No master domains need notifications
Oct  9 18:06:32 ns1 pdns[5699]: Done launching threads, ready to distribute
questions
Oct  9 18:07:32 ns1 pdns[5699]: Query: select id,name,master,last_check,type
from domains where type='SLAVE'
Oct  9 18:07:32 ns1 pdns[5699]: Query: select
id,name,master,last_check,notified_serial,type from domains where
type='MASTER'
Oct  9 18:07:32 ns1 pdns[5699]: Query: select
content,ttl,prio,type,domain_id,name from records where type='SOA' and
name='xxxxx.dk'
Oct  9 18:07:32 ns1 pdns[5699]: Query: select
content,ttl,prio,type,domain_id,name from records where type='SOA' and
name='example1.com'
Oct  9 18:08:32 ns1 pdns[5699]: Query: select id,name,master,last_check,type
from domains where type='SLAVE'
Oct  9 18:08:32 ns1 pdns[5699]: Query: select
id,name,master,last_check,notified_serial,type from domains where
type='MASTER'
Oct  9 18:08:32 ns1 pdns[5699]: Query: select
content,ttl,prio,type,domain_id,name from records where type='SOA' and
name='xxxxx.dk'
Oct  9 18:08:32 ns1 pdns[5699]: Query: select
content,ttl,prio,type,domain_id,name from records where type='SOA' and
name='example1.com'
...
****************************************************************************************************************************************************************
Server 2 SLAVE config and logs:
/etc/pdns/pdns.conf

daemon=yes
default-soa-name=ns2.dk
loglevel=4

soa-expire-default=604800
soa-minimum-ttl=3600
soa-refresh-default=10800
soa-retry-default=3600

#version-string=anonymous
#webserver=yes
#webserver-address=10.45.25.35
#webserver-password=*****
#webserver-port=8081
#webserver-print-arguments=yes

launch=gmysql
gmysql-socket=/var/lib/mysql/mysql.sock
gmysql-host=127.0.0.1
gmysql-user=*****
gmysql-dbname=*****
gmysql-password=*****

slave=yes
slave-cycle-interval=1
local-address=10.45.25.35
local-port=53
log-dns-details=/var/log/pdns/pdns-details.log
log-failed-updates=/var/log/pdns/pdns-fail.log
logging-facility=0
query-logging=yes
#config-dir=/etc/pdns
#module-dir=/usr/lib64/pdns

Logs:


Oct  9 18:12:08 ns2 pdns[5858]: Listening on controlsocket in
'/var/run/pdns.controlsocket'
Oct  9 18:12:08 ns2 pdns[5861]: Guardian is launching an instance
Oct  9 18:12:08 ns2 pdns[5861]: Reading random entropy from '/dev/urandom'
Oct  9 18:12:08 ns2 pdns[5861]: This is module gmysqlbackend.so reporting
Oct  9 18:12:08 ns2 pdns[5861]: This is a guarded instance of pdns
Oct  9 18:12:08 ns2 pdns[5861]: UDP server bound to 10.45.25.35:53
Oct  9 18:12:08 ns2 pdns[5861]: TCP server bound to 10.45.25.35:53
Oct  9 18:12:08 ns2 pdns[5861]: PowerDNS Authoritative Server 3.3.1
(jenkins at autotest.powerdns.com) (C) 2001-2013 PowerDNS.COM BV
Oct  9 18:12:08 ns2 pdns[5861]: Using 64-bits mode. Built on 20131217194128
by mockbuild@, gcc 4.4.7 20120313 (Red Hat 4.4.7-4).
Oct  9 18:12:08 ns2 pdns[5861]: PowerDNS comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it according to
the terms of the GPL version 2.
Oct  9 18:12:08 ns2 pdns[5861]: Creating backend connection for TCP
Oct  9 18:12:08 ns2 pdns[5861]: Master/slave communicator launching
Oct  9 18:12:08 ns2 pdns[5861]: About to create 3 backend threads for UDP
Oct  9 18:12:08 ns2 pdns[5861]: Query: select
content,ttl,prio,type,domain_id,name from records where type='SOA' and
name='example1.com'
Oct  9 18:12:08 ns2 pdns[5861]: Query: select
content,ttl,prio,type,domain_id,name from records where type='SOA' and
name='xxxxx.dk'
Oct  9 18:12:08 ns2 pdns[5861]: No new unfresh slave domains, 0 queued for
AXFR already
Oct  9 18:12:08 ns2 pdns[5861]: Done launching threads, ready to distribute
questions
Oct  9 18:12:09 ns2 pdns[5861]: Query: select id,name,master,last_check,type
from domains where type='SLAVE'
Oct  9 18:12:09 ns2 pdns[5861]: Query: select
content,ttl,prio,type,domain_id,name from records where type='SOA' and
name='example1.com'
Oct  9 18:12:09 ns2 pdns[5861]: Query: select
content,ttl,prio,type,domain_id,name from records where type='SOA' and
name='xxxxx.dk'
Oct  9 18:12:10 ns2 pdns[5861]: Query: select id,name,master,last_check,type
from domains where type='SLAVE'
Oct  9 18:12:10 ns2 pdns[5861]: Query: select
content,ttl,prio,type,domain_id,name from records where type='SOA' and
name='example1.com'
Oct  9 18:12:10 ns2 pdns[5861]: Query: select
content,ttl,prio,type,domain_id,name from records where type='SOA' and
name='xxxxx.dk'
...


BR,




--
View this message in context: http://powerdns.13854.n7.nabble.com/Not-transferred-from-zone-from-master-to-slave-tp11043.html
Sent from the PowerDNS mailing list archive at Nabble.com.




More information about the Pdns-users mailing list