Sorry all.<br><br>I didnt notice that I replied for Brandon only, so I forwarded the answer here (and trimmed the config file comments)<br><br>Brandon, 
/etc/init.d/pdns dump show some data.<br>
<br>
You should have 2 things: monitoring and more redundancy.<br>
<br>
At first, I suggest you to turn the webserver on. The 1st line will be something like that:<br>
<br>
Uptime: 1.09 days
Queries/second, 1, 5, 10 minute averages:  425, 420, 420. Max queries/second: 454<br>
<br>
With that you know how many queries reach your server. Cache hits is other useful information.<br>
<br>If your load increase, you should use more servers to handle it. You really want a cluster to answer for your NS1.<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Brandon Lee</b> <span dir="ltr"><<a href="mailto:devmgr1@yahoo.com">devmgr1@yahoo.com</a>></span><br>
Date: 2010/7/28<br>Subject: Re: [Pdns-users] PDNS Timing Out<br>To: José Arthur Benetasso Villanova <<a href="mailto:jose.arthur@gmail.com">jose.arthur@gmail.com</a>><br><br><br><div><div style="font-family: tahoma,new york,times,serif; font-size: 12pt;">
<div>Hello Jose,</div>
<div> </div>
<div>Thank you for your time.   I have posted the information below:</div>
<div> </div>Which O.S. and hardware are you using?  Linux x64bit, Quad Core, 4GB memory<br>How many queries / second ? Is there a command to get this information? <br>How many machines answering for your Master? 1<br>Can you post your configuration file? See below.<br>
<br><br>allow-axfr-ips=1.1.1.4<br>allow-recursion=<a href="http://127.0.0.0/8,...">127.0.0.0/8,...</a>..<br>chroot=./<br>config-dir=/etc/powerdns<br>daemon=no<br>disable-axfr=no<br>distributor-threads=3<br>do-ipv6-additional-processing=no<br>
guardian=yes<br>launch=gmysql<br>gmysql-host=1.1.1.1<br>gmysql-user=pdns<br>gmysql-dbname=pdns<br>gmysql-password=pdns<br>local-address=1.1.1.1<br>log-dns-details=no<br>log-failed-updates=yes<br>loglevel=7<br>master=yes<br>
recursor=1.1.1.2<br>setgid=pdns<br>setuid=pdns<br>webserver=no<br>webserver-password=admin<br><br><div style="font-family: tahoma,new york,times,serif; font-size: 12pt;"></div><div class="hm">
<div style="font-family: tahoma,new york,times,serif; font-size: 12pt;"> </div>
</div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div class="hm"><font face="Tahoma" size="2">
<hr size="1">
<b><span style="font-weight: bold;">From:</span></b> José Arthur Benetasso Villanova <<a href="mailto:jose.arthur@gmail.com" target="_blank">jose.arthur@gmail.com</a>><br><b><span style="font-weight: bold;">To:</span></b> Brandon Lee <<a href="mailto:devmgr1@yahoo.com" target="_blank">devmgr1@yahoo.com</a>><br>
<b><span style="font-weight: bold;">Sent:</span></b> Tue, July 27, 2010 5:58:55 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [Pdns-users] PDNS Timing Out<br></font></div><div><div></div><div class="h5">
<br>Hi Brandon.<br><br>To answer your question, we need to know a bit more of your environment.<br><br>Which O.S. and hardware are you using?<br>How many queries / second ?<br>How many machines answering for your Master?<br>
Can you post your configuration file?<br><br>Did you turn on the webserver? Looking at the webserver page, you can find some useful info to help you.<br><br>Jose Arthur.<br><br>
<div class="gmail_quote">On Tue, Jul 27, 2010 at 8:49 PM, Brandon Lee <span dir="ltr"><<a href="mailto:devmgr1@yahoo.com" rel="nofollow" target="_blank">devmgr1@yahoo.com</a>></span> wrote:<br>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
<div>
<div style="font-family: tahoma,new york,times,serif; font-size: 12pt;">
<div>Hello,</div>
<div> </div>
<div>Recently, our master PowerDNS server load increased dramatically and is timing out in certain areas of the world when servers are performing look ups.  For example, an email user reported that they were getting NDRs and delayed reports.  After we investigated we come to find that the sending user's mail server was timing out when performing lookups.</div>

<div> </div>
<div>Therefore, we turned on logging by setting the log level to 6 in the pdns.conf file and only on the master server we saw hundreds of queries like below being logged whereas on the slave server this was not happening.  Not sure if this is related, but the master DNS server is in high load.</div>

<div> </div>
<div>One thing we have done was changed all our domains SOA record TTL from 3600 to 86400 to see if that would bring the load down and no cigar.  Also, is it recommended to run PowerDNS in daemon mode?</div>
<div> </div>
<div>Any help is greatly appreciated.</div>
<div> </div>
<div>n_id=215<br>May  9 03:35:45 ns1 pdns[9065]: Query: select content,ttl,prio,type,domain_id,na<br>me from records where name='<a href="http://ns1.mydomain.com/" rel="nofollow" target="_blank">ns1.mydomain.com</a>'<br>
May  9 03:35:45 ns1 pdns[9065]: Query: select content,ttl,prio,type,domain_id,na<br>me from records where name='<a href="http://ns2.mydomain.com/" rel="nofollow" target="_blank">ns2.mydomain.com</a>'<br>May  9 03:35:45 ns1 pdns[9065]: Query: select content,ttl,prio,type,domain_id,na<br>
me from records where name='<a href="http://ns1.mydomain.com/" rel="nofollow" target="_blank">ns1.mydomain.com</a>'<br>May  9 03:35:45 ns1 pdns[9065]: Query: select content,ttl,prio,type,domain_id,na<br>me from records where name='<a href="http://ns2.mydomain.com/" rel="nofollow" target="_blank">ns2.mydomain.com</a>'<br>
May  9 03:35:45 ns1 pdns[9065]: Query: select content,ttl,prio,type,domain_id,na<br>me from records where name='<a href="http://mydomain.com/" rel="nofollow" target="_blank">mydomain.com</a>'<br>May  9 03:35:45 ns1 pdns[9065]: Query: select content,ttl,prio,type,domain_id,na</div>
</div><br></div><br>_______________________________________________<br>Pdns-users mailing list<br><a href="mailto:Pdns-users@mailman.powerdns.com" rel="nofollow" target="_blank">Pdns-users@mailman.powerdns.com</a><br><a href="http://mailman.powerdns.com/mailman/listinfo/pdns-users" target="_blank">http://mailman.powerdns.com/mailman/listinfo/pdns-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>José Arthur Benetasso Villanova<br></div></div></div></div><br>







      </div></div><br><br clear="all"><br>-- <br>José Arthur Benetasso Villanova<br>