Re: can't resolve some addresses
Jeff King <[email protected]>
| Newsgroups | gmane.network.djbdns |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Apr 06, 2009 at 06:17:00AM +0300, Alex Efros wrote:
> Correct me if I wrong, it looks like dnscache behaviour was changed at
> some version (I'm using it from ~2001 with same configuration including
> FORWARDONLY=0) and now to resolve using root dns servers instead of my
> ISP's dns servers I have to delete FORWARDONLY instead of setting it to 0?
Nope. FORWARDONLY was introduced in djbdns-1.02, and has always had that
behavior. The relevant line is:
$ grep -A1 FORWARDONLY dnscache.c
if (env_get("FORWARDONLY"))
query_forwardonly();
which does not actually look at the value, only whether it is set.
It looks like you have been sending queries with the RD bit set for
years. If you did not put your ISP's dns servers into "@", then you have
been making recursive queries of random authoritative servers.
-Peff