gpt4 book ai didi

Azure DNS 区域 : What should I do so that my custom DNS will be used instead of the Azure DNS with IP address 168. 63.129.16?

转载 作者:行者123 更新时间:2023-12-02 06:12:24 25 4
gpt4 key购买 nike

目前,我正在 Azure 中设置混合环境以及现有的数据中心。

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.

我有以下 Hub-Spoke 模型

enter image description here

vnet-hub-poc-hubspoke 是具有 Azure 防火墙Hub VNET

enter image description here

集线器 VNET产品 VNET 对等

enter image description here

产品 VNET 配置如下所示

enter image description here

还与HUB VNET对等

我在Prod VNET中创建了以下虚拟机

enter image description here

配置了路由表

enter image description here

我已在 Azure 中创建 DNS 区域

# 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

问题:

  • 我应该怎么做才能使用我的自定义 DNS,而不是 IP 地址为 168.63.129.16 的 Azure DNS?我应该像下面提到的那样在 VNET 级别更新 DNS 服务器配置

enter image description here

  • 我应该怎么做才能让我的自定义 DNS 将查询转发到本地 DNS?
  • 我应该怎么做才能让我的本地 DNS 将查询转发到 Azure DNS 或 DNS 服务器以进行进一步解析?

最佳答案

我尝试添加自定义服务器,而不是 IP 地址为 168.63.129.16 的 Azure DNS,如下所示。

enter image description here

要添加自定义 DNS,请确保您需要在使用自定义 DNS 之前设置 VPN,否则部署在 vnet 中的计算机将无法连接到网络 -本地域 Controller 。

要配置 azure vpn,请在虚拟机网关中 -> 指向站点配置 -> 作为事件目录进行身份验证,如下所示。

enter image description here

  • 对于租户,使用 Azure AD 全局管理门户登录,使用租户 ID https://login.microsoftonline.com/<tenantID>/
  • 在 Azure 门户中 -> 企业应用程序 -> 添加新应用程序 -> 创建自己的应用程序 -> 使用 azurevpn enter image description here 登录 azurevpn

enter image description here

在企业应用程序中创建 VPN 后,您的 Azure VPN 应用程序 ID 将作为受众

enter image description here

  • 发行人为 https://sts.windows.net/<tenantID>/并保存

然后,在桌面上刷新并下载VPN客户端并安装azurevpnclient导入您下载的文件并自动显示如下详细信息。

enter image description here

当我尝试添加自定义服务器时,它添加成功,并且 VPN 也连接如下。

enter image description here

另外,请查看此文档:Ref1 , Ref2 & Q&A这给出了一些点

关于Azure DNS 区域 : What should I do so that my custom DNS will be used instead of the Azure DNS with IP address 168. 63.129.16?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/73738988/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com