如何在 nslookup 中读取此 ANSWER 行

如何在 nslookup 中读取此 ANSWER 行

我在一个域上执行了 SOA nslookup,但我对输出的确切含义有点困惑(见下文...名称已被更改以保护无辜者):

;; QUESTION SECTION:
;MYDOMAIN.COM.  IN SRV

;; AUTHORITY SECTION:
MYDOMAIN.COM. 10800 IN SOA dns23429.dizinc.COM. somename.hotmail.COM. 2010072201 86400 7200 3600000 86400

因此,我理解“dns23429.dizinc.com”是权威 DNS 服务器,但后面的条目(“somename.hotmail.COM”)是什么意思?那是另一个权威 DNS 服务器吗?我不认为你可以有两个权威服务器。此外,为什么它会在“hotmail.com”域中的一台机器上?这似乎有点奇怪,不是吗?

答案1

面向服务架构授权记录的起始有几个值。

来自 rfc1035

MNAME RNAME SERIAL REFRESH RETRY EXPIRE MINIMUM

MNAME  The <domain-name> of the name server that was the
  original or primary source of data for this zone.

RNAME  A <domain-name> which specifies the mailbox of the
  person responsible for this zone.

SERIAL  The unsigned 32 bit version number of the original copy
  of the zone. Zone transfers preserve this value. This
  value wraps and should be compared using sequence space
  arithmetic.

REFRESH  A 32 bit time interval before the zone should be
  refreshed.

RETRY  A 32 bit time interval that should elapse before a
  failed refresh should be retried.

EXPIRE  A 32 bit time value that specifies the upper limit on
  the time interval that can elapse before the zone is no
  longer authoritative.

因此,为了记录。

MYDOMAIN.COM. 10800 IN SOA dns23429.dizinc.COM. somename.hotmail.COM. 2010072201 86400 7200 3600000 86400
  • MYDOMAIN.COM。- 其余细节适用的名称。
  • 10800- 如果问题是针对权威服务器的,则此特定记录的 TTL。
  • - 记录类别 (IN = Internet)
  • 面向服务架构- 记录的类型(SOA = 授权开始)
  • 域名注册- 是该区域的主要来源
  • 某个名称.hotmail.COM- 是电子邮件地址([电子邮件保护])负责该区域的人员
  • 2010072201- 是序列号
  • 86400- 是刷新值(如果没有发送通知,辅助服务器将尝试重新加载区域的频率)
  • 7200- 是重试时间(传输失败后,辅助设备在重试之间等待的时间)
  • 3600000- 是过期时间(如果辅助服务器无法联系主服务器,它将保留区域副本多长时间)
  • 86400- 记录的默认生存时间。这是任何其他 DNS 服务器应缓存记录的最大值。

答案2

“somename.hotmail.COM”实际上是“[电子邮件保护]“作为电子邮件联系方式。

相关内容