<html><head><meta http-equiv="content-type" content="text/html; charset=us-ascii"><style>body { line-height: 1.5; }blockquote { margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em; }body { font-size: 10.5pt; font-family: ????; color: rgb(0, 0, 0); line-height: 1.5; }body { font-size: 10pt; color: rgb(0, 0, 0); line-height: 1.5; font-family: verdana; }</style></head><body>
 
<div style="FONT-FAMILY: Verdana"><span></span> </div>
<div><span style="background-color: rgba(0, 0, 0, 0); font-size: 10pt; line-height: 1.5;">Tested and found that the Buffer is full(</span>udp <span style="background-color: rgba(0, 0, 0, 0); font-size: 10pt; line-height: 1.5;">Recv-Q full)!</span></div><div><span style="background-color: rgba(0, 0, 0, 0); font-size: 10pt; line-height: 1.5;">A large number of requests generate a lot of logs, resulting in heavy disk IO.</span></div><div>So modify logging<span style="background-color: window; font-size: 10pt; line-height: 1.5;">:</span></div><div><span style="background-color: rgba(0, 0, 0, 0);">channel bind_log {
<br>                file "/var/log/named/bind.log" versions 3 size 50m;
<br>                severity warning;
<br>                #severity info;
<br>                print-time yes;
<br>                print-severity yes;
<br>                print-category yes;
<br>        };
<br>        category default{
<br></span>bind<span style="background-color: rgba(0, 0, 0, 0);">_log;
<br>        };</span></div><div><span style="background-color: rgba(0, 0, 0, 0);"><br></span></div><div>And now,works fine!</div>
<hr style="WIDTH: 210px; HEIGHT: 1px" align="left" color="#b5c4df" size="1">
<div style="FONT-FAMILY: Verdana"><span><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt">ShanyiWan</div></span></div>
<blockquote style="margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em;"><div> </div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><div style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: 12px;FONT-FAMILY:tahoma;COLOR:#000000; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; PADDING-TOP: 8px"><div><b>From:</b> <a href="mailto:each@isc.org">Evan Hunt</a></div><div><b>Date:</b> 2014-11-07 01:22</div><div><b>To:</b> <a href="mailto:wsy@114.com.cn">ShanyiWan</a></div><div><b>CC:</b> <a href="mailto:bind-users@lists.isc.org">bind-users</a></div><div><b>Subject:</b> Re: BIND 9.10 dlz(BDB): slow query times</div></div></div><div><div>On Fri, Nov 07, 2014 at 12:27:55AM +0800, ShanyiWan wrote:</div>
<div>> 100000+ domains, 500000 records,</div>
<div>> </div>
<div>> Most of the query time in 1-3 seconds, is this normal?</div>
<div> </div>
<div>DLZ is slow, but it's not that slow.  I would guess the delay you're</div>
<div>seeing is due to the time it takes to retrieve data from the berkeley</div>
<div>DB.  How long does it take to query the database directly?</div>
<div> </div>
<div>Turning on minimal-responses reduces the number of database lookups</div>
<div>required for each query, which might help if the database is slow.  There</div>
<div>may also be a bdb mailing list that can recommend database optimizations.</div>
<div> </div>
<div>-- </div>
<div>Evan Hunt -- each@isc.org</div>
<div>Internet Systems Consortium, Inc.</div>
</div></blockquote>
</body></html>