questions on bind cache with views

Mark Andrews marka at isc.org
Thu Dec 17 10:59:10 UTC 2009


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.

> view tel looks as:
> 
> view "tel" {
>       match-clients {
>           key "telkey";
>           any;
>       };
>       allow-update {key "telkey";};
> 
>       zone "my.zone" {
>            type master;
>            file "/usr/local/bind/etc/my.zone.db";
>       };
> };
> 
> 
> Please help me, thanks in advance.
> 
> // Young.
> _______________________________________________
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka at isc.org



More information about the bind-users mailing list