Differences between version 6 and revision by previous author of ZoneFile.
Other diffs: Previous Major Revision, Previous Revision, or view the Annotated Edit History
Newer page: | version 6 | Last edited on Tuesday, November 23, 2004 4:09:59 pm | by MikeBeattie | Revert |
Older page: | version 5 | Last edited on Thursday, January 22, 2004 10:32:50 pm | by StuartYeates | Revert |
@@ -13,22 +13,13 @@
Otherwise a zone file contains 'resource records' which are an optional name, an optional [TTL], an optional class (The only one you'll ever use is IN for Internet, others exist such as CH for Chaos, but noone uses them), the resource record type and any parameters it requires.
If the name is omitted then the name of the previous record is used, if the [TTL] is omitted the default [TTL] (as specified by $TTL) is used, the default class can be specified in the name server configuration.
-All zones must start with a [SOA] (Start of Authority) Resource Record) which is:
- ''dom.ain'' IN SOA (
- ''primary.name.server'' ; The name of
the primary name server for this domain
- ''contact.email.address'' ; an email address of someone to contact about this zone, with the "@" replaced with a "."
- ''serialnumber'' ; the revision number of this zone, incrimented every time there is a change
- ''refresh.timeout'' ; after the refresh timeout has expired a secondary will check the primary for an updated serial
- ''retry.timeout'' ; if the refresh fails, it will retry after ''retry.timeout''
- ''expire.timeout'' ; if a refresh/retries has failed after the ''expire timeout'' expires the secondary will become a
[LameServer
]
- ''negative TTL'' ; the [TTL] to use on the 'no such domain' reply
- )
+All zones must start with a [SOA] (Start of Authority) [
Resource Record|RR]
) which is explained on
the [SOA
] page.
Then come the individual entries:
''hostname'' (''optional TTL'') IN ''type'' ''arguments'' ; The single record can be given it's own TTL seperate from the defaulted SOA TTL
You can use a "@" to refer to the current zone instead of explicitly typing out a hostname.
[AddToMe]