如果更改域名服务器,这会使您在域名注册机构中输入的所有DNS/MX/A记录无效吗? [英] If you change your domain nameservers does that void all DNS/MX/A record you input in your domain registrar?

查看:111
本文介绍了如果更改域名服务器,这会使您在域名注册机构中输入的所有DNS/MX/A记录无效吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

假设您在注册商中注册了一个域( mydomain.com ),例如namecheap,

say you have a domain (mydomain.com) in registered to a registrar, say namecheap,

您已设置MX记录来处理发送到您的域的电子邮件

you have setup MX record to handle email sent to your domain

您已设置A记录,以使子域使用其他Web主机

you had setup an A record to make a subdomain use a different webhost

Name: intranet.mydomain.com
Value: 108.xxx.xxx.xx
Type: A name

现在,您要将主域托管到Web主机,以便当用户将 mydomain.com 加载到其浏览器时,它将使用Webhost加载资源

now, you want to host the primary domain to a webhost, so that when a user load mydomain.com to their browser it will use webhost to load the resources

问题,虚拟主机要求您更新域名服务器以使用

Question, the webhost requires you to update domain nameserver to use

ns1.myhost.com
ns2.myhost.com

将我的域名服务器更新到我的域名注册机构以使用上述域名服务器会否/不实施已经存在的A记录?

Will updating my nameserver to my domain registrar to use the nameservers above will void/not-implement the already existing A records?

如果没有,您如何解决问题?谢谢!

If not, how do you solve the problem? Thanks!

推荐答案

用一些外行的话来说:

您需要区分3种不同(尚未相关)的服务:

You need to distinguish between 3 different (yet related) services:

  1. 域名注册-您在此处支付域名费用.除了名称本身之外,您还需要在此处输入域名服务器名称,该名称将指向托管下一个服务的位置:
  2. DNS服务-在此处输入指向所有其他服务(网络托管,邮件服务器等)的所有记录(A,MX等)
  3. 服务托管提供商(例如网络托管或电子邮件服务)

您可以让不同的各方为您托管这些服务,但是一家服务提供商可以提供所有这些服务并不少见.从您的描述来看,目前您的名称注册商(1)还在托管您的DNS服务(2)(这很常见).现在,您的新网络托管提供商希望托管您的DNS服务,并要求您的名称注册机构输入其名称服务器名称(这也不罕见).没错,如果您这样做,那么您在当前DNS提供商处输入的任何DNS记录都将无效(它们将保留在那里,但是最终用户将永远不会看到它们,因为(1)会指出它们使用您的新主机)提供商的名称服务来解析您的域记录.

You can have different parties host these services for you, but it is not uncommon that one service provider can offer all these services. From your description, it looks like that at the moment your Name registrar (1) is also hosting your DNS service (2) (which is quite common). Now, your new web hosting provider wants to host your DNS service, and is requiring that at your name registrar, you enter its name server names (which is also not uncommon). And you are right, if you do that, any DNS records that you entered at your current DNS provider will be void (they will remain there, but no end user will ever see them since (1) will point them to use your new hosting provider's name service to resolve your domain records).

您有两个选择:

  1. 不遵守您的虚拟主机的要求,而是问他们需要在当前DNS服务提供商处添加哪些DNS记录(可能是A或CNAME),以便可以访问新网站.
  2. 符合您的虚拟主机的要求,但是随后您将不得不转到新提供商的名称服务控制台,并再次添加您在先前的DNS提供商处已经输入的所有记录.

我会选择选项1,因为风险较小

I would choose option 1, as less risky

这篇关于如果更改域名服务器,这会使您在域名注册机构中输入的所有DNS/MX/A记录无效吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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