你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Azure 自动化使用的 Azure 区域的 DNS 记录

Azure 自动化服务为各个功能使用多种 DNS 记录来连接到服务。 如果为特定的区域定义了自动化帐户,则可以限制与该区域数据中心之间的通信。 你可能需要了解这些记录,当以下自动化功能托管在防火墙后面时,以便它们能够正常运行:

  • 混合 Runbook 辅助角色
  • 状态配置
  • Webhook

注意

对于新纪录,Linux 混合 Runbook 辅助角色注册将失败,除非辅助角色的版本为 1.6.10.2 或更高。 为了使计算机能够接收辅助角色的更新版本并使用这些新记录,请务必升级到适用于 Linux 的 Log Analytics 代理的更新版本。 现有计算机将继续工作,而不会出现任何问题。

每个区域的 DNS 记录数

下表提供了每个区域的 DNS 记录。

注意

尽管此处提供的一系列自动化 DNS 记录已经停用,但为了让你有时间迁移到专用链接支持下列出的新记录并防止自动化过程失败,它们仍将有效。

区域 DNS 记录
澳大利亚中部 ac-jobruntimedata-prod-su1.azure-automation.net
ac-agentservice-prod-1.azure-automation.net
澳大利亚东部 ae-jobruntimedata-prod-su1.azure-automation.net
ae-agentservice-prod-1.azure-automation.net
澳大利亚南部 ase-jobruntimedata-prod-su1.azure-automation.net
ase-agentservice-prod-1.azure-automation.net
加拿大中部 cc-jobruntimedata-prod-su1.azure-automation.net
cc-agentservice-prod-1.azure-automation.net
印度中部 cid-jobruntimedata-prod-su1.azure-automation.net
cid-agentservice-prod-1.azure-automation.net
美国东部 2 eus2-jobruntimedata-prod-su1.azure-automation.net
eus2-agentservice-prod-1.azure-automation.net
日本东部 jpe-jobruntimedata-prod-su1.azure-automation.net
jpe-agentservice-prod-1.azure-automation.net
北欧 ne-jobruntimedata-prod-su1.azure-automation.net
ne-agentservice-prod-1.azure-automation.net
美国中南部 scus-jobruntimedata-prod-su1.azure-automation.net
scus-agentservice-prod-1.azure-automation.net
东南亚 sea-jobruntimedata-prod-su1.azure-automation.net
sea-agentservice-prod-1.azure-automation.net
瑞士北部 stzn-jobruntimedata-prod-su1.azure-automation.net
stzn-agentservice-prod-su1.azure-automation.net
英国南部 uks-jobruntimedata-prod-su1.azure-automation.net
uks-agentservice-prod-1.azure-automation.net
US Gov 弗吉尼亚州 usge-jobruntimedata-prod-su1.azure-automation.us
usge-agentservice-prod-1.azure-automation.us
美国中西部 wcus-jobruntimedata-prod-su1.azure-automation.net
wcus-agentservice-prod-1.azure-automation.net
西欧 we-jobruntimedata-prod-su1.azure-automation.net
we-agentservice-prod-1.azure-automation.net
美国西部 2 wus2-jobruntimedata-prod-su1.azure-automation.net
wus2-agentservice-prod-1.azure-automation.net

为了在 Azure 自动化中支持专用链接,现已更新每个受支持数据中心的 DNS 记录。 URL 不再特定于区域,而是特定于自动化帐户。

区域 DNS 记录
南非北部 https://<accountId>.webhook.san.azure-automation.net
https://<accountId>.agentsvc.san.azure-automation.net
https://<accountId>.jrds.san.azure-automation.net
东亚 https://<accountId>.webhook.ea.azure-automation.net
https://<accountId>.agentsvc.ea.azure-automation.net
https://<accountId>.jrds.ea.azure-automation.net
东南亚 https://<accountId>.webhook.sea.azure-automation.net
https://<accountId>.agentsvc.sea.azure-automation.net
https://<accountId>.jrds.sea.azure-automation.net
澳大利亚中部 https://<accountId>.webhook.ac.azure-automation.net
https://<accountId>.agentsvc.ac.azure-automation.net
https://<accountId>.jrds.ac.azure-automation.net
澳大利亚中部 2 https://<accountId>.webhook.cbr2.azure-automation.net
https://<accountId>.agentsvc.cbr2.azure-automation.net
https://<accountId>.jrds.cbr2.azure-automation.net
澳大利亚南部 https://<accountId>.webhook.ase.azure-automation.net
https://<accountId>.agentsvc.ase.azure-automation.net
https://<accountId>.jrds.ase.azure-automation.net
澳大利亚东部 https://<accountId>.webhook.ae.azure-automation.net
https://<accountId>.agentsvc.ae.azure-automation.net
https://<accountId>.jrds.ae.azure-automation.net
巴西南部 https://<accountId>.webhook.brs.azure-automation.net
https://<accountId>.agentsvc.brs.azure-automation.net
https://<accountId>.jrds.brs.azure-automation.net
巴西东南部 https://<accountId>.webhook.brse.azure-automation.net
https://<accountId>.agentsvc.brse.azure-automation.net
https://<accountId>.jrds.brse.azure-automation.net
加拿大中部 https://<accountId>.webhook.cc.azure-automation.net
https://<accountId>.agentsvc.cc.azure-automation.net
https://<accountId>.jrds.cc.azure-automation.net
中国东部 2 https://<accountId>.webhook.sha2.azure-automation.cn
https://<accountId>.agentsvc.sha2.azure-automation.cn
https://<accountId>.jrds.sha2.azure-automation.cn
中国北部 https://<accountId>.webhook.bjb.azure-automation.cn
https://<accountId>.agentsvc.bjb.azure-automation.cn
https://<accountId>.jrds.bjb.azure-automation.cn
中国北部 2 https://<accountId>.webhook.bjs2.azure-automation.cn
https://<accountId>.agentsvc.bjs2.azure-automation.cn
https://<accountId>.jrds.bjs2.azure-automation.cn
西欧 https://<accountId>.webhook.we.azure-automation.net
https://<accountId>.agentsvc.we.azure-automation.net
https://<accountId>.jrds.we.azure-automation.net
北欧 https://<accountId>.webhook.ne.azure-automation.net
https://<accountId>.agentsvc.ne.azure-automation.net
https://<accountId>.jrds.ne.azure-automation.net
法国中部 https://<accountId>.webhook.fc.azure-automation.net
https://<accountId>.agentsvc.fc.azure-automation.net
https://<accountId>.jrds.fc.azure-automation.net
法国南部 https://<accountId>.webhook.mrs.azure-automation.net
https://<accountId>.agentsvc.mrs.azure-automation.net
https://<accountId>.jrds.mrs.azure-automation.net
德国中西部 https://<accountId>.webhook.dewc.azure-automation.de
https://<accountId>.agentsvc.dewc.azure-automation.de
https://<accountId>.jrds.dewc.azure-automation.de
印度中部 https://<accountId>.webhook.cid.azure-automation.net
https://<accountId>.agentsvc.cid.azure-automation.net
https://<accountId>.jrds.cid.azure-automation.net
印度南部 https://<accountId>.webhook.ma.azure-automation.net
https://<accountId>.agentsvc.ma.azure-automation.net
https://<accountId>.jrds.ma.azure-automation.net
日本东部 https://<accountId>.webhook.jpe.azure-automation.net
https://<accountId>.agentsvc.jpe.azure-automation.net
https://<accountId>.jrds.jpe.azure-automation.net
日本西部 https://<accountId>.webhook.jpw.azure-automation.net
https://<accountId>.agentsvc.jpw.azure-automation.net
https://<accountId>.jrds.jpw.azure-automation.net
韩国中部 https://<accountId>.webhook.kc.azure-automation.net
https://<accountId>.agentsvc.kc.azure-automation.net
https://<accountId>.jrds.kc.azure-automation.net
韩国南部 https://<accountId>.webhook.ps.azure-automation.net
https://<accountId>.agentsvc.ps.azure-automation.net
https://<accountId>.jrds.ps.azure-automation.net
挪威东部 https://<accountId>.webhook.noe.azure-automation.net
https://<accountId>.agentsvc.noe.azure-automation.net
https://<accountId>.jrds.noe.azure-automation.net
挪威西部 https://<accountId>.webhook.now.azure-automation.net
https://<accountId>.agentsvc.now.azure-automation.net
https://<accountId>.jrds.now.azure-automation.net
瑞士西部 https://<accountId>.webhook.stzw.azure-automation.net
https://<accountId>.agentsvc.stzw.azure-automation.net
https://<accountId>.jrds.stzw.azure-automation.net
阿联酋中部 https://<accountId>.webhook.auh.azure-automation.net
https://<accountId>.agentsvc.auh.azure-automation.net
https://<accountId>.jrds.auh.azure-automation.net
阿拉伯联合酋长国北部 https://<accountId>.webhook.uaen.azure-automation.net
https://<accountId>.agentsvc.uaen.azure-automation.net
https://<accountId>.jrds.uaen.azure-automation.net
英国西部 https://<accountId>.webhook.cw.azure-automation.net
https://<accountId>.agentsvc.cw.azure-automation.net
https://<accountId>.jrds.cw.azure-automation.net
英国南部 https://<accountId>.webhook.uks.azure-automation.net
https://<accountId>.agentsvc.uks.azure-automation.net
https://<accountId>.jrds.uks.azure-automation.net
美国中部 https://<accountId>.webhook.cus.azure-automation.net
https://<accountId>.agentsvc.cus.azure-automation.net
https://<accountId>.jrds.cus.azure-automation.net
美国东部 https://<accountId>.webhook.eus.azure-automation.net
https://<accountId>.agentsvc.eus.azure-automation.net
https://<accountId>.jrds.eus.azure-automation.net
美国东部 2 https://<accountId>.webhook.eus2.azure-automation.net
https://<accountId>.agentsvc.eus2.azure-automation.net
https://<accountId>.jrds.eus2.azure-automation.net
美国中北部 https://<accountId>.webhook.ncus.azure-automation.net
https://<accountId>.agentsvc.ncus.azure-automation.net
https://<accountId>.jrds.ncus.azure-automation.net
美国中南部 https://<accountId>.webhook.scus.azure-automation.net
https://<accountId>.agentsvc.scus.azure-automation.net
https://<accountId>.jrds.scus.azure-automation.net
美国中西部 https://<accountId>.webhook.wcus.azure-automation.net
https://<accountId>.agentsvc.wcus.azure-automation.net
https://<accountId>.jrds.wcus.azure-automation.net
美国西部 https://<accountId>.webhook.wus.azure-automation.net
https://<accountId>.agentsvc.wus.azure-automation.net
https://<accountId>.jrds.wus.azure-automation.net
美国西部 2 https://<accountId>.webhook.wus2.azure-automation.net
https://<accountId>.agentsvc.wus2.azure-automation.net
https://<accountId>.jrds.wus2.azure-automation.net
美国西部 3 https://<accountId>.webhook.usw3.azure-automation.net
https://<accountId>.agentsvc.usw3.azure-automation.net
https://<accountId>.jrds.usw3.azure-automation.net
US Gov 弗吉尼亚州 https://<accountId>.webhook.usge.azure-automation.us
https://<accountId>.agentsvc.usge.azure-automation.us
https://<accountId>.jrds.usge.azure-automation.us
US Gov 德克萨斯州 https://<accountId>.webhook.ussc.azure-automation.us
https://<accountId>.agentsvc.ussc.azure-automation.us
https://<accountId>.jrds.ussc.azure-automation.us
US Gov 亚利桑那州 https://<accountId>.webhook.phx.azure-automation.us
https://<accountId>.agentsvc.phx.azure-automation.us
https://<accountId>.jrds.phx.azure-automation.us

将 DNS 记录中的 <accountId> 替换为在 URL 值中表示你的自动化帐户 ID 的 GUID。 你可从 Azure 门户“帐户设置”下的“密钥”中获取所需的 ID 。

Automation account primary key page

从 URL 字段 (https://<GUID>.agentsvc.<region>.azure-automation.net/accounts/<GUID>) 中复制 accounts/ 之后的值

注意

所有 Webhook 和 agentservice DNS 记录均已更新为支持专用链接的新样式的 DNS 记录。 对于 JRDS DNS 记录,支持新旧样式的 DNS 记录。 如果未使用专用链接,则会看到旧样式的 DNS 记录,而使用专用链接的人将看到新样式的 DNS 记录。

建议在定义异常时使用列出的地址。 如需查看区域 IP 地址列表(而非区域名称列表),请从 Microsoft 下载中心下载以下云环境相应的 JSON 文件:

IP 地址文件列出了 Microsoft Azure 数据中心使用的 IP 地址范围。 它包括计算、SQL 和存储范围,并反映当前已部署的范围和任何即将对 IP 范围进行的更改。 数据中心至少在一周后才会使用文件中显示的新范围。

建议每周下载新的 IP 地址文件。 然后,更新网站以正确地标识 Azure 中运行的服务。

注意

如果使用的是 Azure ExpressRoute,请记住,IP 地址文件过去经常在每个月的第一周更新 Azure 空间的边界网关协议 (BGP) 播发。

后续步骤