Help: BIND _ Recursive query

2019-03-03 Thread Vivek Aggarwal
Team,
>
>
>
> Please help in understand what the purpose of specifying "recursion yes"
> in the "named.conf.options" file when I have already configured the
> forwarders list in it.
>
> I've a zone file for managing the internal subnet machines & when I get a
> request outside of my internal subnet machines, I want to forward the DNS
> queries to my "forwarders" list of machines
>
> The thing I not clear here , is it okay for me to not use attribute "
> "recursion yes" & let my forwarders list handle the recursive behaviour &
> provide the result.
>
> And second question, in this setup where I'm managing the zone
> configuration for resolving internal machines ,whether it make sense to use
> "recursion yes" or not
>
> Named version:
> BIND 9.10.3-P4-Ubuntu
>
> regards
> Vivek
>
___
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: Help: BIND _ Recursive query

2019-03-03 Thread Matus UHLAR - fantomas

On 03.03.19 14:55, Vivek Aggarwal wrote:

Please help in understand what the purpose of specifying "recursion yes"


it means that BIND will provide recursion, e.g. resolve domains not
confiured locally.


in the "named.conf.options" file when I have already configured the
forwarders list in it.


configuring forwarders will now enable recursion. Without "recursion yes"
forwarders are useless.


I've a zone file for managing the internal subnet machines & when I get a
request outside of my internal subnet machines, I want to forward the DNS
queries to my "forwarders" list of machines


if you don't need forwarders (e.g. you are behind firewall with no internet
access), then don't use forwarders. BIND can resolve itself and using
forwarders rarely help anything.


The thing I not clear here , is it okay for me to not use attribute "
"recursion yes" & let my forwarders list handle the recursive behaviour &
provide the result.


recursion is "yes" by default. with "recursion no" BIND will not ask
forwarders if you ask for non-local info.


And second question, in this setup where I'm managing the zone
configuration for resolving internal machines ,whether it make sense to use
"recursion yes" or not


"recursion yes" is required when you need to resolve outside zones. That
means, for most cases it's required for BIND to work.
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Remember half the people you know are below average. 
___

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: Help: BIND _ Recursive query

2019-03-03 Thread vivek
thanks, that means for Bind service to work  we have to have the "recursion
yes" else the forwarder will also not work.

Actually I m bit confused between Recursive vs Iterative query mode , so
does this mean Bind will only work in Recursive query mode & this makes the
"Forwarder "  to do his required job.

Help in understand so in what scenarios will use/configure Bind in Iterative
query mode.



--
Sent from: http://bind-users-forum.2342410.n4.nabble.com/
___
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: Help: BIND _ Recursive query

2019-03-03 Thread Matus UHLAR - fantomas

On 03.03.19 07:36, vivek wrote:

thanks, that means for Bind service to work  we have to have the "recursion
yes" else the forwarder will also not work.

Actually I m bit confused between Recursive vs Iterative query mode , so
does this mean Bind will only work in Recursive query mode & this makes the
"Forwarder "  to do his required job.

Help in understand so in what scenarios will use/configure Bind in Iterative
query mode.


iterative mode happend when domain is configured locally, otherwise
recursive mode is used. you don't need to configure it.

--
Matusy UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Despite the cost of living, have you noticed how popular it remains? 
___

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: Help: BIND _ Recursive query

2019-03-03 Thread Barry Margolin
In article ,
 vivek  wrote:

> thanks, that means for Bind service to work  we have to have the "recursion
> yes" else the forwarder will also not work.
> 
> Actually I m bit confused between Recursive vs Iterative query mode , so
> does this mean Bind will only work in Recursive query mode & this makes the
> "Forwarder "  to do his required job.
> 
> Help in understand so in what scenarios will use/configure Bind in Iterative
> query mode.

"recursion yes" means that it will *answer* queries that require 
recursion, i.e. they ask for information in outside domains.

When the nameserver does all lthe outside lookup work by itself, by 
working its way down from the root servers, that's called "iterative 
mode".

When a client or nameserver asks another server to do all the work, it 
does that by sending a recursive query. This is the normal way that host 
resolver libraries work, and it's what BIND does when you configure 
"forwarders".

-- 
Barry Margolin
Arlington, MA
___
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: Help: BIND _ Recursive query

2019-03-03 Thread Mark Andrews
Iterative mode is the default lookup mode for recursive servers.  It is where
the server follows the delegations from the root servers to talk to the
authoritative servers directly.  Recursive mode is where you use another
recursive server (in iterative mode) to talk to the authoritative servers.
Stub resolvers (in applications) use recursive mode.

> On 4 Mar 2019, at 2:17 am, Matus UHLAR - fantomas  wrote:
> 
> On 03.03.19 07:36, vivek wrote:
>> thanks, that means for Bind service to work  we have to have the "recursion
>> yes" else the forwarder will also not work.
>> 
>> Actually I m bit confused between Recursive vs Iterative query mode , so
>> does this mean Bind will only work in Recursive query mode & this makes the
>> "Forwarder "  to do his required job.
>> 
>> Help in understand so in what scenarios will use/configure Bind in Iterative
>> query mode.
> 
> iterative mode happend when domain is configured locally, otherwise
> recursive mode is used. you don't need to configure it.
> 
> -- 
> Matusy UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
> Warning: I wish NOT to receive e-mail advertising to this address.
> Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
> Despite the cost of living, have you noticed how popular it remains? 
> ___
> 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

-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742  INTERNET: ma...@isc.org

___
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