[Pkg-pdns-maintainers] Bug#757242: pdns-server: PowerDNS not transfer primary-level zones

Matyashov Andrey sysadmin at gorod0k.ru
Wed Aug 6 14:09:05 UTC 2014


Package: pdns-server
Version: 3.1-4.1
Severity: normal
Tags: upstream


Dear Maintainer!
I use 2 pdns-servers (master and slave) with mysql-backend.
If in zone 2-level or greater (e. g.: myzone.net or subzone.zone.net), slave server normal getting updates from master.
If zone - up-level (e. g.: local), transfer zone failed.

Log-records in master:
Aug  6 16:21:24 ns-01 pdns[17538]: gmysql Connection successful
Aug  6 16:21:24 ns-01 pdns[17538]: AXFR of domain 'local' initiated by 10.10.2.104
Aug  6 16:21:24 ns-01 pdns[17538]: AXFR of domain 'local' allowed: client IP 10.10.2.104 is in allow-axfr-ips
Aug  6 16:21:24 ns-01 pdns[17538]: gmysql Connection successful
Aug  6 16:21:24 ns-01 pdns[17538]: gmysql Connection successful
Aug  6 16:21:24 ns-01 pdns[17538]: Exception: Unknown record was stored incorrectly, need 3 fields, got 1: .
Aug  6 16:21:24 ns-01 pdns[17538]: TCP Connection Thread died because of STL error: Unknown record was stored incorrectly, need 3 fields, got 1: .


Log-records in slave:
Aug  6 16:23:22 ns-02 pdns[10884]: 1 slave domain needs checking, 0 queued for AXFR
Aug  6 16:23:22 ns-02 pdns[10884]: Received serial number updates for 1 zones, had 0 timeouts
Aug  6 16:23:22 ns-02 pdns[10884]: Domain local is stale, master serial 2014080624, our serial 2014080611
Aug  6 16:23:22 ns-02 pdns[10884]: Initiating transfer of 'local' from remote '10.10.2.2'
Aug  6 16:23:22 ns-02 pdns[10884]: gmysql Connection successful
Aug  6 16:23:22 ns-02 pdns[10884]: gmysql Connection successful
Aug  6 16:23:22 ns-02 pdns[10884]: gmysql Connection successful
Aug  6 16:23:22 ns-02 pdns[10884]: AXFR started for 'local', transaction started
Aug  6 16:23:22 ns-02 pdns[10884]: Unable to AXFR zone 'local' from remote '10.10.2.2' (resolver): Remote nameserver closed TCP connection
Aug  6 16:23:22 ns-02 pdns[10884]: Aborting possible open transaction for domain 'local' AXFR


-- System Information:
Debian Release: 7.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pdns-server depends on:
ii  adduser                         3.113+nmu3
ii  debconf [debconf-2.0]           1.5.49
ii  libboost-program-options1.49.0  1.49.0-3.2
ii  libboost-serialization1.49.0    1.49.0-3.2
ii  libc6                           2.13-38+deb7u3
ii  libcrypto++9                    5.6.1-6
ii  libgcc1                         1:4.7.2-5
ii  liblua5.1-0                     5.1.5-4
ii  libpolarssl0                    1.2.9-1~deb7u3
ii  libsqlite3-0                    3.7.13-1+deb7u1
ii  libstdc++6                      4.7.2-5
ii  ucf                             3.0025+nmu3
ii  zlib1g                          1:1.2.7.dfsg-13

pdns-server recommends no packages.

Versions of packages pdns-server suggests:
ii  pdns-backend-mysql [pdns-backend]  3.1-4.1
ii  pdns-recursor                      3.3-3

-- Configuration Files:
/etc/powerdns/pdns.conf
allow-axfr-ips=10.10.2.2
allow-recursion=127.0.0.1 10.0.0.0/8
cache-ttl=20
config-dir=/etc/powerdns
daemon=yes
default-soa-name=ns-02.local
disable-axfr=no
disable-tcp=no
guardian=yes
local-address=10.10.2.104
local-port=53
log-dns-details=yes
log-failed-updates=yes
master=no
module-dir=/usr/lib/powerdns
query-cache-ttl=20
queue-limit=1500
recursor=127.0.0.1:53
setgid=pdns
setuid=pdns
slave=yes
slave-cycle-interval=30
socket-dir=/var/run
webserver=yes
webserver-address=10.10.2.104
webserver-password=*mypass*
webserver-port=8081
webserver-print-arguments=yes
version-string=powerdns
include=/etc/powerdns/pdns.d



More information about the Pkg-pdns-maintainers mailing list