如何在 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 = 互聯網)
  • 服務導向架構- 記錄的類型(SOA = 權限開始)
  • dns23429.dizinc.COM- 是該區域的主要來源
  • somename.hotmail.COM- 是電子郵件地址([電子郵件受保護])負責該區域的人員
  • 2010072201- 是序號
  • 86400- 是刷新值(如果沒有發送通知,輔助節點嘗試重新載入區域的頻率)
  • 7200- 是重試時間(傳輸失敗後,輔助設備在重試之間等待的時間)
  • 3600000- 是過期時間(如果輔助伺服器無法聯繫主伺服器,它將保留該區域的副本多長時間)
  • 86400- 記錄的預設生存時間。這是任何其他 DNS 伺服器應快取的記錄的最大值。

答案2

“somename.hotmail.COM”其實是“[電子郵件受保護]“ 作為電子郵件聯絡人。

相關內容