tyt11fi.htm

来自「一个学习tcp/ip协议的教程」· HTM 代码 · 共 223 行 · 第 1/5 页

HTM
223
字号
; Address RRsartemis     IN     A    143.23.25.7merlin      IN     A    143.23.25.9windsor     IN     A    143.23.25.12reverie     IN     A    143.23.25.23bigcat      IN     A    143.23.25.43pepper      IN     A    143.23.25.72</FONT></PRE><P>The first section sets the SOA record, which defines the parameters for TTL, expiry, refresh, and so on. It sets the name server for the tpci.com domain to merlin.tpci.com. The second section uses the NS resource records to define the name server for the tpci.com domain as merlin.tpci.com (the same as the SOA) and a subnet of tpci called subnet1, for which the name server is goofy.subnet1.tpci.com. The third section has a list of the address-record-name-to-IP-address mapping. There is an entry in this section for each machine on the network.<BR><P>The named.rev file provides the reverse mapping of IP address to machine name and is composed of Pointer resource records. The same format as the named.hosts file is followed, except for the swapping of name and IP address and the conversion of the IP address to IN-ADDR-ARPA style. The equivalent named.rev file for the named.hosts file shown earlier looks like this:<BR><PRE><FONT COLOR=#000080>; named.rev files; Start Of Authority RR23.143.in-addr.arpa    IN    SOA     merlin.tpci.com            root.merlin.tpci.com (            2  ; Serial number            7200 ; Refresh (2 hrs)            3600 ; Retry (1 hr)            151200 ; Expire (1 week)            86400 ); min TTL;; Name Service RRs23.143.in-addr.arpa   IN   NS  merlin.tpci.com100.23.143.in-addr.arpa   IN NS goofy.subnet1.tpci.com;; Address RRs9.25.23.143.in-addr.arpa   IN   PTR merlin

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?