Currently, I am setting up a Hybrid Environment in Azure along with the existing Data Center.
I have configured the Site-to-Site connection between Azure HUB-VNET & On-Prem using Virtual Gateway. Communication between Azure HUB-VNET & On-Prem is working.
I have the following Hub-Spoke model
vnet-hub-poc-hubspoke is the Hub VNET
with an Azure Firewall
Hub VNET is peered with Prod VNET
Prod VNET is configured as shown below
also peered with HUB VNET
I have following VMs created in the Prod VNET
with Routing Table configured
I have create a DNS Zone in Azure
# Create DNS Zone
domainName="northeasttechnie.xyz"
az network dns zone create -g $rgName -n $domainName
az network dns record-set a add-record -g $rgName -z $domainName -n www -a $vmIP
Questions:
- What should I do so that my custom DNS will be used instead of the Azure DNS with IP address 168.63.129.16? should I update the DNS Server configuraiton at the VNET Level like mentioned below
- What should I do so that my Custom DNS will forward the queries to on On-Prem DNS?
- What should I do so that my On-Prem DNS will forward the queries to Azure DNS or DNS Server for further resolution?