Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package pdns for openSUSE:Factory checked in at 2022-12-10 21:18:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pdns (Old) and /work/SRC/openSUSE:Factory/.pdns.new.1835 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pdns" Sat Dec 10 21:18:31 2022 rev:87 rq:1041916 version:4.7.3 Changes: -------- --- /work/SRC/openSUSE:Factory/pdns/pdns.changes 2022-11-02 12:48:05.073855250 +0100 +++ /work/SRC/openSUSE:Factory/.pdns.new.1835/pdns.changes 2022-12-10 21:18:32.685807830 +0100 @@ -1,0 +2,14 @@ +Fri Dec 9 14:18:39 UTC 2022 - Michael Ströder <mich...@stroeder.com> + +- Update to 4.7.3 + * Improvements + - API: slightly clearer message when a backend cannot create domains PR#12296 + * Bug Fixes + - lmdb: make outgoing notifications work PR#12299 + - lmdb: implement alsoNotifies PR#12266 + - API: do not create SOA and NS records for consumer zones PR#12291 + - API: fix newly created zone not rectified PR#12273 + - fix invalid catalog zone sql query for gpgsqlbackend PR#12272 + - fix pdns_control list-zones PR#12181 + +------------------------------------------------------------------- Old: ---- pdns-4.7.2.tar.bz2 pdns-4.7.2.tar.bz2.sig New: ---- pdns-4.7.3.tar.bz2 pdns-4.7.3.tar.bz2.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pdns.spec ++++++ --- /var/tmp/diff_new_pack.HuwmJm/_old 2022-12-10 21:18:33.193810800 +0100 +++ /var/tmp/diff_new_pack.HuwmJm/_new 2022-12-10 21:18:33.197810824 +0100 @@ -57,7 +57,7 @@ %endif Name: pdns -Version: 4.7.2 +Version: 4.7.3 Release: 0 Summary: Authoritative-only nameserver License: GPL-2.0-only ++++++ pdns-4.7.2.tar.bz2 -> pdns-4.7.3.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-4.7.2/configure new/pdns-4.7.3/configure --- old/pdns-4.7.2/configure 2022-11-01 11:13:53.000000000 +0100 +++ new/pdns-4.7.3/configure 2022-12-08 20:04:51.000000000 +0100 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for pdns 4.7.2. +# Generated by GNU Autoconf 2.69 for pdns 4.7.3. # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @@ -587,8 +587,8 @@ # Identity of this package. PACKAGE_NAME='pdns' PACKAGE_TARNAME='pdns' -PACKAGE_VERSION='4.7.2' -PACKAGE_STRING='pdns 4.7.2' +PACKAGE_VERSION='4.7.3' +PACKAGE_STRING='pdns 4.7.3' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1659,7 +1659,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures pdns 4.7.2 to adapt to many kinds of systems. +\`configure' configures pdns 4.7.3 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1730,7 +1730,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of pdns 4.7.2:";; + short | recursive ) echo "Configuration of pdns 4.7.3:";; esac cat <<\_ACEOF @@ -1988,7 +1988,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -pdns configure 4.7.2 +pdns configure 4.7.3 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2747,7 +2747,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by pdns $as_me 4.7.2, which was +It was created by pdns $as_me 4.7.3, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -3617,7 +3617,7 @@ # Define the identity of the package. PACKAGE='pdns' - VERSION='4.7.2' + VERSION='4.7.3' cat >>confdefs.h <<_ACEOF @@ -29723,7 +29723,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by pdns $as_me 4.7.2, which was +This file was extended by pdns $as_me 4.7.3, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -29789,7 +29789,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -pdns config.status 4.7.2 +pdns config.status 4.7.3 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-4.7.2/configure.ac new/pdns-4.7.3/configure.ac --- old/pdns-4.7.2/configure.ac 2022-11-01 11:13:41.000000000 +0100 +++ new/pdns-4.7.3/configure.ac 2022-12-08 20:04:41.000000000 +0100 @@ -1,6 +1,6 @@ AC_PREREQ([2.69]) -AC_INIT([pdns], [4.7.2]) +AC_INIT([pdns], [4.7.3]) AC_CONFIG_AUX_DIR([build-aux]) AM_INIT_AUTOMAKE([foreign dist-bzip2 no-dist-gzip tar-ustar -Wno-portability subdir-objects parallel-tests 1.11]) AM_SILENT_RULES([yes]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-4.7.2/docs/calidns.1 new/pdns-4.7.3/docs/calidns.1 --- old/pdns-4.7.2/docs/calidns.1 2022-11-01 11:15:23.000000000 +0100 +++ new/pdns-4.7.3/docs/calidns.1 2022-12-08 20:06:03.000000000 +0100 @@ -27,7 +27,7 @@ .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "CALIDNS" "1" "Nov 01, 2022" "" "PowerDNS Authoritative Server" +.TH "CALIDNS" "1" "Dec 08, 2022" "" "PowerDNS Authoritative Server" .SH NAME calidns \- A DNS recursor testing tool .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-4.7.2/docs/dnsbulktest.1 new/pdns-4.7.3/docs/dnsbulktest.1 --- old/pdns-4.7.2/docs/dnsbulktest.1 2022-11-01 11:15:23.000000000 +0100 +++ new/pdns-4.7.3/docs/dnsbulktest.1 2022-12-08 20:06:03.000000000 +0100 @@ -27,7 +27,7 @@ .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "DNSBULKTEST" "1" "Nov 01, 2022" "" "PowerDNS Authoritative Server" +.TH "DNSBULKTEST" "1" "Dec 08, 2022" "" "PowerDNS Authoritative Server" .SH NAME dnsbulktest \- A debugging tool for intermittent resolver failures .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-4.7.2/docs/dnsgram.1 new/pdns-4.7.3/docs/dnsgram.1 --- old/pdns-4.7.2/docs/dnsgram.1 2022-11-01 11:15:23.000000000 +0100 +++ new/pdns-4.7.3/docs/dnsgram.1 2022-12-08 20:06:03.000000000 +0100 @@ -27,7 +27,7 @@ .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "DNSGRAM" "1" "Nov 01, 2022" "" "PowerDNS Authoritative Server" +.TH "DNSGRAM" "1" "Dec 08, 2022" "" "PowerDNS Authoritative Server" .SH NAME dnsgram \- A debugging tool for intermittent resolver failures .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-4.7.2/docs/dnspcap2calidns.1 new/pdns-4.7.3/docs/dnspcap2calidns.1 --- old/pdns-4.7.2/docs/dnspcap2calidns.1 2022-11-01 11:15:23.000000000 +0100 +++ new/pdns-4.7.3/docs/dnspcap2calidns.1 2022-12-08 20:06:03.000000000 +0100 @@ -27,7 +27,7 @@ .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "DNSPCAP2CALIDNS" "1" "Nov 01, 2022" "" "PowerDNS Authoritative Server" +.TH "DNSPCAP2CALIDNS" "1" "Dec 08, 2022" "" "PowerDNS Authoritative Server" .SH NAME dnspcap2calidns \- A tool to convert PCAPs of DNS traffic to calidns input .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-4.7.2/docs/dnspcap2protobuf.1 new/pdns-4.7.3/docs/dnspcap2protobuf.1 --- old/pdns-4.7.2/docs/dnspcap2protobuf.1 2022-11-01 11:15:23.000000000 +0100 +++ new/pdns-4.7.3/docs/dnspcap2protobuf.1 2022-12-08 20:06:03.000000000 +0100 @@ -27,7 +27,7 @@ .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "DNSPCAP2PROTOBUF" "1" "Nov 01, 2022" "" "PowerDNS Authoritative Server" +.TH "DNSPCAP2PROTOBUF" "1" "Dec 08, 2022" "" "PowerDNS Authoritative Server" .SH NAME dnspcap2protobuf \- A tool to convert PCAPs of DNS traffic to PowerDNS Protobuf .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-4.7.2/docs/dnsreplay.1 new/pdns-4.7.3/docs/dnsreplay.1 --- old/pdns-4.7.2/docs/dnsreplay.1 2022-11-01 11:15:23.000000000 +0100 +++ new/pdns-4.7.3/docs/dnsreplay.1 2022-12-08 20:06:03.000000000 +0100 @@ -27,7 +27,7 @@ .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "DNSREPLAY" "1" "Nov 01, 2022" "" "PowerDNS Authoritative Server" +.TH "DNSREPLAY" "1" "Dec 08, 2022" "" "PowerDNS Authoritative Server" .SH NAME dnsreplay \- A PowerDNS nameserver debugging tool .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-4.7.2/docs/dnsscan.1 new/pdns-4.7.3/docs/dnsscan.1 --- old/pdns-4.7.2/docs/dnsscan.1 2022-11-01 11:15:23.000000000 +0100 +++ new/pdns-4.7.3/docs/dnsscan.1 2022-12-08 20:06:03.000000000 +0100 @@ -27,7 +27,7 @@ .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "DNSSCAN" "1" "Nov 01, 2022" "" "PowerDNS Authoritative Server" +.TH "DNSSCAN" "1" "Dec 08, 2022" "" "PowerDNS Authoritative Server" .SH NAME dnsscan \- List the amount of queries per qtype in a pcap .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-4.7.2/docs/dnsscope.1 new/pdns-4.7.3/docs/dnsscope.1 --- old/pdns-4.7.2/docs/dnsscope.1 2022-11-01 11:15:23.000000000 +0100 +++ new/pdns-4.7.3/docs/dnsscope.1 2022-12-08 20:06:03.000000000 +0100 @@ -27,7 +27,7 @@ .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "DNSSCOPE" "1" "Nov 01, 2022" "" "PowerDNS Authoritative Server" +.TH "DNSSCOPE" "1" "Dec 08, 2022" "" "PowerDNS Authoritative Server" .SH NAME dnsscope \- A PowerDNS nameserver debugging tool .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-4.7.2/docs/dnstcpbench.1 new/pdns-4.7.3/docs/dnstcpbench.1 --- old/pdns-4.7.2/docs/dnstcpbench.1 2022-11-01 11:15:23.000000000 +0100 +++ new/pdns-4.7.3/docs/dnstcpbench.1 2022-12-08 20:06:03.000000000 +0100 @@ -27,7 +27,7 @@ .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "DNSTCPBENCH" "1" "Nov 01, 2022" "" "PowerDNS Authoritative Server" +.TH "DNSTCPBENCH" "1" "Dec 08, 2022" "" "PowerDNS Authoritative Server" .SH NAME dnstcpbench \- tool to perform TCP benchmarking of nameservers .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-4.7.2/docs/dnswasher.1 new/pdns-4.7.3/docs/dnswasher.1 --- old/pdns-4.7.2/docs/dnswasher.1 2022-11-01 11:15:23.000000000 +0100 +++ new/pdns-4.7.3/docs/dnswasher.1 2022-12-08 20:06:03.000000000 +0100 @@ -27,7 +27,7 @@ .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "DNSWASHER" "1" "Nov 01, 2022" "" "PowerDNS Authoritative Server" +.TH "DNSWASHER" "1" "Dec 08, 2022" "" "PowerDNS Authoritative Server" .SH NAME dnswasher \- A PowerDNS nameserver debugging tool .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-4.7.2/docs/dumresp.1 new/pdns-4.7.3/docs/dumresp.1 --- old/pdns-4.7.2/docs/dumresp.1 2022-11-01 11:15:23.000000000 +0100 +++ new/pdns-4.7.3/docs/dumresp.1 2022-12-08 20:06:03.000000000 +0100 @@ -27,7 +27,7 @@ .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "DUMRESP" "1" "Nov 01, 2022" "" "PowerDNS Authoritative Server" +.TH "DUMRESP" "1" "Dec 08, 2022" "" "PowerDNS Authoritative Server" .SH NAME dumresp \- A dumb DNS responder .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-4.7.2/docs/ixfrdist.1 new/pdns-4.7.3/docs/ixfrdist.1 --- old/pdns-4.7.2/docs/ixfrdist.1 2022-11-01 11:15:23.000000000 +0100 +++ new/pdns-4.7.3/docs/ixfrdist.1 2022-12-08 20:06:03.000000000 +0100 @@ -27,7 +27,7 @@ .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "IXFRDIST" "1" "Nov 01, 2022" "" "PowerDNS Authoritative Server" +.TH "IXFRDIST" "1" "Dec 08, 2022" "" "PowerDNS Authoritative Server" .SH NAME ixfrdist \- An IXFR/AXFR-only server that re-distributes zones .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-4.7.2/docs/ixfrdist.yml.5 new/pdns-4.7.3/docs/ixfrdist.yml.5 --- old/pdns-4.7.2/docs/ixfrdist.yml.5 2022-11-01 11:15:23.000000000 +0100 +++ new/pdns-4.7.3/docs/ixfrdist.yml.5 2022-12-08 20:06:03.000000000 +0100 @@ -27,7 +27,7 @@ .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "IXFRDIST.YML" "5" "Nov 01, 2022" "" "PowerDNS Authoritative Server" +.TH "IXFRDIST.YML" "5" "Dec 08, 2022" "" "PowerDNS Authoritative Server" .SH NAME ixfrdist.yml \- The ixfrdist configuration file .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-4.7.2/docs/ixplore.1 new/pdns-4.7.3/docs/ixplore.1 --- old/pdns-4.7.2/docs/ixplore.1 2022-11-01 11:15:23.000000000 +0100 +++ new/pdns-4.7.3/docs/ixplore.1 2022-12-08 20:06:03.000000000 +0100 @@ -27,7 +27,7 @@ .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "IXPLORE" "1" "Nov 01, 2022" "" "PowerDNS Authoritative Server" +.TH "IXPLORE" "1" "Dec 08, 2022" "" "PowerDNS Authoritative Server" .SH NAME ixplore \- A tool that provides insights into IXFRs .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-4.7.2/docs/nproxy.1 new/pdns-4.7.3/docs/nproxy.1 --- old/pdns-4.7.2/docs/nproxy.1 2022-11-01 11:15:23.000000000 +0100 +++ new/pdns-4.7.3/docs/nproxy.1 2022-12-08 20:06:03.000000000 +0100 @@ -27,7 +27,7 @@ .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "NPROXY" "1" "Nov 01, 2022" "" "PowerDNS Authoritative Server" +.TH "NPROXY" "1" "Dec 08, 2022" "" "PowerDNS Authoritative Server" .SH NAME nproxy \- DNS notification proxy .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-4.7.2/docs/nsec3dig.1 new/pdns-4.7.3/docs/nsec3dig.1 --- old/pdns-4.7.2/docs/nsec3dig.1 2022-11-01 11:15:23.000000000 +0100 +++ new/pdns-4.7.3/docs/nsec3dig.1 2022-12-08 20:06:03.000000000 +0100 @@ -27,7 +27,7 @@ .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "NSEC3DIG" "1" "Nov 01, 2022" "" "PowerDNS Authoritative Server" +.TH "NSEC3DIG" "1" "Dec 08, 2022" "" "PowerDNS Authoritative Server" .SH NAME nsec3dig \- Show and validate NSEC3 proofs .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-4.7.2/docs/pdns_control.1 new/pdns-4.7.3/docs/pdns_control.1 --- old/pdns-4.7.2/docs/pdns_control.1 2022-11-01 11:15:23.000000000 +0100 +++ new/pdns-4.7.3/docs/pdns_control.1 2022-12-08 20:06:03.000000000 +0100 @@ -27,7 +27,7 @@ .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "PDNS_CONTROL" "1" "Nov 01, 2022" "" "PowerDNS Authoritative Server" +.TH "PDNS_CONTROL" "1" "Dec 08, 2022" "" "PowerDNS Authoritative Server" .SH NAME pdns_control \- Control the PowerDNS nameserver .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-4.7.2/docs/pdns_notify.1 new/pdns-4.7.3/docs/pdns_notify.1 --- old/pdns-4.7.2/docs/pdns_notify.1 2022-11-01 11:15:23.000000000 +0100 +++ new/pdns-4.7.3/docs/pdns_notify.1 2022-12-08 20:06:03.000000000 +0100 @@ -27,7 +27,7 @@ .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "PDNS_NOTIFY" "1" "Nov 01, 2022" "" "PowerDNS Authoritative Server" +.TH "PDNS_NOTIFY" "1" "Dec 08, 2022" "" "PowerDNS Authoritative Server" .SH NAME pdns_notify \- A simple DNS NOTIFY sender .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-4.7.2/docs/pdns_server.1 new/pdns-4.7.3/docs/pdns_server.1 --- old/pdns-4.7.2/docs/pdns_server.1 2022-11-01 11:15:23.000000000 +0100 +++ new/pdns-4.7.3/docs/pdns_server.1 2022-12-08 20:06:03.000000000 +0100 @@ -27,7 +27,7 @@ .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "PDNS_SERVER" "1" "Nov 01, 2022" "" "PowerDNS Authoritative Server" +.TH "PDNS_SERVER" "1" "Dec 08, 2022" "" "PowerDNS Authoritative Server" .SH NAME pdns_server \- The PowerDNS Authoritative Nameserver .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-4.7.2/docs/pdnsutil.1 new/pdns-4.7.3/docs/pdnsutil.1 --- old/pdns-4.7.2/docs/pdnsutil.1 2022-11-01 11:15:23.000000000 +0100 +++ new/pdns-4.7.3/docs/pdnsutil.1 2022-12-08 20:06:03.000000000 +0100 @@ -27,7 +27,7 @@ .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "PDNSUTIL" "1" "Nov 01, 2022" "" "PowerDNS Authoritative Server" +.TH "PDNSUTIL" "1" "Dec 08, 2022" "" "PowerDNS Authoritative Server" .SH NAME pdnsutil \- PowerDNS record and DNSSEC command and control .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-4.7.2/docs/saxfr.1 new/pdns-4.7.3/docs/saxfr.1 --- old/pdns-4.7.2/docs/saxfr.1 2022-11-01 11:15:23.000000000 +0100 +++ new/pdns-4.7.3/docs/saxfr.1 2022-12-08 20:06:03.000000000 +0100 @@ -27,7 +27,7 @@ .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "SAXFR" "1" "Nov 01, 2022" "" "PowerDNS Authoritative Server" +.TH "SAXFR" "1" "Dec 08, 2022" "" "PowerDNS Authoritative Server" .SH NAME saxfr \- Perform AXFRs and show information about it .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-4.7.2/docs/sdig.1 new/pdns-4.7.3/docs/sdig.1 --- old/pdns-4.7.2/docs/sdig.1 2022-11-01 11:15:23.000000000 +0100 +++ new/pdns-4.7.3/docs/sdig.1 2022-12-08 20:06:03.000000000 +0100 @@ -27,7 +27,7 @@ .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "SDIG" "1" "Nov 01, 2022" "" "PowerDNS Authoritative Server" +.TH "SDIG" "1" "Dec 08, 2022" "" "PowerDNS Authoritative Server" .SH NAME sdig \- Perform a DNS query and show the results .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-4.7.2/docs/zone2json.1 new/pdns-4.7.3/docs/zone2json.1 --- old/pdns-4.7.2/docs/zone2json.1 2022-11-01 11:15:23.000000000 +0100 +++ new/pdns-4.7.3/docs/zone2json.1 2022-12-08 20:06:03.000000000 +0100 @@ -27,7 +27,7 @@ .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "ZONE2JSON" "1" "Nov 01, 2022" "" "PowerDNS Authoritative Server" +.TH "ZONE2JSON" "1" "Dec 08, 2022" "" "PowerDNS Authoritative Server" .SH NAME zone2json \- convert BIND zones to JSON .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-4.7.2/docs/zone2ldap.1 new/pdns-4.7.3/docs/zone2ldap.1 --- old/pdns-4.7.2/docs/zone2ldap.1 2022-11-01 11:15:23.000000000 +0100 +++ new/pdns-4.7.3/docs/zone2ldap.1 2022-12-08 20:06:03.000000000 +0100 @@ -27,7 +27,7 @@ .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "ZONE2LDAP" "1" "Nov 01, 2022" "" "PowerDNS Authoritative Server" +.TH "ZONE2LDAP" "1" "Dec 08, 2022" "" "PowerDNS Authoritative Server" .SH NAME zone2ldap \- convert zonefiles to ldif .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-4.7.2/docs/zone2sql.1 new/pdns-4.7.3/docs/zone2sql.1 --- old/pdns-4.7.2/docs/zone2sql.1 2022-11-01 11:15:23.000000000 +0100 +++ new/pdns-4.7.3/docs/zone2sql.1 2022-12-08 20:06:03.000000000 +0100 @@ -27,7 +27,7 @@ .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "ZONE2SQL" "1" "Nov 01, 2022" "" "PowerDNS Authoritative Server" +.TH "ZONE2SQL" "1" "Dec 08, 2022" "" "PowerDNS Authoritative Server" .SH NAME zone2sql \- convert BIND zones to SQL .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-4.7.2/modules/gpgsqlbackend/gpgsqlbackend.cc new/pdns-4.7.3/modules/gpgsqlbackend/gpgsqlbackend.cc --- old/pdns-4.7.2/modules/gpgsqlbackend/gpgsqlbackend.cc 2022-11-01 11:12:45.000000000 +0100 +++ new/pdns-4.7.3/modules/gpgsqlbackend/gpgsqlbackend.cc 2022-12-08 20:03:52.000000000 +0100 @@ -140,7 +140,7 @@ declare(suffix, "update-serial-query", "", "update domains set notified_serial=$1 where id=$2"); declare(suffix, "update-lastcheck-query", "", "update domains set last_check=$1 where id=$2"); declare(suffix, "info-all-master-query", "", "select domains.id, domains.name, domains.type, domains.notified_serial, domains.options, domains.catalog, records.content from records join domains on records.domain_id=domains.id and records.name=domains.name where records.type='SOA' and records.disabled=false and domains.type in ('MASTER', 'PRODUCER')"); - declare(suffix, "info-producer-members-query", "", "select domains.id, domains.name, domains.options from records join domains on records.domain_id=domains.id and records.name=domains.name where domains.type='MASTER' and domains.catalog=$1 and records.type='SOA' and records.disabled=0"); + declare(suffix, "info-producer-members-query", "", "select domains.id, domains.name, domains.options from records join domains on records.domain_id=domains.id and records.name=domains.name where domains.type='MASTER' and domains.catalog=$1 and records.type='SOA' and records.disabled=false"); declare(suffix, "info-consumer-members-query", "", "select id, name, options, master from domains where type='SLAVE' and catalog=$1"); declare(suffix, "delete-domain-query", "", "delete from domains where name=$1"); declare(suffix, "delete-zone-query", "", "delete from records where domain_id=$1"); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-4.7.2/modules/lmdbbackend/lmdbbackend.cc new/pdns-4.7.3/modules/lmdbbackend/lmdbbackend.cc --- old/pdns-4.7.2/modules/lmdbbackend/lmdbbackend.cc 2022-11-01 11:12:45.000000000 +0100 +++ new/pdns-4.7.3/modules/lmdbbackend/lmdbbackend.cc 2022-12-08 20:03:52.000000000 +0100 @@ -1097,6 +1097,7 @@ auto txn = d_tdomains->getROTransaction(); for (auto iter = txn.begin(); iter != txn.end(); ++iter) { + if (!iter->isPrimaryType()) { continue; } @@ -1107,13 +1108,16 @@ continue; // Producer fresness check is performed elsewhere } + di = *iter; + di.id = iter.getID(); + if (!iter->catalog.empty()) { ci.fromJson(iter->options, CatalogInfo::CatalogType::Producer); - ci.updateHash(catalogHashes, *iter); + ci.updateHash(catalogHashes, di); } - di = *iter; if (getSerial(di) && di.serial != di.notified_serial) { + di.backend = this; updatedDomains.emplace_back(di); } } @@ -1122,7 +1126,7 @@ void LMDBBackend::setNotified(uint32_t domain_id, uint32_t serial) { genChangeDomain(domain_id, [serial](DomainInfo& di) { - di.serial = serial; + di.notified_serial = serial; }); } @@ -1862,6 +1866,13 @@ return true; } +void LMDBBackend::alsoNotifies(const DNSName& domain, set<string>* ips) +{ + std::vector<std::string> meta; + getDomainMetadata(domain, "ALSO-NOTIFY", meta); + ips->insert(meta.begin(), meta.end()); +} + class LMDBFactory : public BackendFactory { public: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-4.7.2/modules/lmdbbackend/lmdbbackend.hh new/pdns-4.7.3/modules/lmdbbackend/lmdbbackend.hh --- old/pdns-4.7.2/modules/lmdbbackend/lmdbbackend.hh 2022-11-01 11:12:45.000000000 +0100 +++ new/pdns-4.7.3/modules/lmdbbackend/lmdbbackend.hh 2022-12-08 20:03:52.000000000 +0100 @@ -113,6 +113,7 @@ } return false; } + void alsoNotifies(const DNSName& domain, set<string>* ips) override; bool setDomainMetadata(const DNSName& name, const std::string& kind, const std::vector<std::string>& meta) override; bool setAccount(const DNSName& domain, const std::string& account) override; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-4.7.2/pdns/dynhandler.cc new/pdns-4.7.3/pdns/dynhandler.cc --- old/pdns-4.7.2/pdns/dynhandler.cc 2022-11-01 11:12:45.000000000 +0100 +++ new/pdns-4.7.3/pdns/dynhandler.cc 2022-12-08 20:03:52.000000000 +0100 @@ -384,7 +384,7 @@ ostringstream ret; DomainInfo::DomainKind kind; if (parts.size() > 1) { - kind = DomainInfo::stringToKind(parts[1]); + kind = DomainInfo::stringToKind(parts.at(1)); } else { kind = DomainInfo::All; @@ -399,12 +399,7 @@ } } - if (kind == DomainInfo::All) { - ret<<parts[1]<<" zonecount:"<<count; - } - else { - ret<<"All zonecount:"<<count; - } + ret << DomainInfo::getKindString(kind) << " zonecount: " << count; return ret.str(); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-4.7.2/pdns/ws-auth.cc new/pdns-4.7.3/pdns/ws-auth.cc --- old/pdns-4.7.2/pdns/ws-auth.cc 2022-11-01 11:12:46.000000000 +0100 +++ new/pdns-4.7.3/pdns/ws-auth.cc 2022-12-08 20:03:52.000000000 +0100 @@ -656,7 +656,8 @@ } } -static void updateDomainSettingsFromDocument(UeberBackend& B, const DomainInfo& di, const DNSName& zonename, const Json& document, bool rectifyTransaction=true) { +// Must be called within backend transaction. +static void updateDomainSettingsFromDocument(UeberBackend& B, const DomainInfo& di, const DNSName& zonename, const Json& document, bool zoneWasModified) { boost::optional<DomainInfo::DomainKind> kind; boost::optional<vector<ComboAddress>> masters; boost::optional<DNSName> catalog; @@ -691,7 +692,7 @@ DNSSECKeeper dk(&B); - bool shouldRectify = false; + bool shouldRectify = zoneWasModified; bool dnssecInJSON = false; bool dnssecDocVal = false; bool nsec3paramInJSON = false; @@ -802,7 +803,7 @@ if (api_rectify == "1") { string info; string error_msg; - if (!dk.rectifyZone(zonename, error_msg, info, rectifyTransaction)) { + if (!dk.rectifyZone(zonename, error_msg, info, false)) { throw ApiException("Failed to rectify '" + zonename.toString() + "' " + error_msg); } } @@ -1704,18 +1705,9 @@ throw ApiException("You cannot give rrsets AND zone data as text"); auto nameservers = document["nameservers"]; - if (!nameservers.is_null() && !nameservers.is_array() && zonekind != DomainInfo::Slave) + if (!nameservers.is_null() && !nameservers.is_array() && zonekind != DomainInfo::Slave && zonekind != DomainInfo::Consumer) throw ApiException("Nameservers is not a list"); - string soa_edit_api_kind; - if (document["soa_edit_api"].is_string()) { - soa_edit_api_kind = document["soa_edit_api"].string_value(); - } - else { - soa_edit_api_kind = "DEFAULT"; - } - string soa_edit_kind = document["soa_edit"].string_value(); - // if records/comments are given, load and check them bool have_soa = false; bool have_zone_ns = false; @@ -1751,7 +1743,6 @@ if (rr.qtype.getCode() == QType::SOA && rr.qname==zonename) { have_soa = true; - increaseSOARecord(rr, soa_edit_api_kind, soa_edit_kind); } if (rr.qtype.getCode() == QType::NS && rr.qname==zonename) { have_zone_ns = true; @@ -1764,7 +1755,7 @@ autorr.auth = true; autorr.ttl = ::arg().asNum("default-ttl"); - if (!have_soa && zonekind != DomainInfo::Slave) { + if (!have_soa && zonekind != DomainInfo::Slave && zonekind != DomainInfo::Consumer) { // synthesize a SOA record so the zone "really" exists string soa = ::arg()["default-soa-content"]; boost::replace_all(soa, "@", zonename.toStringNoDot()); @@ -1773,7 +1764,7 @@ sd.serial=document["serial"].int_value(); autorr.qtype = QType::SOA; autorr.content = makeSOAContent(sd)->getZoneRepresentation(true); - increaseSOARecord(autorr, soa_edit_api_kind, soa_edit_kind); + // updateDomainSettingsFromDocument will apply SOA-EDIT-API as needed new_records.push_back(autorr); } @@ -1819,17 +1810,15 @@ // no going back after this if(!B.createDomain(zonename, kind.get_value_or(DomainInfo::Native), masters.get_value_or(vector<ComboAddress>()), account.get_value_or(""))) - throw ApiException("Creating domain '"+zonename.toString()+"' failed"); + throw ApiException("Creating domain '"+zonename.toString()+"' failed: backend refused"); if(!B.getDomainInfo(zonename, di)) throw ApiException("Creating domain '"+zonename.toString()+"' failed: lookup of domain ID failed"); di.backend->startTransaction(zonename, di.id); - // updateDomainSettingsFromDocument does NOT fill out the default we've established above. - if (!soa_edit_api_kind.empty()) { - di.backend->setDomainMetadataOne(zonename, "SOA-EDIT-API", soa_edit_api_kind); - } + // will be overridden by updateDomainSettingsFromDocument, if given in document. + di.backend->setDomainMetadataOne(zonename, "SOA-EDIT-API", "DEFAULT"); for(auto rr : new_records) { rr.domain_id = di.id; @@ -1840,7 +1829,7 @@ di.backend->feedComment(c); } - updateDomainSettingsFromDocument(B, di, zonename, document, false); + updateDomainSettingsFromDocument(B, di, zonename, document, !new_records.empty()); di.backend->commitTransaction();