I have an authoritative DNS server which I want to forward example.com
to another server.
I have this in my options
dnssec-validation no;
forwarders { 209.200.164.69; 209.200.164.74; };
and this in my zone config
zone "example.com" IN {
type forward;
forward only;
forwarders { 209.200.164.69; 209.200.164.74; };
};
but for some reason, I get "query denied" when querying, also in syslog.
Tried to allow recursion to the above DNS server addresses, this didn't work.
when I used allow-recursion { any; }; it resolved but it wasn't the behaviour I want. Tried dnssec-lookaside solution also. Tried virtually anything suggested I could find on google, but I couldn't get it to just forward the example.com
alone.