Re: recursion and forwarding
You're getting caught up in semantics. The forwarding of the query *is* recursive resolution. It's not a separate operation. - Kevin On 1/12/2012 1:15 PM, Adamiec, Lawrence wrote: Hi, I am running one master server and one slave server with BIND 9.6.1-P3. The global options section on both servers are identical. In the options section I have, allow-recursion { ck_domain; }; forwarders { 216.47.128.11; 216.47.128.12; 216.47.143.90; }; The ck_domain ACL contains internal IPs only. The documentation I have read states that forwarders will forward a client's query if the answer is not in the server's cache and the server does not know the answer. So when does recursion occur, before the query is forwarded or never? I thought recursion was supposed to go looking for the answers. If recursion does not return an answer then does the query get forwarded? Larry Adamiec UNIX Mgr. 312-906-5301 ___ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users ___ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
RE: recursion and forwarding
This is a very good explanation. Thank you for your help. Larry -Original Message- From: bind-users-bounces+ladamiec=kentlaw@lists.isc.org [mailto:bind-users- bounces+ladamiec=kentlaw@lists.isc.org] On Behalf Of Phil Mayers Sent: Thursday, January 12, 2012 12:35 To: bind-users@lists.isc.org Subject: Re: recursion and forwarding On 01/12/2012 06:15 PM, Adamiec, Lawrence wrote: So when does recursion occur, before the query is forwarded or never? I thought recursion was supposed to go looking for the answers. If recursion does not return an answer then does the query get forwarded? forwarders IIRC works as follows: 1. If query answer in cache, reply from cache to client, stop 2. Send query to forwarders 3. If reply, add to cache, reply to client, stop 4. No reply: if forward only set, error to client, stop 5. Perform normal recursion That is - it tries cache, then the forwarders, then does recursion itself (unless forward only is set). ___ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users ___ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users