大网数据广告活动
服务器运维问答

Can you have NS records pointing to different providers?

· 52CE 我爱测

Let’s say you register with a provider and you are given the following NS records: Name Server: NS18.EXAMPLE.COM Name Server: NS8.EXAMPLE.COM Could you add these to increase resilience without having any negative consequences? Na…

问题原文

原帖链接 · Ulukai · CC BY-SA 3.0

Let’s say you register with a provider and you are given the following NS records:

Name Server: NS18.EXAMPLE.COM
Name Server: NS8.EXAMPLE.COM

Could you add these to increase resilience without having any negative consequences?

Name Server: ns4.google.com
Name Server: ns2.google.com
Name Server: ns3.google.com
Name Server: ns1.google.com

已采纳解答

原帖链接 · Massimo · CC BY-SA 3.0

You can add as many DNS servers as NS records for a domain, but they need to fulfill two conditions:

  • They must host an authoritative copy of the DNS zone
  • They must be kept in sync

So, no, you can't add any random DNS server around the world (such as Google's ones), because they would not be authoritative for that zone and so they could not act as DNS servers for it (unless Google actually is your DNS provider, which doesn't seem to be the case).

But you can add as many DNS servers as you want, as long as they actually are properly configured authoritative DNS servers for that zone; they can reside anywhere you want: on your network, on a cloud VM, on a hosted service... just make sure to keep them in sync, either using a standard primary-secondary zone setup or a replication system (such as Active-Directory-integrated DNS does).

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2016-03-01)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。