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

If my domain name DNS's SOA Serial is 1 and never changes, will zone updates still propagate in a timely way?

· 52CE 我爱测

If I set my DNS zone's SOA serial number to "1" and never change it, would domain name servers around the internet ignore or be slow in seeing zone updates? Since all my primary DNS servers for my domain are masters, I don't have…

问题原文

原帖链接 · Crash Override · CC BY-SA 4.0

If I set my DNS zone's SOA serial number to "1" and never change it, would domain name servers around the internet ignore or be slow in seeing zone updates?

Since all my primary DNS servers for my domain are masters, I don't have a case where slaves transfer zone data when the serial changes. Each of my DNS maintain identical master zone files.

Say I have an "A" record. I assume each time the TTL expires, resolvers re-query the domain's masters for a new "A" record and will return the IP in the master zone at each time of query. So does the SOA serial matter?

Some additional context. I see that AWS Route53 defaults new DNS zones to serial "1" and says that incrementing the serial is "optional" but does not say why it's optional https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/SOA-NSrecords.html

已采纳解答

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

The primary purpose of the SERIAL field in the SOA is indeed to allow secondary nameservers to determine whether they should initiate a zone transfer because the zone has been updated. If you sync your zones via some other method, then this is not relevant and the SERIAL can be pretty much whatever.

The SERIAL is not involved in any way in authoritative queries for records from arbitrary clients on the network. The TTL of the requested record is considered in this case, by the server that receives the query.

There is a corner case, though: If you use DNS UPDATE messages (RFC 2136) to update the SOA record, the SERIAL must be higher than the previous SERIAL or the update will be ignored.

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

资料来源与适用范围

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

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

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