[EMAIL PROTECTED] wrote:
> I use bind-8 on a Mandrake 7.2 server as DNS for our local network. Queries for
> names (our IPs) outside the local net are forwarded to our providers DNS.
> Trouble is, that my DNS seems no to cache addresses.
> If do for example nslookup for www.gmx.net and repeat this after 30 seconds my
> DNS forwards the queries both times to our ISP instead of resolving it itself.
> Surprisingly, if I do two nslookups direct behind each other there is only one
> query forward, the other answer comes as 'Non-authoritative answer' from my own
> DNS.
>
> Further down you'll find the named.conf-file of my DNS.
I think the file you want is /var/named/named.local
Mine contains:
# cat /var/named/named.local
@ IN SOA localhost. root.localhost. (
1999121201 ; serial
10800 ; refresh
3600 ; retry
604800 ; expire
86400 ; default_ttl
)
1 IN PTR localhost.
@ IN NS localhost.
If you have this file see if the refresh and expire values
are small. As I recall these values are in seconds.
duane