- fixed very embarrassing bug in bind parser - would die on escaping a '
- pipebackend back
- freebsd fixes
+ - Solaris fixes (thanks Mark Bakker, Edvard Tuinder)
+ - removed silly debugging message ('sd.ttl from cache')
+
Changes since 2.8:
- license
SUBDIRS=modules pdns
-EXTRA_DIST=TODO WARNING README HACKING INSTALL ChangeLog
+EXTRA_DIST=TODO WARNING README HACKING INSTALL ChangeLog debian
install-exec-local:
@echo "***********************************************************"
$ ./configure --with-modules="mysql mypgsql"
-For postgresql, you will probably have to edit modules/mypgsql/Makefile.in -
-see the TODO file
+See http://rtfm.powerdns.com/compiling-powerdns.html for more details.
+
+SOLARIS NOTES
+-------------
+You need gcc 3.x, preferably 3.2!
+If you encounter problems with the Solaris make, gmake is advised
+
+IPv6 is currently (2.9.1.) broken in Solaris, awaiting patches!
+
+FREEBSD NOTES
+-------------
+gcc 2.95.x works. You need to compile using gmake - regular make only appears to
+work, but doesn't in fact.
+
+
+LINUX NOTES
+-----------
+None really.
---
+bugs:
+ bind backend ANY queries don't work
immediate issues:
make install installs libraries with a static build which it should
Things we will not do but hope other people will:
- - Ports to NetBSD, OpenBSD, Solaris, AIX
+ - Ports to NetBSD, OpenBSD, AIX
Projects we will be working on, but would like help for:
- Add support for TSIG
Medium size things:
+ - 64 bit cleanliness
- Improve bind 'workalike' mode so we are a drop-in replacement for
non-resolving bind. We're 90% there.
Add support for being master/slave in bind mode
- 'make distclean' tries to calculate dependencies in
modules/pgmysqlbackend, which is not needed
- - make sure only Linux gets -D_GNU_SOURCE
- doesn't hurt other architectures, but its ugly
- investigate if the following is better for the spgsql driver:
int SPgSQL::doQuery(const string &query)
{
Real work:
- - Solaris version
- Mac OS X version (has been done, partly)
- resurrect W2K version
\ No newline at end of file
Copyright 2002 PowerDNS.COM BV
This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
+ it under the terms of version 2 of the GNU General Public License as
+ published by the Free Software Foundation.
Additionally, the license of this program contains a special
exception which allows to distribute the program in binary form when
-// $Id: gmysqlbackend.cc,v 1.3 2002/11/29 21:16:10 ahu Exp $
+// $Id: gmysqlbackend.cc,v 1.4 2002/12/09 18:34:45 ahu Exp $
#include <string>
#include <map>
bool gMySQLBackend::get(DNSResourceRecord &r)
{
// L << "gMySQLBackend get() was called for "<<qtype.getName() << " record: ";
- SMySQL::row_t row;
+ SSql::row_t row;
if(d_db->getRow(row)) {
r.content=row[0];
r.ttl=atol(row[1].c_str());
#include <string>
#include <map>
-#include "smysql.hh"
+#include "ssql.hh"
using namespace std;
Buildroot: /tmp/pdns
Name: pdns
-Version: 2.8
+Version: 2.9.1
Release: 1
Summary: extremely powerful and versatile nameserver
Copyright: see /usr/doc/pdns/copyright
%files
%defattr(-,root,root)
"/usr/sbin/pdns_server"
-"/usr/sbin/pdns_control"
-"/usr/sbin/zone2sql"
-"/usr/doc/pdns/LICENSE"
-"/usr/doc/pdns/README"
-"/usr/doc/pdns/html/"
-"/usr/doc/pdns/pdns.txt"
-"/usr/doc/pdns/pdns.pdf"
+"/usr/bin/pdns_control"
+"/usr/bin/zone2sql"
%dir "/etc/powerdns/"
%config(noreplace) "/etc/powerdns/pdns.conf"
%config "/etc/init.d/pdns"
{
arg().set("local-port","The port on which we listen")="53";
arg().setSwitch("log-failed-updates","If PDNS should log failed update requests")="";
- arg().setSwitch("log-dns-details","If PDNS should log failed update requests")="";
+ arg().setSwitch("log-dns-details","If PDNS should log DNS non-erroneous details")="";
arg().set("urlredirector","Where we send hosts to that need to be url redirected")="127.0.0.1";
arg().set("smtpredirector","Our smtpredir MX host")="a.misconfigured.powerdns.smtp.server";
arg().set("local-address","Local IP address to which we bind")="0.0.0.0";
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-// $Id: ueberbackend.cc,v 1.2 2002/11/29 22:02:33 ahu Exp $
-/* (C) Copyright 2002 PowerDNS.COM BV */\r
+// $Id: ueberbackend.cc,v 1.3 2002/12/09 18:34:45 ahu Exp $
+/* (C) Copyright 2002 PowerDNS.COM BV */
#include "utility.hh"
#include <string>
#include <map>
DNSPacket::fillSOAData(d_answer.content,sd);
sd.domain_id=d_answer.domain_id;
sd.ttl=d_answer.ttl;
- cout<<"from cache: sd.ttl: "<<sd.ttl<<endl;
+
return true;
}