DNS 區域轉送的說明

文章翻譯 文章翻譯
文章編號: 164017 - 檢視此文章適用的產品。
全部展開 | 全部摺疊

結論

本文將告訴您,可以觸發網域名稱系統 (DNS) 區域傳送]、 [區域轉送的目的] 和 [程序的運作方式的情況。

其他相關資訊

定義的區域,傳送: A 區域傳送是用來參照到處理程序所用 DNS 區域檔案的內容會從主要 DNS 伺服器複製到次要的 DNS 伺服器的詞彙。

區域傳輸會發生在下列案例的任何期間:
  • 當次要 DNS 伺服器上啟動 DNS 服務。
  • 當重新整理時間終止為止。
  • 當變更儲存至主要區域檔案,而且沒有一個通知清單。
由次要 DNS 伺服器永遠啟動區域轉送。主要的 DNS 伺服器只需回答區域,傳送的要求。

次要 DNS 伺服器上啟動 DNS 服務或重新整理時間過期時,以下的網路監視器擷取順序顯示程序:

框架 1: 次要 DNS 伺服器-JH40PS-SOA 記錄向要求主要 DNS 伺服器-伺服器-針對區域 DOMAIN.COM。附註 DNS 問題類型。

JH40PS 伺服器 domain.com 的 DNS 0x4000:Std Qry。型別上類別 INET addr SOA。

DNS: 0x4000:Std Qry domain.com 的。型別上類別 INET addr SOA。
    DNS: Query Identifier = 16384 (0x4000)
    DNS: DNS Flags = Query, OpCode - Std Qry, RCode - No error
        DNS: 0............... = Query
        DNS: .0000........... = Standard Query
        DNS: .....0.......... = Server not authority for domain
        DNS: ......0......... = Message complete
        DNS: .......0........ = Iterative query desired
        DNS: ........0....... = No recursive queries
        DNS: .........000.... = Reserved
        DNS: ............0000 = No error
    DNS: Question Entry Count = 1 (0x1)
    DNS: Answer Entry Count = 0 (0x0)
    DNS: Name Server Count = 0 (0x0)
    DNS: Additional Records Count = 0 (0x0)
    DNS: Question Section: domain.com. of type SOA on class INET addr.
        DNS: Question Name: domain.com.
        DNS: Question Type = Start of zone of authority
        DNS: Question Class = Internet address class
				

框架 2: 主要的 DNS 伺服器會回應 SOA 記錄中解答區段的內容。

伺服器 JH40PS domain.com 的 DNS 0x4000:Std Qry Resp.。型別上類別 INET addr SOA。

DNS: 0x4000:Std Qry Resp.domain.com 的。型別上類別 INET addr SOA。
    DNS: Query Identifier = 16384 (0x4000)
    DNS: DNS Flags = Response, OpCode - Std Qry, AA RA Bits Set, RCode - No
         error
        DNS: 1............... = Response
        DNS: .0000........... = Standard Query
        DNS: .....1.......... = Server authority for domain
        DNS: ......0......... = Message complete
        DNS: .......0........ = Iterative query desired
        DNS: ........1....... = Recursive queries supported by server
        DNS: .........000.... = Reserved
        DNS: ............0000 = No error
    DNS: Question Entry Count = 1 (0x1)
    DNS: Answer Entry Count = 1 (0x1)
    DNS: Name Server Count = 0 (0x0)
    DNS: Additional Records Count = 0 (0x0)
    DNS: Question Section: domain.com. of type SOA on class INET addr.
        DNS: Question Name: domain.com.
        DNS: Question Type = Start of zone of authority
        DNS: Question Class = Internet address class
    DNS: Answer section: domain.com. of type SOA on class INET addr.
        DNS: Resource Name: domain.com.
        DNS: Resource Type = Start of zone of authority
        DNS: Resource Class = Internet address class
        DNS: Time To Live = 86400 (0x15180)
        DNS: Resource Data Length = 41 (0x29)
        DNS: Primary Name Server: server.domain.com.
        DNS: Responsible Authorative Mailbox: administrator.domain.com.
        DNS: Version number = 26 (0x1A)
        DNS: Refresh Interval = 300 (0x12C)
        DNS: Retry interval = 120 (0x78)
        DNS: Expiration Limit = 600 (0x258)
        DNS: Minimum TTL = 86400 (0x15180)
				

框架 3: 不必比較版本號碼 (序列號碼) 及找到它才能不同於其目前的版本號次要 DNS 伺服器現在要求區域傳送。請注意 DNS 問題區段中的 [問題] 類型。

JH40PS 伺服器 domain.com 的 DNS 0x0:Std Qry。型別為 zn Req.Xfer 類別 INET addr 上的。

DNS: 0x0:Std Qry domain.com 的。型別為 zn Req.Xfer 類別 INET addr 上的。
    DNS: TCP Length = 31 (0x1F)
    DNS: Query Identifier = 0 (0x0)
    DNS: DNS Flags = Query, OpCode - Std Qry, RCode - No error
        DNS: 0............... = Query
        DNS: .0000........... = Standard Query
        DNS: .....0.......... = Server not authority for domain
        DNS: ......0......... = Message complete
        DNS: .......0........ = Iterative query desired
        DNS: ........0....... = No recursive queries
        DNS: .........000.... = Reserved
        DNS: ............0000 = No error
    DNS: Question Entry Count = 1 (0x1)
    DNS: Answer Entry Count = 0 (0x0)
    DNS: Name Server Count = 0 (0x0)
    DNS: Additional Records Count = 0 (0x0)
    DNS: Question Section: domain.com. of type Req. for zn Xfer on class
         INET addr.
        DNS: Question Name: domain.com.
        DNS: Question Type = Request for zone transfer
        DNS: Question Class = Internet address class
    DNS: Frame Padding
				

框架 4: 主要的 DNS 伺服器符合區域傳輸要求。整個內容區域檔案的傳輸 DNS 解答區段中。

伺服器 JH40PS domain.com 的 DNS 0x0:Std Qry Resp.。型別上類別 INET addr SOA。

DNS: 0x0:Std Qry Resp.domain.com 的。型別上類別 INET addr SOA。
    DNS: TCP Length = 445 (0x1BD)
    DNS: Query Identifier = 0 (0x0)
    DNS: DNS Flags = Response, OpCode - Std Qry, RA Bits Set, RCode - No
         error
        DNS: 1............... = Response
        DNS: .0000........... = Standard Query
        DNS: .....0.......... = Server not authority for domain
        DNS: ......0......... = Message complete
        DNS: .......0........ = Iterative query desired
        DNS: ........1....... = Recursive queries supported by server
        DNS: .........000.... = Reserved
        DNS: ............0000 = No error
    DNS: Question Entry Count = 1 (0x1)
    DNS: Answer Entry Count = 16 (0x10)
    DNS: Name Server Count = 0 (0x0)
    DNS: Additional Records Count = 0 (0x0)
    DNS: Question Section: domain.com. of type Req. for zn Xfer on class
         INET addr.
        DNS: Question Name: domain.com.
        DNS: Question Type = Request for zone transfer
        DNS: Question Class = Internet address class
    DNS: Answer section: . of type SOA on class INET addr.(16 records
         present)
        DNS: Resource Record: domain.com. of type SOA on class INET addr.
            DNS: Resource Name: domain.com.
            DNS: Resource Type = Start of zone of authority
            DNS: Resource Class = Internet address class
            DNS: Time To Live = 86400 (0x15180)
            DNS: Resource Data Length = 41 (0x29)
            DNS: Primary Name Server: server.domain.com.
            DNS: Responsible Authorative Mailbox: administrator.domain.com.
            DNS: Version number = 26 (0x1A)
            DNS: Refresh Interval = 300 (0x12C)
            DNS: Retry interval = 120 (0x78)
            DNS: Expiration Limit = 600 (0x258)
            DNS: Minimum TTL = 86400 (0x15180)
        DNS: Resource Record: domain.com. of type Host Addr on class INET
             addr.
            DNS: Resource Name: domain.com.
            DNS: Resource Type = Host Address
            DNS: Resource Class = Internet address class
            DNS: Time To Live = 86400 (0x15180)
            DNS: Resource Data Length = 4 (0x4)
            DNS: IP address = 130.0.10.150
        DNS: Resource Record: domain.com. of type Auth. NS on class INET
             addr.
            DNS: Resource Name: domain.com.
            DNS: Resource Type = Authoritative Name Server
            DNS: Resource Class = Internet address class
            DNS: Time To Live = 86400 (0x15180)
            DNS: Resource Data Length = 10 (0xA)
            DNS: Authoritative Name Server: server.domain.com.
        DNS: Resource Record: Dell.domain.com. of type Host Addr on class
             INET addr.
            DNS: Resource Name: Dell.domain.com.
            DNS: Resource Type = Host Address
            DNS: Resource Class = Internet address class
            DNS: Time To Live = 86400 (0x15180)
            DNS: Resource Data Length = 4 (0x4)
            DNS: IP address = 130.0.10.30
        DNS: Resource Record: JH40PS.domain.com. of type Host Addr on
                 class INET addr.
            DNS: Resource Name: JH40PS.domain.com.
            DNS: Resource Type = Host Address
            DNS: Resource Class = Internet address class
            DNS: Time To Live = 86400 (0x15180)
            DNS: Resource Data Length = 4 (0x4)
            DNS: IP address = 130.0.10.155
				

如果區域檔案有變更,且在 [通知] 清單] 中有項目,以下順序會發生一般的區域傳送順序之前,上面所述。

框架 A: 在此框架,一個已變更區域檔案。因為 JH40PS 在 [通知] 清單上所以主要的 DNS 伺服器會傳送此框架,通知已發生變更的次要 DNS 伺服器及次要 DNS 伺服器應該查詢 SOA 資源記錄。

伺服器 JH40PS domain.com 的 DNS 0x0:Std Qry。型別上類別 INET addr SOA。

DNS: 0x0:Std Qry domain.com 的。型別上類別 INET addr SOA。
    DNS: Query Identifier = 0 (0x0)
    DNS: DNS Flags = Query, OpCode - Rsrvd, AA Bits Set, RCode - No error
        DNS: 0............... = Query
        DNS: .0100........... = Reserved
        DNS: .....1.......... = Server authority for domain
        DNS: ......0......... = Message complete
        DNS: .......0........ = Iterative query desired
        DNS: ........0....... = No recursive queries
        DNS: .........000.... = Reserved
        DNS: ............0000 = No error
    DNS: Question Entry Count = 1 (0x1)
    DNS: Answer Entry Count = 0 (0x0)
    DNS: Name Server Count = 0 (0x0)
    DNS: Additional Records Count = 0 (0x0)
    DNS: Question Section: domain.com. of type SOA on class INET addr.
        DNS: Question Name: domain.com.
        DNS: Question Type = Start of zone of authority
        DNS: Question Class = Internet address class
				

框架 b: 次要的 DNS 伺服器會確認接收的框架 1。

JH40PS 伺服器 DNS 0x0:Std Qry Resp.

DNS: 0x0:Std Qry Resp.
    DNS: Query Identifier = 0 (0x0)
    DNS: DNS Flags = Response, OpCode - Rsrvd, AA Bits Set, RCode - No
         error
        DNS: 1............... = Response
        DNS: .0100........... = Reserved
        DNS: .....1.......... = Server authority for domain
        DNS: ......0......... = Message complete
        DNS: .......0........ = Iterative query desired
        DNS: ........0....... = No recursive queries
        DNS: .........000.... = Reserved
        DNS: ............0000 = No error
    DNS: Question Entry Count = 1 (0x1)
    DNS: Answer Entry Count = 0 (0x0)
    DNS: Name Server Count = 0 (0x0)
    DNS: Additional Records Count = 0 (0x0)
    DNS: Question Section: domain.com. of type SOA on class INET addr.
        DNS: Question Name: domain.com.
        DNS: Question Type = Start of zone of authority
        DNS: Question Class = Internet address class
				

立刻接續這個回應區域傳送程序在圖文框 1 中開始上述第一個擷取序列中。

屬性

文章編號: 164017 - 上次校閱: 2006年11月1日 - 版次: 1.1
這篇文章中的資訊適用於:
  • Microsoft Windows NT Server 4.0 Standard Edition
關鍵字:?
kbmt kbinfo kbnetwork KB164017 KbMtzh
機器翻譯
重要:本文是以 Microsoft 機器翻譯軟體翻譯而成,而非使用人工翻譯而成。Microsoft 同時提供使用者人工翻譯及機器翻譯兩個版本的文章,讓使用者可以依其使用語言使用知識庫中的所有文章。但是,機器翻譯的文章可能不盡完美。這些文章中也可能出現拼字、語意或文法上的錯誤,就像外國人在使用本國語言時可能發生的錯誤。Microsoft 不為內容的翻譯錯誤或客戶對該內容的使用所產生的任何錯誤或損害負責。Microsoft也同時將不斷地就機器翻譯軟體進行更新。
按一下這裡查看此文章的英文版本:164017
Microsoft及(或)其供應商不就任何在本伺服器上發表的文字資料及其相關圖表資訊的恰當性作任何承諾。所有文字資料及其相關圖表均以「現狀」供應,不負任何擔保責任。Microsoft及(或)其供應商謹此聲明,不負任何對與此資訊有關之擔保責任,包括關於適售性、適用於某一特定用途、權利或不侵權的明示或默示擔保責任。Microsoft及(或)其供應商無論如何不對因或與使用本伺服器上資訊或與資訊的實行有關而引起的契約、過失或其他侵權行為之訴訟中的特別的、間接的、衍生性的損害或任何因使用而喪失所導致的之損害、資料或利潤負任何責任。

提供意見

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com