Changes since 2.9.6:
* need to do work on ( and ) in zones!
- - added local-query-address (Mark Bergsma)
- - zone2sql now removes dots in the SOA record
- - zone2sql no longer silently tries to read directories
- - improved error reporting if unable to figure out IP addresses for
+feat - added local-query-address (Mark Bergsma)
+bug - zone2sql now removes dots in the SOA record
+imp - zone2sql no longer silently tries to read directories
+imp - improved error reporting if unable to figure out IP addresses for
slaves
- - removed vestigal receiver-threads setting
- - ldapbackend needs to include utility.hh (Remco Post)
- - pdns_control could sometimes leave files behind in /tmp (dG)
- - ldapbackend updates
- - TCP incoming AXFR fixes for Solaris and other big endian systems
+imp - removed vestigal receiver-threads setting
+bug - ldapbackend needs to include utility.hh (Remco Post)
+bug - pdns_control could sometimes leave files behind in /tmp (dG)
+impr - ldapbackend updates
+bug - TCP incoming AXFR fixes for Solaris and other big endian systems
(Willem de Groot helped debug)
- - bogus error message about unparseable packets (Mark Bergsma)
- - solved potential crash in recursor (Dan Faerch delivered coredump)
- - when started via a path, pdns_server could not always find itself (Maurice Nonnekes)
- - silly wuh debugging output in zone2sql/bindbackend (Ivo van der Wijk)
- - pdns_recursor lived in the 'bin' and not the 'sbin' directory (Norbert Sendetzky)
- - chatter from master/slave backend is not 'Error'-worthy (Willem)
+imp - bogus error message about unparseable packets (Mark Bergsma)
+bug - solved potential crash in recursor (Dan Faerch delivered coredump)
+imp - when started via a path, pdns_server could not always find itself (Maurice Nonnekes)
+bug - silly wuh debugging output in zone2sql/bindbackend (Ivo van der Wijk)
+imp - pdns_recursor lived in the 'bin' and not the 'sbin' directory (Norbert Sendetzky)
+imp - chatter from master/slave backend is not 'Error'-worthy (Willem)
+bug - recursor neglected the difference between negative cache of NXDOMAIN and NOERROR
+imp - added ipv6 AAAAditional processing (noticed by Stephane Bortzmeyer)
+imp - fixed incorrect AA bit on serving NS from non-top records (noticed by Stephane Bortzmeyer)
+imp - added robustness fixed to dnspacket.cc getAnswers for incoming queries
+
Changes since 2.9.5:
- implemented isMaster in bindbackend (we now react to notifies)
dnl intro
AC_INIT(pdns/receiver.cc)
-AM_INIT_AUTOMAKE(pdns, 2.9.6)
+AM_INIT_AUTOMAKE(pdns, 2.9.7)
AC_CANONICAL_HOST
AM_CONFIG_HEADER(config.h)
AC_C_BIGENDIAN
+pdns (2.9.7-1) unstable; urgency=low
+
+ * fill in the blanks
+
+ -- Wichert Akkerman <wakkerma@debian.org> Thu, 14 Mar 2003 20:16:16 +0100
+
pdns (2.9.6-1) unstable; urgency=low
* fill in the blanks
-// $Id: pdnsbackend.cc,v 1.4 2003/02/10 12:08:06 ahu Exp $
+// $Id: pdnsbackend.cc,v 1.5 2003/03/13 12:45:30 ahu Exp $
#include <string>
#include <map>
: d_result(NULL)
{
mysql_init(&d_database);
-
+ d_suffix=suffix;
MYSQL* theDatabase = mysql_real_connect
(
&d_database,
outSoaData.hostmaster = theRow[1];
outSoaData.serial = atoi(theRow[2]);
- outSoaData.refresh = 10800;
+ outSoaData.refresh = arg()["pdns-"+d_suffix+"soa-refresh"].empty() ? 10800 : atoi(arg()["pdns-"+d_suffix+"soa-refresh"].c_str());
outSoaData.retry = 3600;
outSoaData.expire = 604800;
outSoaData.default_ttl = 40000;
declare(suffix,"host","Pdns backend host to connect to","");
declare(suffix,"password","Pdns backend password to connect with","");
declare(suffix,"socket","Pdns backend socket to connect to","");
+ declare(suffix,"soa-refresh","Pdns SOA refresh in seconds","");
}
DNSBackend *make(const string &suffix="")
-// $Id: pdnsbackend.hh,v 1.3 2002/12/09 16:24:17 ahu Exp $
+// $Id: pdnsbackend.hh,v 1.4 2003/03/13 12:45:30 ahu Exp $
#ifndef PDNSBACKEND_HH
#define PDNSBACKEND_HH
MYSQL d_database;
MYSQL_RES* d_result;
+ string d_suffix;
void Query(const string& inQuery);
string sqlEscape(const string &nanme);
</affiliation>
</author>
- <PubDate>v2.1 $Date: 2003/03/12 16:06:35 $</PubDate>
+ <PubDate>v2.1 $Date: 2003/03/13 12:45:30 $</PubDate>
<Abstract>
<para>
Before proceeding, it is advised to check the release notes for your PDNS version, as specified in the name of the distribution
file.
</para>
+ <sect2 id="changelog-2-9-7"><title>Version 2.9.7</title>
+ <para>
+ This is a sweeping release in the sense of cleanup. There are some new features but mostly a lot of cleanup going on. Hiding inside is the
+ <filename>bind2backend</filename>, the next generation of the bind backend. Very much a work in progress. Those of you with overlapping zones,
+ as mentioned in the changelog of 2.9.6, are invited to check it out.
+ </para>
+ <para>
+ Features:
+ <itemizedlist>
+ <listitem>
+ <para>
+ Mark Bergsma contributed <command>local-query-address</command> which allows the operator to select which source address to
+ use. This is useful on servers with multiple source addresses and the operating system selecting an unintended one, leading to
+ remotes denying access.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ PowerDNS can now perform AAAA additional processing optionally, turned on by setting <command>do-ipv6-additional-processing</command>.
+ Thanks to Stephane Bortzmeyer for pointing out the need.
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ <para>
+ Improvements:
+ <itemizedlist>
+ <listitem>
+ <para>
+ Zone2sql would happily try to read from a directory and not give a useful error about this.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ PowerDNS now reports the case where it can't figure out any IP address of slave nameservers for a zone
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Removed <command>receiver-threads</command> setting which was experimental and in fact only made things worse.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ LDAP backend updates from its author Norbert Sendetzky. Reverse lookups should work now too.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ An error message about unparseable packets did not include the originating IP address (fixed by Mark Bergsma)
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ PowerDNS can now be started via path resolution while running with a guardian. Suggested by Maurice Nonnekes.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <filename>pdns_recursor</filename> moved to <filename>sbin</filename> (reported by Norbert Sendetzky)
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Retuned some logger errorlevels, a lot of master/slave chatter was logged as 'Error'. Reported by Willem de Groot.
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ <para>
+ Bugs fixed:
+ <itemizedlist>
+ <listitem>
+ <para>
+ <filename>zone2sql</filename> did not remove trailing dots in SOA records.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ ldapbackend did not include <filename>utility.hh</filename> which caused compilation problems on Solaris (reported by Remco Post)
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <filename>pdns_control</filename> could leave behind remnants in case PowerDNS was not running (reported by dG)
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Incoming AXFR did not work on Solaris and other big-endian systems (Willem de Groot helped debugging this long standing problem).
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Recursor could crash on convoluted CNAME loops. Thanks to Dan Faerch for delivering coredumps.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Silly 'wuh' debugging output in zone2sql and bindbackend removed (spotted by Ivo van der Wijk)
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Recursor neglected to differentiate between negative cache of NXDOMAIN and NOERROR, leading to problems
+ with IPv6 enabled Windows clients. Thanks to Stuart Walsh for reporting this and testing the fix.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ PowerDNS set the 'aa' bit on serving NS records in a zone for which it was authoritative. Most implementations
+ drop the 'aa' bit in this case and Stephane Bortzmeyer informed us of this. PowerDNS now also drops the 'aa'
+ bit in this case.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ getAnswers() in dnspacket.cc could be forced to read bytes beyond the end of the packet, leading to crashes in the
+ PowerDNS recursor. This is an ongoing project that needs more work. Reported by Dan Faerch, with a coredump proving the problem.
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </sect2>
+
<sect2 id="changelog-2-9-6"><title>Version 2.9.6</title>
<para>
Two new backends - Generic ODBC (windows only) and LDAP. Furthermore, a few important bugs have been fixed which may have hampered sites seeing a lot of