On Thu, Dec 17, 2009 at 6:59 PM, Mark Andrews <[email protected]> wrote: > > In message <[email protected]>, > "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. _______________________________________________ bind-users mailing list [email protected] https://lists.isc.org/mailman/listinfo/bind-users

