AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题 / 1036755
Accepted
user2713516
user2713516
Asked: 2020-10-08 02:38:46 +0800 CST2020-10-08 02:38:46 +0800 CST 2020-10-08 02:38:46 +0800 CST

无法将 Google Cloud VM 加入 Azure AD 域服务

  • 772

我有一个使用 Azure VM 和 Google Cloud VM 的多云设置,它们通过站点到站点 VPN(来自 Azure)连接。VPN 连接一切正常,但我现在正尝试将所有(Azure 和 Google)VM 加入 Azure (AADDS) 中托管的同一个域。Azure VM 在对等 Vnet 并调整 DNS 服务器以指向 AADDS 内部 IP 后成功加入,但我被困在 google VM 上。

我有:

  • 验证了从谷歌虚拟机到 AADDS 内部 ip 的 VPN 连接,我在两个 ip 上都得到了成功的 ping 回复。
  • 使用 DIG 查看 Azure VM 正在使用的 DNS 配置,并尝试将其复制到 Google DNS 区域(私有)。
  • 验证我可以从我的谷歌虚拟机 ping 域名(名称)。

考虑到 ping 工作正常,我觉得这是一个 DNS 问题。最初我得到了 SVR 记录丢失错误,所以我添加了一个特定的 SVR 记录 _ldap._tcp.dc._msdcs svr 并尝试了通配符 SVR。但是我在尝试加入时最终出现以下错误:

Note: This information is intended for a network administrator.  If you are not your network's administrator, notify the administrator that you received this information, which has been recorded in the file C:\Windows\debug\dcdiag.txt.

DNS was successfully queried for the service location (SRV) resource record used to locate a domain controller for domain "mydomain.com":

The query was for the SRV record for _ldap._tcp.dc._msdcs.mydomain.com

The following domain controllers were identified by the query:
mydomain.com


However no domain controllers could be contacted.

Common causes of this error include:

- Host (A) or (AAAA) records that map the names of the domain controllers to their IP addresses are missing or contain incorrect addresses.

- Domain controllers registered in DNS are not connected to the network or are not running.
domain-name-system google-cloud-platform azure azure-active-directory-ds
  • 2 2 个回答
  • 350 Views

2 个回答

  • Voted
  1. Best Answer
    user2713516
    2020-10-16T23:37:30+08:002020-10-16T23:37:30+08:00

    所以我最终想通了。我尝试使用谷歌云 DNS 提供的 DNS 转发,手动更改虚拟机上的 DNS 设置,但没有帮助。最终起作用的是在自定义 Google Cloud DNS 区域上正确(通过反复试验)组合 NS、SVR 和 A 记录。A en SVR 记录本质上同时具有裸域和通配符+域记录。这些记录基于我从登录 AAD DS 服务(在已加入的 VM 上)上的 DNS 服务器获得的信息。

    • 1
  2. mavsafe
    2020-10-13T07:24:32+08:002020-10-13T07:24:32+08:00

    我建议查看 Google VM 上的Netsetup.log 文件,了解可能导致额外故障排除步骤的错误。您还可以运行PortQryUI(Active Directory 测试)来确认您的 Azure VM 和 Google Cloud VM 具有相同的结果。DNS 只是所需的一项服务。

    • 0

相关问题

  • Solaris DNS

  • resolv.conf 在经过一段时间后被更改

  • 为什么有些网站的网址中没有“www”就无法显示?[关闭]

  • 为本地网络中的名称解析添加自定义 dns 条目

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve