BIND - how can I add domain and/or host overrides?

Started by nzkiwi68, June 25, 2020, 02:59:18 AM

Previous topic - Next topic
Wow, BIND is great.

I want to stop using unbound, I just need a way (rather than chaining unbound and BIND together... which I could do..) to simply add host and domain overrides like in the Unbound DNS overrides section.


Yes, I can see that functionality, but it's not really it.

Some of the DNS servers for domain names I'd like to use have many 100's of records. I don't want to be a slave DNS server, I'd just like to conditionally forward DNS queries for those domain names to specific authoritative name servers, Microsoft DNS calls that conditional forwarders.

I know BIND does support this type of this behavior, "Forward Zones".
https://docstore.mik.ua/orelly/networking_2ndEd/dns/ch10_05.htm

zone "domain.com" {
   type forward;
   forwarders { 123.123.123.123; 123.123.123.124; };
};