name caching and forwarding

Phil Mayers p.mayers at imperial.ac.uk
Tue Feb 26 16:14:26 UTC 2013


On 26/02/13 16:07, Robert Moskowitz wrote:

> And I am having challenges with the forward option.  It reads that
> 'forward only' will always ask the forwarder about the query and seems
> to defeat caching?  And 'forward first' only looks in cache after a
> forward fails?  This does not sound right and I am missing something in
> the documentation; like forwarding ONLY applies IF the query is NOT in
> cache?

No, you've misunderstood.


"forward first" means "try the forwarders, and if you don't get a reply, 
try the query yourself starting from the root"

"forward only" means "only ever try the forwarders"

"forward" replies are always cached for the relevant TTL.



More information about the bind-users mailing list