]> granicus.if.org Git - pdns/commitdiff
lots
authorBert Hubert <bert.hubert@netherlabs.nl>
Thu, 13 Mar 2003 12:45:30 +0000 (12:45 +0000)
committerBert Hubert <bert.hubert@netherlabs.nl>
Thu, 13 Mar 2003 12:45:30 +0000 (12:45 +0000)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@160 d19b8d6e-7fed-0310-83ef-9ca221ded41b

ChangeLog
configure.in
debian/changelog
modules/pdnsbackend/pdnsbackend.cc
modules/pdnsbackend/pdnsbackend.hh
pdns/docs/pdns.sgml

index a71f9c9fee9e29cd7eb91d47f9e62080dd8ad81c..0d1a0a692ca4f907c5630605eef8e3256ee6702c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,22 +1,27 @@
 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)
index 102d3be8051c4837cc8f3b7f0541fddb263b3cb8..7bc1041b3cb6e4e73d53959d5a3ec26bbf672dd3 100644 (file)
@@ -1,6 +1,6 @@
 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 
index 7426ea9402a72ca40501015e9a5381bd8d6da70a..27aebe5bf52334419d1924003a8e4ad5aa6e19ad 100644 (file)
@@ -1,3 +1,9 @@
+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
index 15b95609cfe0319f4df6d8720c4e0b4580cced38..691096d35cc90ee9b2da709461afa58dad5bb30a 100644 (file)
@@ -1,4 +1,4 @@
-// $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>
@@ -39,7 +39,7 @@ PdnsBackend::PdnsBackend(const string &suffix)
    : d_result(NULL)
 {
    mysql_init(&d_database);
-  
+   d_suffix=suffix;
    MYSQL* theDatabase = mysql_real_connect
       (
         &d_database,
@@ -162,7 +162,7 @@ bool PdnsBackend::getSOA(const string& inZoneName, SOAData& outSoaData)
       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;
@@ -239,6 +239,7 @@ class PDNSFactory : public BackendFactory
         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="")
index 756dd6aecefa90552b6ebd636b5427d56a8a1842..380c8c5566fb73370699f05e001fd5a27c096d01 100644 (file)
@@ -1,4 +1,4 @@
-// $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
@@ -28,6 +28,7 @@ class PdnsBackend : public DNSBackend
 
       MYSQL        d_database;
       MYSQL_RES*   d_result;
+  string       d_suffix;
       
       void Query(const string& inQuery);
       string sqlEscape(const string &nanme);
index 32f6e7245fcda8517e74eb5780177a6117d5e81e..f79933bfafc82d8fea15c5158abdac6a6cb85a43 100644 (file)
@@ -11,7 +11,7 @@
       </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