Hi,
I think you can solve your use case by setting up a private DNS in Azure:
https://learn.microsoft.com/en-us/azure/dns/private-dns-getstarted-powershell
Hope this helps!
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have been trying to find an answer to this, but I can't, so if there is one out there please let me know.
I am trying to access DNS resolved cloud-based resources from on-premises computers via a Virtual Network Gateway I have set up. I have two VNets and am set up to ping from Vnet 1 to Vnet 2 and VPN clients and all combinations of the three, but only via IP address.
I would like to be able to have a machine on either VNet be able to access any VPN devices via DNS resolution and vice versa.
Thanks in advance for any advice.
Hi,
I think you can solve your use case by setting up a private DNS in Azure:
https://learn.microsoft.com/en-us/azure/dns/private-dns-getstarted-powershell
Hope this helps!
Hi @Robert Pangrazio
You can access any Azure resource over it’s FQDN by creating a DNS record, and here you need to create a private DNS record to have the VM responded over it’s name instead of it’s IP.
Reference Articles:
https://learn.microsoft.com/en-us/azure/dns/private-dns-getstarted-portal
https://learn.microsoft.com/en-us/azure/dns/private-dns-privatednszone
Please feel free to let me know if you have any further queries and I will be happy to assist you accordingly.
I am in the process of verifying that this will solve my problem. Once I do, I'll update the question
I'm not seeing what I am looking for. So maybe if I give more detail into what I am trying to do.
I have a Virtual Network Gateway that allows my on-premise Linux computers to connect via OpenVPN. They are successfully connecting and I am able to ping cloud VM's and ping them from the cloud VMs.
I would like to be able to access them via DNS. However, due to the nature of the Linux machines, they will not be maintaining a constant VPN connection as they are shut down and restarted on a regular, if not daily basis. So the IP address created by the VNG may change.
These machines can number in the hundreds, so maintaining a DNS record database would be onerous.
What I am looking for is a way I can dynamically add host information into a DNS system, and then have my on-premises Linux machines use that DNS system to resolve hostnames for cloud resources, and cloud resources use it to resolve the Linux machines.
I hope that makes my request a little more clear.
Thanks in advance