In this case a zone level forwarder takes priority over the global forwarder. Abc.com would go to 1.1.1.1
On Sat, Jun 27, 2020, 11:44 PM baalchina <baalch...@gmail.com> wrote: > Hi all, > > I had a bind 9.16.4 as recursive name server. I want to forward all > queries to a specific dns server out of my net such as 8.8.8.8. While I > have a new domain( such as abc.com) I want to forward to a new dns server > such as 9.9.9.9. > > Here is my named.conf: > > > options { > listen-on port 53 {192.168.1.1;}; > recursion yes; > allow-recursion {any;}; > forwarders { > 8.8.8.8; > }; > }; > > zone "abc.com" { > type forward; > forwarders {1.1.1.1;}; > > }; > > So, in this configuration, the abc.com will be forward to 8.8.8.8 or > 1.1.1.1? > > Thanks. > > > > > -- > from:baalchina > _______________________________________________ > Please visit https://lists.isc.org/mailman/listinfo/bind-users to > unsubscribe from this list > > ISC funds the development of this software with paid support > subscriptions. Contact us at https://www.isc.org/contact/ for more > information. > > > 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 ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users