最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

vnet - How to resolve DNS from Azure Public DNS Zone when a record is not present in Azure Private DNS Zone - Stack Overflow

programmeradmin2浏览0评论

I have an Azure Virtual Network myVNET. In myVNET, I have a vm deployed. I also have one Azure Public DNS Zone i.e. test. Along with it, there is also an Azure Private DNS Zone with the same name test. The private dns zone test is linked with myVNET.

The public dns zone has an A record i.e. external.test which is pointing to a public ip, lets say x.x.x.x

The private dns zone has an A record i.e. internal.test which is pointing to a private ip, lets say y.y.y.y

The vm has an application running. When I try to invoke internal.test, it correctly resolves the ip i.e. y.y.y.y. But when I try to invoke external.test, although it is present in public DNS zone, the resolution fails because lookup happens on private dns zone where the external.test record is not present.

I know that if I make the entry for external.test in private dns zone, it would work. However, if I don't want to do that, is there any way in Azure to configure it in such a way that for test dns zone, if a record is not found in private dns zone, it would lookup in public dns zone? Is there any solution using Azure DNS Private Resolver for the same?

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论