[Pdns-users] installating powerdns - recurse agains root servers

2009-07-21 Thread Michael Holm

Hi,

Now i have been studying the installation for hours.. and still i havent 
found a way to make a simple setup..


I would like to install pdns-recursor, and have it to recurse up against 
the root servers.. but, i just cannot find out how to configure this.


I have a running power dns service, where i have entered my ISP as 
recursor.. but they seems rather unrelayable.. so i hope someone can 
help me.. and yes i have read the documentation.. and google for hours, 
but.. i just cant make the right config :/


Best regards,

--
mvh
Michael Holm

___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


[Pdns-users] Building for windows

2009-07-21 Thread Todd Nine

Hey guys,
  We're working on implementing geographically dispersed  system and  
we need a geo IP DNS system.  From all the raving reviews for  
PowerDNS, it seems to be the best choice.  I'm attempting to build it,  
but I have a few questions.


I downloaded the latest release pdns 2.9.22, but it doesn't have the  
powerdns.dsw file.  I found this in the trunk of the subversion tree.   
Can I just check out this file, or do I need the whole source tree  
from svn to build on Windows?  If I need the whole tree, where is the  
tag for 2.9.22 (or an svn revision number)?



We currently use MsSQL as our DB server.  If we create the required  
table and use the ODBC backend, can our applications update dns  
records directly in the db for PowerDNS to use?  In other words, as  
nodes go online and offline for upgrades and maintenance, I'd like to  
dynamically add and remove records for our www subdomain from our  
own custom applications.  Do I need to signal powerdns in any way to  
reload records from the db once they're been changed from a different  
application?


Thanks in advance,

todd
SENIOR SOFTWARE ENGINEER

todd nine | spidertracks ltd |  117a the square
po box 5203 | palmerston north 4441 | new zealand
P: +64 6 353 3395 | M: +64 210 255 8576
E: t...@spidertracks.co.nz W: www.spidertracks.com

___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


Re: [Pdns-users] SQLite3 problem during stress

2009-07-21 Thread Norbert Sendetzky
On Mon July 20 2009 11:01:05 you wrote:
 Yes, updating only one zone at the time is very much acceptable - that the
 initial transfer takes quite long time does not matter.

 We do not want to use an active database due to memory / CPU footprint.
 If PowerDNS locks the table and let the other threads just wait for the
 lock like any other mutex it would probably be just fine with
 distributor-threads = 1.

The problem of the SQLite database is that while a zone transfer is in 
progress, all other threads can't serve any records. This is because the 
complete table is locked by SQLite when records are updated and this also 
prevents reading records in other zones. Please keep this in mind for your 
installation.

 I want to note that indeed PowerDNS _crashes_ / _exits_ in the end due to
 the Database is locked error. Since I'm currently testing with OpenDBX I
 don't know íf this is something that is regarded as an OpenDBX or PowerDNS
 bug - but gsqlite3 did also crash during heavy load which (as stated
 before) makes me believe that it's backend agnostic.

What you've shown me in your logs is that the PowerDNS opendbx backend gets an 
error from the SQLite library that the database is locked and the opendbx 
backend forces the distributor thread to recreate the connection to the 
database. The problem is that the sqlite3 backend of the OpenDBX library 
returns a fatal error when the database is locked instead of a timeout. This 
is fixed in the SVN trunk and the fix will be also be included in OpenDBX 
1.4.2. The next problem is that the PowerDNS opendbx backend doesn't make use 
of timeouts at the moment and treats them as errors. I've already enhanced the 
PowerDNS opendbx backend but I have to test it as soon as I can and see if the 
problem is gone. I will create a patch and send it to you so you can test 
yourself.

What I haven't seen in your log file excerpt is that the opendbx backend 
crashed with a segfault.


Norbert
-- 
OpenPGP public key
http://www.linuxnetworks.de/norbert.pubkey.asc




signature.asc
Description: This is a digitally signed message part.
___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users