Cache problem

Wael Shahin wael.shahin at gmail.com
Tue Jan 30 10:03:53 UTC 2007


Dear List,

I have a problem with my DNS cache which I can’t know exactly what it is.

Today a record could not be resolved and when I issued the command “rndc 
flush” the server started resolving again

Here is the record I was trying to resolve

; <<>> DiG 9.3.3rc2 <<>> bluepages.com.sa

;; global options:  printcmd

;; Got answer:

;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 936

;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0



;; QUESTION SECTION:

;bluepages.com.sa.              IN      A



;; ANSWER SECTION:

bluepages.com.sa.       85233   IN      A       207.106.22.33



;; Query time: 1 msec

;; SERVER: 127.0.0.1#53(127.0.0.1)

;; WHEN: Tue Jan 30 12:42:37 2007

;; MSG SIZE  rcvd: 50



This is happening with my two servers and the two servers are described 
below



Master:

OS: FC5

BIND Version: 9.3.3rc2

-------

Named.conf

-------------

options {

        directory "/var/named";

        dump-file "/var/named/data/cache_dump.db";

        statistics-file "/var/named/data/named_stats.txt";

        version "Get Lost";

        allow-query { any; };

        allow-recursion { localhost; trusted; };

        minimal-responses yes;

        blackhole { badguys;  };

        notify yes;

        max-ncache-ttl 1;

        allow-transfer { secondaries; };

        also-notify {192.168.1.101; 192.168.10.9;}; // all zones

        allow-notify { secondaries; };

        recursive-clients 30000;

};

---------

Slave:

OS: RH AS 4

BIND Version: 9.2.4



Named.conf

options {

        directory "/var/named";           // Working directory

        pid-file "named.pid" ;

        blackhole { bogusnets; };

        version "Get Lost";

        allow-query { any; };

        allow-recursion { our-nets; localhost; };

        minimal-responses yes;

        notify no;

        max-ncache-ttl 1;

        recursive-clients 300000;

};





I have posted something like this earlier and it was solved by setting the 
ncache to 1 now i think it is back again, however the named -4 didn’t really 
help doing anything



I have bind V8 as well and it never faces this problem



Do I need to send more information?



Thank you





More information about the bind-users mailing list