Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

275 lines
8.9 KiB

  1. ;
  2. ; place.dns
  3. ;
  4. ; Lookup file for place.dom domain.
  5. ;
  6. ; Note that all domain names given in this file, which are not
  7. ; terminated by a "." and hence fully qualified domain names (FQDN),
  8. ; are implicitly appended with "place.dom."
  9. ;
  10. ; Examples:
  11. ; "host" => host.place.dom.
  12. ; "host2.subdomain" => host2.subdomain.place.dom.
  13. ;
  14. ; If a name outside of "place.dom." is required, then it must be
  15. ; explicitly terminated with a dot, to indicate that it is a
  16. ; FQDN.
  17. ;
  18. ; Example:
  19. ; "www.microsoft.com." => www.microsoft.com.
  20. ;
  21. ;
  22. ; START OF AUTHORITY
  23. ;
  24. ; The first record in any database file should be a "Start of Authority"
  25. ; (SOA) record. The fields of this record are:
  26. ;
  27. ; IN SOA <source host> <contact email> <serial number> <refresh time>
  28. ; <retry time> <expiration time> <minimum time to live>
  29. ;
  30. ; <source host> is the host on which this file was created.
  31. ;
  32. ; <contact email> is the email address if the person responsible
  33. ; for this domain's database file. Instead of
  34. ; writing an '@' in the email name, write a '.'
  35. ;
  36. ; <serial number> The "version number" of this database file.
  37. ; Increase this number each time you edit a
  38. ; database file.
  39. ;
  40. ; <refresh time> A time, in seconds, that a secondary server
  41. ; will wait between checks to your server, when
  42. ; deciding if it is time to download a new copy
  43. ; of this domain's data.
  44. ;
  45. ; <retry time> A time, in seconds, that a secondary server
  46. ; will wait before retrying a failed zone download.
  47. ;
  48. ; <expire time> A time, in seconds, that a secondary server will
  49. ; keep trying to download a zone. After this time
  50. ; limit expires, the old zone information will be
  51. ; discarded.
  52. ;
  53. ; In order for a resource record to span a line in a database file,
  54. ; parentheses must enclose the line breaks, as in the following
  55. ; example.
  56. ;
  57. ;
  58. ; YOU SHOULD CHANGE:
  59. ; - "machine.place.dom." to the name of your name server.
  60. ; - "postmaster.machine.place.dom." to your email name.
  61. ;
  62. @ IN SOA nameserver.place.dom. postmaster.nameserver.place.dom. (
  63. 1 ; serial number
  64. 36000 ; refresh [1h]
  65. 600 ; retry [10m]
  66. 86400 ; expire [1d]
  67. 3600 ) ; min TTL [1h]
  68. ;
  69. ; NAME SERVERS
  70. ;
  71. ; The following entries list the name servers for this domain.
  72. ; This information allows other name servers to lookup names in
  73. ; your domain.
  74. ;
  75. ; YOU SHOULD CHANGE:
  76. ; - The names of the DNS servers.
  77. ; - The addresses of the DNS servers.
  78. @ IN NS nameserver.place.dom.
  79. @ IN NS nameserver2.place.dom.
  80. nameserver IN A 192.5.29.7
  81. nameserver2 IN A 192.5.29.8
  82. ;
  83. ; WINS LOOKUP
  84. ;
  85. ; The WINS RR is specific to WindowsNT and may be attached ONLY
  86. ; to the zone root.
  87. ;
  88. ; Presence of a WINS record at the zone root instructs the name server
  89. ; to use WINS to lookup any requests for A (address) records for names
  90. ; which are DIRECT children of zone root, and which do NOT have A
  91. ; records in the zone file.
  92. ;
  93. ; Examples:
  94. ;
  95. ; 1) A query for host.place.dom.
  96. ; "host.place.dom." has A records below, so DNS server responds
  97. ; with A records without WINS lookup.
  98. ;
  99. ; 2) A query for website.place.dom.
  100. ; "website.place.dom." is in the place.dom zone, but has no A records
  101. ; within this zone file. DNS queries WINS for a workstation
  102. ; name "website", gets a response or name error back from WINS,
  103. ; caches it and responds to the client.
  104. ;
  105. ; 3) A query for website.microsoft.com.place.dom.
  106. ; "website.microsoft.com.place.dom." is in the place.dom zone,
  107. ; and has no A records within this zone file. However, it is
  108. ; not an DIRECT child of the "place.dom." zone root, so the MS
  109. ; DNS does NOT query WINS and responds with a name error.
  110. ;
  111. ;
  112. ; WINS and sub-domains:
  113. ;
  114. ; Note: the MS DNS avoids going to WINS for queries like #3, because
  115. ; resolvers will append local domain names, and WINS only "knows"
  116. ; about the hostname. Hence if WINS lookup was done, WINS would
  117. ; respond with the address for the matching hostname it had, when
  118. ; the desired hostname was for at another site (website.microsoft.com
  119. ; in the example above).
  120. ;
  121. ; If your site has multi-level domain names that you wish to resolve
  122. ; through WINS, you must break the subdomains into separate zones.
  123. ;
  124. ; Example:
  125. ; You have several domains containing hostnames
  126. ; - xxx.place.dom
  127. ; - yyy.finace.place.dom
  128. ; - zzz.production.place.dom
  129. ; But each domain has some names registered in WINS.
  130. ;
  131. ; To use WINS resolution, break up place.dom into separate zones:
  132. ; - place.dom
  133. ; - finace.place.dom
  134. ; - production.place.dom
  135. ; each with its own WINS record at the zone root.
  136. ;
  137. ;
  138. ; WINS and zone transfer:
  139. ;
  140. ; The MS DNS server, will configure WINS information as a resource
  141. ; record to allow it to be transferred to MS DNS secondary servers.
  142. ;
  143. ; If you have MS DNS secondaries, and want them to use exactly the
  144. ; same WINS servers as the primary server, then omit the LOCAL flag
  145. ; in the WINS record.
  146. ;
  147. ; If you have UNIX secondaries, or MS secondaries using different
  148. ; WINS information, then use the "LOCAL" flag after the "WINS"
  149. ; flag and the WINS information will NOT be considered part of the
  150. ; zone's resource records and will NOT be sent in the zone transfer.
  151. ;
  152. ;
  153. ; YOU SHOULD CHANGE:
  154. ; - Change the server addresses to the address(es) of the WINS
  155. ; servers for the WINS clients in this zone.
  156. ; - Uncomment the line without the LOCAL flag, if WINS information
  157. ; should be transferred to MS DNS secondaries.
  158. ; - Uncomment the line with LOCAL flag, if WINS information should
  159. ; not be transferred as part of the zone data.
  160. ; OR
  161. ; - Leave this line commented out, if WINS lookup not desired.
  162. ;
  163. ;@ IN WINS 192.5.29.2 192.5.29.3
  164. ;@ IN WINS LOCAL 192.5.29.2 192.5.29.3
  165. ;
  166. ; LOCAL HOST
  167. ;
  168. ; Each of your domain files should contain an entry for the name
  169. ; "localhost". Be careful not to type a trailing dot in this entry
  170. ; unlike the use of localhost in the reverse-lookup files.
  171. ;
  172. ; This allows lookups for "localhost.place.dom." to return 127.0.0.1.
  173. ; As unusual as this may seem, some vendors' name resolvers depend
  174. ; upon it.
  175. ;
  176. ; YOU SHOULD CHANGE:
  177. ; nothing
  178. localhost IN A 127.0.0.1
  179. ;
  180. ; E-MAIL SERVERS
  181. ;
  182. ; The following entries list the email servers for this domain.
  183. ; The numeric value is a "preference value," with 1 being most
  184. ; preferred. Therefore, in the example given, mail will only be
  185. ; delivered to testmail2.place.dom. if testmail1.place.dom.
  186. ; is down or not receiving mail.
  187. ;
  188. ; By using these records, mail addressed to [email protected]. is
  189. ; delivered to [email protected].
  190. ;
  191. ; YOU SHOULD CHANGE:
  192. ; - The names of the mail servers.
  193. ; - The addresses of the mail servers.
  194. @ IN MX 10 mailserver1
  195. @ IN MX 15 mailserver2
  196. mailserver1 IN A 192.5.29.17
  197. mailserver2 IN A 192.5.29.18
  198. ;
  199. ; OTHER HOSTS
  200. ;
  201. ; The following 'A' records designate IP numbers for the named
  202. ; hosts.
  203. ;
  204. ; The 'MX' records designate a mail server and priority for a
  205. ; domain name.
  206. ;
  207. ; Unfortunately, there is no suitable wild-card syntax to allow
  208. ; you to enter these records once only.
  209. ;
  210. ; YOU SHOULD CHANGE:
  211. ; - The names of the hosts listed.
  212. ; - The IP addresses given.
  213. ; - The mail exchange information for non-default mail servers.
  214. ;
  215. WINSsrv1 IN A 192.5.29.2
  216. WINSsrv2 IN A 192.5.29.3
  217. host IN A 192.5.29.135
  218. IN A 192.5.29.82
  219. other-host IN A 192.5.29.11
  220. IN A 192.5.29.21
  221. IN A 192.5.29.111
  222. IN MX 5 mailserver2
  223. IN MX 10 mailserver1
  224. ;
  225. ; Host.nt.place.domain is in a subdomain, so include the sub-domain
  226. ; label in host name.
  227. ;
  228. host.nt IN A 192.5.29.112
  229. ;
  230. ; CNAME RECORDS
  231. ;
  232. ; The following records are sometimes called "aliases" but are
  233. ; technically referred to as "Canonical Names (CNAME)" entries.
  234. ; These records allow you to use more than one name to point to
  235. ; a single host.
  236. ;
  237. ; For example, the entries below mean that:
  238. ;
  239. ; ftp.place.dom. is really host.place.dom.
  240. ; www.place.dom. is reallt other-host.place.dom.
  241. ;
  242. ; By using CNAME records, you avoid typing duplicate information
  243. ; in your database files.
  244. ;
  245. ; YOU SHOULD CHANGE:
  246. ; - The names of the hosts given.
  247. ;
  248. ftp IN CNAME host
  249. www IN CNAME other-host