获取域的名称服务器

发布于 2024-12-01 14:38:40 字数 139 浏览 3 评论 0原文

我想在个人服务器上托管我的域名 mydomain.com,但我的注册商要求我提供域名服务器。是否可以创建一个名称服务器 ns.mydomain.com 并将其指向我的托管 PC 拥有的静态 IP?

换句话说,是否也可以将托管计算机设置为名称服务器?

I want to host my domain mydomain.com on a personal server, but my registrar asks me for my nameservers. Would it be possible to create a nameserver ns.mydomain.com and point it to the static IP that my hosting PC has?

In other words is it possible to set the hosting machine as the nameserver also?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

一个人的旅程 2024-12-08 14:38:40

是的。只要您在那台机器上运行着一个名为“服务器”的机器,就可以这样做。另一种选择是使用 Amazon Route 53 作为您的名称服务器。每月只需​​几分钱,而且比您自己的服务器更可靠。

Yes. THis is fine to do, as long as you have a name "Server" running on that machine. Another option is to use Amazon Route 53 as your name server. Its pennies per month and more reliable than your own server.

内心旳酸楚 2024-12-08 14:38:40

您还需要在域名注册商处注册名称服务器。
如果您的域名是 xdomain.com 并且是通过 aRegistrar.com 注册的,则 aRegistrars 面板中应该有一个选项来创建 NS 权威记录并将新名称服务器指向 IP。
这与您必须为名称服务器托管商创建的 A 记录不同。

You need to register the nameserver at your domain-registrar as well.
If your domain is xdomain.com and is registered through aRegistrar.com, there should be an option in the aRegistrars panel to create a NS authoritative record and point the new nameserver to an IP.
This is a different record from the A record you have to create to your nameserver hoster.

慢慢从新开始 2024-12-08 14:38:40

如果您在自己的服务器(即 vps/专用服务器)中托管域。
您可以使用您的域名来拥有名称服务器。
例如 adomain.com
那么,域名服务器将是

ns1.adomain.comns2.adomain.com

If you host your domain in your own server(ie., vps/dedicated server).
You can have the nameservers with your domain name.
Like for adomain.com
Then, the nameservers will be

ns1.adomain.com and ns2.adomain.com.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文