Differences between version 3 and previous revision of SOA.
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 3 | Last edited on Tuesday, November 23, 2004 4:05:48 pm | by MikeBeattie | Revert |
Older page: | version 2 | Last edited on Monday, December 8, 2003 8:20:56 pm | by AristotlePagaltzis | Revert |
@@ -1 +1,42 @@
-An [Acronym] for StartOfAuthority
.
+An [Acronym] for __S__tart __O__f __A__uthority
.
+
+A [DNS] [SOA] Record is used to define some information about a domain (called a zone), such as a serial number defining the 'version' of the zone, and various timeout and caching values that should be used when records from a given zone are retrieved.
+
+An example [SOA] record looks like this:
+
+<pre>
+ $ORIGIN ethernal.tla.
+ @ IN SOA ns1.ethernal.tla. root.ethernal.tla. (
+ 2004111901 ; Serial
+ 604800 ; Refresh (7 days)
+ 86400 ; Retry (24 hours)
+ 2419200 ; Expire (28 days)
+ 604800 ) ; Neg TTL (7 days)
+</pre>
+
+The format of a [SOA] [RR] is "<tt>name <ttl> class rr name-server email-address (serial refresh retry expire negttl)</tt>"
+
+The name is given as "<tt>@</tt>", since that is the shorthand for the value of <tt>$ORIGIN</tt>. the class and [RR] should be obvious.. the name-server field is bascally the [FQDN] of the primary NameServer for the domain (don't forget the trailing '.'!). The email-address field is the address of the person responsible for the domain - the first dot should be read as an <tt>@</tt>, so above should be read as <tt>root@ethernal.tla</tt>.
+
+The values in parenthesis are described below:
+
+Serial number
+ Generally given in YYYYMMDDXX format, giving 100 possible revisions of any given zone in a day (Usually more than enough).
+
+Refresh
+ Defines the number of seconds before a slave [DNS] server will refresh its copy of the zone.
+
+Retry
+ Defines the number of seconds for a slave [DNS] server to wait before retrying a zone refresh, after a failure.
+
+Expire
+ Defines the number of seconds for a slave [DNS] server to keep zone records, and answer authoritatively with them if it can't contact the master server. (so, if the above Refresh fails, and it's been Retrying for this long).
+
+Neg TTL
+ Defines the number of seconds that a client should remember that a Negative response was received from this server. So, if a remote server asks us what the address for <tt>foo.ethernal.tla</tt> is, but it doesn't exist, it won't ask again for this many seconds and use the response it got last time, even if we add that name to the zone 5 minutes later.
+
+----
+Todo:
+* Someone should explain TTLs a bit better, especially the use of <tt>$TTL</tt>
+----
+CategoryNetworking