Ok Tony, please let me explain to you. In our company we have several desktops from two different cities accessing only to internal domains distributed in two views in a private BIND with authoritative zones, where I've defined "recursion no;".
But now we have to let them access to *.teamviewer.com hostnames, just this public domain and not other. So I've implemented the forwarding of "teamviewer.com" zone to our BIND resolvers servers (they forward DNS queries to 8.8.8.8). So I've created a third view with this information in named.conf.local: acl internet { 10.0.0.0/24 }; view "internet" { match-clients { internet; key "custom"; }; recursion yes; zone "teamviewer.com" { type forward; forward only; forwarders { 172.18.1.1; 172.18.1.2; }; }; I defined "recursion yes" but the BIND servers forwards all the public domains queries to our resolvers and not just for "teamviewer.com", so it doesn't work. And if I change for "recursion no", the query www.teamviewer.com is refused and at the client side appears an error telling that recursion is necessary. So I let desktops resolve all the Internet domains or neither, and this is not what I want because I just want to let them resolve just teamviewer.com. How can I do to forward only teamviewer.com zone queries to my resolvers??? Sorry for my new message, special thanks Tony !!! El jue., 7 feb. 2019 a las 13:41, Tony Finch (<d...@dotat.at>) escribió: > Roberto Carna <robertocarn...@gmail.com> wrote: > > > > So how can I define "recursion yes" just for the zone "linux.org" ??? > > You can turn recursion on and off for the entire server, or per view, but > not per zone. > > It isn't clear to me what you want this server to do. If it is providing > DNS service to end-user devices (if it is configured in /etc/resolv.conf > or advertised by DHCP) then it needs to provide recursive service. If not, > then I am even more confused about what you are trying to do! > > Tony. > -- > f.anthony.n.finch <d...@dotat.at> http://dotat.at/ > St Davids Head to Great Orme Head, including St Georges Channel: Southwest > 5 > or 6, increasing 7 to severe gale 9. Moderate or rough becoming very rough. > Rain and drizzle, squally showers later. Moderate or good, occasionally > poor. >
_______________________________________________ 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