Why would a master zone use forwarders ?

Mik J mikydevel at yahoo.fr
Sat May 13 20:45:17 UTC 2017


Thank you Ben,"With no forward {} the path for blah.bar.foo.com directed at server A will be A > C > B"Do you see any reason why I would use this non optimal path ?
 In your example, how would C contact B, there would be a zone forward ?Regards

    Le Vendredi 12 mai 2017 18h10, Ben Croswell <ben.croswell at gmail.com> a écrit :
 

 If you load foo.com on server A and delegate bar.foo.com to server B with a global forwarder of server C you resolution will vary depending on forward first vs forward only and forwarders {}.
With no forward {} the path for blah.bar.foo.com directed at server A will be A > C > BWith forward {} the global forward will be short circuited for foo.com and below resulting in a path of A > B
On May 12, 2017 11:56 AM, "Mik J" <mikydevel at yahoo.fr> wrote:

Thank you Ben for your answer
My server uses a global forwarding
I don't understand what you wrote"If it is master for a foo.com and also has global forwarding it will use the global forward for any delegated child domains under foo.com unless they are also loaded locally."
If my DNS is autoritative, why would I use a forwarding ?
For my sub domains I use delegationssub.mydomain.com NS ns.sub.mydomain.comns.sub.mydomain.com A 1.1.1.1
What's the difference between the global forward for delegated child domains and the delegation I do ?
Thank you

 

    Le Vendredi 12 mai 2017 15h34, Ben Croswell <ben.croswell at gmail.com> a écrit :
 

 This would only change behavior if the server has global forwarding. 
If it is master for a foo.com and also has global forwarding it will use the global forward for any delegated child domains under foo.com unless they are also loaded locally.  The forward{} turns off global forwarding for that branch of the tree.
On May 12, 2017 9:27 AM, "Mik J via bind-users" <bind-users at lists.isc.org> wrote:

Hello,
If my DNS is master/slave for a zone, why would I want it to use forwarders.
In other terms why would I wantzone "mydomain.com"
{
        type master;
        file "zones/master/com/mydomain.com ";
        allow-update { acl; };
};

Instead of (forwarders {};)zone "mydomain.com"
{
        type master;
        file "zones/master/com/mydomain.com ";
        allow-update { acl; };        forwarders {};};
Why would I want to forward requests if I'm autoritative for the zone ?
Thank you for those who can hightligh this point.

______________________________ _________________
Please visit https://lists.isc.org/mailman/ listinfo/bind-users to unsubscribe from this list

bind-users mailing list
bind-users at lists.isc.org
https://lists.isc.org/mailman/ listinfo/bind-users



   



   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20170513/55867955/attachment.html>


More information about the bind-users mailing list