questions on bind cache with views
barmar at alum.mit.edu
Thu Dec 17 16:23:08 UTC 2009
In article <mailman.3.1261049906.21153.bind-users at lists.isc.org>,
"Young H." <armywide at gmail.com> wrote:
> On Thu, Dec 17, 2009 at 6:59 PM, Mark Andrews <marka at isc.org> wrote:
> > allow-query-cache
> > Â Â Â Â Specifies which hosts are allowed to get answers from the
> > Â Â Â Â cache. If allow-query-cache is not set then allow-recursion
> > Â Â Â Â is used if set, otherwise allow-query is used if set unless
> > Â Â Â Â recursion no; is set in which case none; is used, otherwise
> > Â Â Â Â the default (localnets; localhost;) is used.
> Thanks for all.
> My english is not good enough to understand for the statement above.
> Does it mean I have to set both allow-query-cache and allow-recursion,
> or either of them?
My English is well :) and that paragraph is still confusing. Forget
about the defaults and set all these options the way you want them
English is not well suited to describing the nested way these defaults
depend on each other. It would probably be better if pseudo-code had
if allow-query-cache is set
then use it
else if allow-recursion is set
then allow-query-cache = allow-recursion
else if allow-query is set
then if recursion != no
then allow-query-cache = allow-query
else allow-query-cache = none
else allow-query-cache = (localnets; localhost;)
I hope I translated it right -- the clause about allow-query and
recursion is confusing.
Barry Margolin, barmar at alum.mit.edu
*** PLEASE don't copy me on replies, I'll read them in the group ***
More information about the bind-users