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

SOA for DNS delegation

· 52CE 我爱测

I'll first say that what I'm doing now seems to work, though I'm unclear on whether it's correct. I have a domain registrar company (inherited from a contract) and a name server company, separate because the latter supports some …

问题原文

原帖链接 · Reinderien · CC BY-SA 4.0

I'll first say that what I'm doing now seems to work, though I'm unclear on whether it's correct. I have a domain registrar company (inherited from a contract) and a name server company, separate because the latter supports some features we need that the former doesn't. There are six domain names, only one of which is "main"; and the name server supports ALIAS (a workaround for the well-known no-CNAME-at-apex issue). All six domains at the registrar look like this:

SOA @ ns1.myregistrar.net [...]
NS  @ ns1.mynameserver.net
NS  @ ns2.mynameserver.net
NS  @ ns3.mynameserver.net
NS  @ ns4.mynameserver.net
NS  @ ns5.mynameserver.net

At the nameserver, five domains use ALIAS, and the sixth (main) one looks like:

SOA  @ ns1.mynameserver.net [...]
NS   @ ns1.mynameserver.net
NS   @ ns2.mynameserver.net
NS   @ ns3.mynameserver.net
NS   @ ns4.mynameserver.net
NS   @ ns5.mynameserver.net
A    @ [...]
AAAA @ [...]

Name resolution works for both IPv4 and IPv6; CNAME resolution to a subdomain works; ALIASing of the five secondary domains works. I have other questions based on my still-limited understanding of DNS delegation.

  • Should the SOA set at the registrar be changed to equal that of the nameserver?
  • Why is it that the registrar allows for the SOA to be manually edited, but the nameserver doesn't? Put another way, under what scenario would it be useful to manually edit a SOA?

已采纳解答

原帖链接 · Michael Hampton · CC BY-SA 4.0

The only DNS records which have any effect are those served by your nameservers, as specified at your registrar and appearing in your domain's whois record. Some other nameserver can say whatever it wants, but nobody is actually going to query it, because it isn't an authoritative nameserver for your domain.

As for editing the SOA, all fields in the SOA are editable, but a decent DNS provider will manage the serial itself and give you a nice UI to edit the rest of them.

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

资料来源与适用范围

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

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

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