Query Refused problem

Mark Andrews marka at isc.org
Thu Oct 1 23:58:40 UTC 2009


In message <200910011237.09682 at zmi.at>, Michael Monnerie writes:
> On Donnerstag 01 Oktober 2009 Mark Andrews wrote:
> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Specifies which hosts are allowed to =
> get answers
> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from the cache. =A0If
> > <command>allow-query-cache</command> is not set then
> > <command>allow-recursion</command> is used if set, otherwise
> > <command>allow-query</command> is used if set unless
> > <command>recursion no;</command> is set in which case
> > <command>none;</command> is used, otherwise the default
> > (<command>localnets;</command> <command>localhost;</command>) is
> > used.
> 
> Not exactly a good explanation. At least, I've read it twice and still =
> 
> don't exactly know where the "if..else..elseif..." parts connect. Maybe =
> 
> someone could change that to pseudocode with "if" statements, or make it =
> 
> several sentences so it's clear where if..unless..except..otherwise =
> 
> parts start and end.
> 
> mfg zmi
> -- =

	if (set(allow-query-cache))
		use allow-query-cache;
	else if (set(allow-recursion))
		use allow-recursion;
	else if (set(allow-query))
		use allow-query;
	else if (set(recursion no;))
		use { none; };
	else
		use { localnets; localhost; };
 
> // Michael Monnerie, Ing.BSc    -----      http://it-management.at
> // Tel: 0660 / 415 65 31                      .network.your.ideas.
> // PGP Key:         "curl -s http://zmi.at/zmi.asc | gpg --import"
> // Fingerprint: AC19 F9D5 36ED CD8A EF38  500E CE14 91F7 1C12 09B4
> // Keyserver: wwwkeys.eu.pgp.net                  Key-ID: 1C1209B4
> 
> _______________________________________________
> 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