I have a DNS server which uses Bind9. I am trying to create DNS forwarding from Google's internal DNS to my nodes, which are also in the cloud.
Brief overview:
I have 3 nodes, all of them as Compute Engine in GCP. 1 node works as DNS server that has this configuration:
zone "gcloud" {
type forward;
forwarders {
# IP according to their site https://cloud.google.com/dns/docs/overview#dns-forwarding
169.254.169.254;
};
};
I restart Bind9, everything looks good. Then on the other two nodes, I change the nameserver IP to my DNS server. When I try to use dig
I don't get any records. Pinging the hostname worked before, but doesn't work now.
Any clue as to what am I doing wrong? Let me know if I need to provide more information.