Greetings,
I recently noticed having some trouble with bind on sarge (version 8.4.4-1).
The system is an intranet server, configured to resolve all local names and
ip-adresses (.local / 192.168.x.y) and to forward all foreign resolv-request
to the ISPs DNS.
forwarders {IP_1; IP_2}; //named.conf
I use a woody based router / firewall to connect my intranet the world wide
web.
The firewall is connected using a ADSL-dialup-line, disconnected by the ISP
after 24h hours. The router redials at once, if the line is
interrupted /disconnected. (The external IP usually changes on every
reconnected).
I noticed, that after reconnecting, bind is not able to resolv non-local
names. Local names can be resolved without any problem
If I restart bind after reconnecting, bind forward foreign requests again.
Futhermore this issue is not deterministic. Bind is not unable to resolve
names after every single reconnect, but I was able to reproduce the issue by
redialing manually - maybe (perhaps) it works if I get the same IP address
again. These chance is extremly small, and cannot be reproduced easily and
perhaps other side-effects might be a reason, too.)
For instance:
ping x.local
-> works finde
ping y.com
-> no happens
/etc/init.d/bind restart
ping y.com
-> works fine.
What's wrong here?