I have scenario, where I will access VM on VPN, for that I have setup like two VPC which is peered and in which one host VPC A is corporate one which is using for connection to VPN.
Now, when I spin up instance in VPC B, it is not able to perform dns forwarding it means it not able to connect internally nor externally on any dns.
I have dns server policies on both VPC which have alternate server but my VM is not picking up any of those.
In VPC B there is private hosted zone for forwarding, same I created in VPC B with dns peering to VPC A, but afaik no forwarding or peering will work if we have dns server policy with alternate name.
Now, I am stuck as my VM is not able to download any package from corporate n/w and not from internet.