questions on bind cache with views

Young H. armywide at gmail.com
Thu Dec 17 11:38:10 UTC 2009


On Thu, Dec 17, 2009 at 6:59 PM, Mark Andrews <marka at isc.org> wrote:
>
> In message <35686be10912170139j3d89c414n1da84870b47c9dba at mail.gmail.com>, "Youn
> g H." writes:
>> Hello,
>>
>> I have config the bind-9.6.1 with multi-views and "recursion yes".
>> But I found bind always deny the query to its cache, the log shows:
>>
>> Dec 17 17:30:42 localhost named[15603]: client 113.96.221.24#54412:
>> view tel: query: www.126.com IN A +
>> Dec 17 17:30:42 localhost named[15603]: client 113.96.221.24#54412:
>> view tel: query (cache) 'www.126.com/A/IN' denied
>
> You need to look at your acl settings.  Named default to allowing
> local machines to recurse.
>
> 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?
Thank again.

// Young.



More information about the bind-users mailing list