2-4 second delay from superuser to root servers

Sajed Naseem naseems at stjohns.edu
Fri Oct 14 14:05:54 UTC 2005


Hello,

I am running 5.8 Generic_117350-26 (Sunblade 1600) and Bind 9.2.5.  I
have a 2-3 second delay from the root prompt to do an nslookup for a
domain which is not in the server's cache.  There is a 2-3 second
blackout before a response is received.  There is about a 4 second delay
from a desktop (I am assuming network traffic).  Once the record is
received, the response is obviously immediate (cache).  I don't know
what the problem is.  Any help would be greatly appreciated.

Named.conf:

        //      
        directory "/var/named";
        // query-source address * port 53;
        pid-file "/var/run/named.pid";
        statistics-file "/var/run/named.stats";
//        stacksize 30M;
//       datasize 20M;
        auth-nxdomain yes;                 // v9 wants this?
        allow-transfer { x.x.x.x; x.x.x.x; x.x.x.x; x.x.x.x;
 x.x.x.x; };   // this limits ALL zones
        transfer-format many-answers;      // faster tranfers
        version "djbdns";              // hide BIND version
//
//       forwarders     { x.x.x.x; x.x.x.x; x.x.x.x; x.x.x.x
; x.x.x.x; };
        recursion       yes;            
//
//        forward               only;
};

Ps -ef:

named 13199     1  0 09:26:03 ?        0:28 /opt/bind/sbin/named -u
named -t /dns/chroot

/etc/init.d/dns:

#!/bin/sh

case $1 in
'start' )
   /opt/bind/sbin/named -u named -t /dns/chroot
   ;;
'stop' )
   kill `ps -ef | grep named | grep -v grep | awk '{print $2}'` >
/dev/null 2>&1
   ;;
*)
   echo "usage: $0 {start|stop}"
esac

Sajed Naseem
St. John's University





More information about the bind-users mailing list