PAAS NON VNETS的Azure DNS [英] Azure DNS for PAAS NON VNETS

查看:67
本文介绍了PAAS NON VNETS的Azure DNS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

只是试图弄清楚如何解决未对等的vnet上的paas的dns查询?这些将如何解决dns名称解析? VNET 1和VNET 2没有建立对等关系,但需要DNS才能在这2个vnet之间进行解析.

Just trying to figure out how can i resolve dns queries for paas that is on vnets that are not peered together? how would these resolve dns name resolution?e.g. VNET 1 and VNET 2 are not peered but need DNS to resolve between these 2 vnets.

谢谢

推荐答案

您能否详细说明您的情况?例如,您提到了VNet之间的DNS,即IaaS,但同时也提到了PaaS.另外,如果不对等VNet,为什么还要在VNet之间需要DNS?

Can you explain your scenario in more detail / specifics? For example, you mention DNS between VNets, which suggests, IaaS, and yet you also mention PaaS.  Also, why do you need DNS between VNets, if the VNets aren't peered?

有两种方法可以在VNet之间实现DNS

There are two ways to achieve DNS between VNets

-运行您自己的DNS服务器,并在VNet设置中配置DNS服务器IP.两个VNet都需要访问服务器(或者在每个VNet中都需要单独的同步服务器). VM可以使用动态DNS(DDNS)自动注册 但是在VM上设置DNS后缀需要在VM上使用自定义脚本

 - Run your own DNS servers, and configure the DNS server IPs in the VNet settings. Both VNets would need access to the servers (or separate, synchronized servers would be needed in each VNet). VMs can register automatically using Dynamic DNS (DDNS) but setting the DNS suffix on the VMs requires a custom script on the VMs

 -使用Azure DNS专用区域(预览)功能.只有一个VNet可以自动注册VM,而另一个VNet则需要手动注册(此时).然后,两者都可以使用专用区域在两个VNet之间进行DNS查找.它不需要 可以对等的VNet.

 - Use the Azure DNS private zones (preview) feature. Only one VNet can register VMs automatically, the other will need to manually register (at this time). Both can then use the private zone for DNS lookups across both VNets. It doesn't require the VNets to be peered.

此致

乔纳森(www.Opsgility.com)

Jonathan (www.Opsgility.com)

PS.如果这回答了您的问题,请标记为答案"

PS. If this answers your question, please 'mark as answer'


这篇关于PAAS NON VNETS的Azure DNS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆