></DT
><DT
>6.3. <A
-HREF="Bv9ARM.ch06.html#AEN3422"
+HREF="Bv9ARM.ch06.html#AEN3420"
>Zone File</A
></DT
></DL
> Statement</A
></H3
><P
->Resource Records (RRs) are the data associated with the names
-in a domain name space. The data is maintained in the form of sets
-of RRs. The order of RRs in a set is, by default, not significant.
-Therefore, to control the sorting of records in a set of resource
-records, or <TT
-CLASS="varname"
->RRset</TT
->, you must use the <B
+>The response to a DNS query may consist of multiple resource
+records (RRs) forming a resource records set (RRset).
+The name server will normally return the
+RRs within the RRset in an indeterminate order
+(but see the <B
CLASS="command"
->sortlist</B
-> statement.</P
-><P
->RRs are explained more fully in <A
-HREF="Bv9ARM.ch06.html#types_of_resource_records_and_when_to_use_them"
->Section 6.3.1</A
->. Specifications for RRs
-are documented in RFC 1035.</P
-><P
->When returning multiple RRs the nameserver will normally return
-them in <TT
-CLASS="varname"
->Round Robin</TT
-> order,
-that is, after each request the first RR is put at the end of the
-list. The client resolver code should rearrange the RRs as appropriate,
+>rrset-order</B
+>
+statement in <A
+HREF="Bv9ARM.ch06.html#rrset_ordering"
+>Section 6.2.14.11</A
+>).
+The client resolver code should rearrange the RRs as appropriate,
that is, using any addresses on the local net in preference to other addresses.
However, not all resolvers can do this or are correctly configured.
When a client is using a local server the sorting can be performed
><P
>When multiple records are returned in an answer it may be
useful to configure the order of the records placed into the response.
-For example, the records for a zone might be configured always to
-be returned in the order they are defined in the zone file. Or perhaps
-a random shuffle of the records as they are returned is wanted.
The <B
CLASS="command"
>rrset-order</B
> statement permits configuration
-of the ordering made of the records in a multiple record response.
-The default, if no ordering is defined, is a cyclic ordering (round
-robin).</P
+of the ordering of the records in a multiple record response.
+See also the <B
+CLASS="command"
+>sortlist</B
+> statement,
+<A
+HREF="Bv9ARM.ch06.html#the_sortlist_statement"
+>Section 6.2.14.10</A
+>.
+</P
><P
>An <B
CLASS="command"
><DIV
CLASS="informaltable"
><A
-NAME="AEN2699"
+NAME="AEN2697"
></A
><P
></P
CLASS="command"
>rrset-order</B
> statements appear,
-they are not combined-the last one applies.</P
+they are not combined — the last one applies.</P
><P
>If no <B
CLASS="command"
is not yet implemented in <SPAN
CLASS="acronym"
>BIND</SPAN
-> 9.</P
+> 9.
+BIND 9 currently supports only a "random-cyclic" ordering,
+where the server randomly chooses a starting point within
+the RRset and returns the records in order starting at
+that point, wrapping around the end of the RRset if
+necessary.</P
></BLOCKQUOTE
></DIV
></DIV
><DIV
CLASS="informaltable"
><A
-NAME="AEN2737"
+NAME="AEN2735"
></A
><P
></P
><DIV
CLASS="informaltable"
><A
-NAME="AEN2795"
+NAME="AEN2793"
></A
><P
></P
><H2
CLASS="sect2"
><A
-NAME="AEN2898"
+NAME="AEN2896"
>6.2.17. <B
CLASS="command"
>trusted-keys</B
><H2
CLASS="sect2"
><A
-NAME="AEN2914"
+NAME="AEN2912"
>6.2.18. <B
CLASS="command"
>trusted-keys</B
><H2
CLASS="sect2"
><A
-NAME="AEN2922"
+NAME="AEN2920"
>6.2.19. <B
CLASS="command"
>view</B
><H2
CLASS="sect2"
><A
-NAME="AEN2936"
+NAME="AEN2934"
>6.2.20. <B
CLASS="command"
>view</B
><H2
CLASS="sect2"
><A
-NAME="AEN3073"
+NAME="AEN3071"
>6.2.22. <B
CLASS="command"
>zone</B
><H3
CLASS="sect3"
><A
-NAME="AEN3076"
+NAME="AEN3074"
>6.2.22.1. Zone Types</A
></H3
><DIV
CLASS="informaltable"
><A
-NAME="AEN3078"
+NAME="AEN3076"
></A
><P
></P
><H3
CLASS="sect3"
><A
-NAME="AEN3133"
+NAME="AEN3131"
>6.2.22.2. Class</A
></H3
><P
><H3
CLASS="sect3"
><A
-NAME="AEN3148"
+NAME="AEN3146"
>6.2.22.3. Zone Options</A
></H3
><DIV
CLASS="informaltable"
><A
-NAME="AEN3150"
+NAME="AEN3148"
></A
><P
></P
><DIV
CLASS="informaltable"
><A
-NAME="AEN3392"
+NAME="AEN3390"
></A
><P
></P
><H1
CLASS="sect1"
><A
-NAME="AEN3422"
+NAME="AEN3420"
>6.3. Zone File</A
></H1
><DIV
><H3
CLASS="sect3"
><A
-NAME="AEN3427"
+NAME="AEN3425"
>6.3.1.1. Resource Records</A
></H3
><P
><DIV
CLASS="informaltable"
><A
-NAME="AEN3433"
+NAME="AEN3431"
></A
><P
></P
><DIV
CLASS="informaltable"
><A
-NAME="AEN3465"
+NAME="AEN3463"
></A
><P
></P
><DIV
CLASS="informaltable"
><A
-NAME="AEN3577"
+NAME="AEN3575"
></A
><P
></P
><DIV
CLASS="informaltable"
><A
-NAME="AEN3593"
+NAME="AEN3591"
></A
><P
></P
><H3
CLASS="sect3"
><A
-NAME="AEN3641"
+NAME="AEN3639"
>6.3.1.2. Textual expression of RRs</A
></H3
><P
><DIV
CLASS="informaltable"
><A
-NAME="AEN3648"
+NAME="AEN3646"
></A
><P
></P
><DIV
CLASS="informaltable"
><A
-NAME="AEN3714"
+NAME="AEN3712"
></A
><P
></P
><H2
CLASS="sect2"
><A
-NAME="AEN3742"
+NAME="AEN3740"
>6.3.2. Discussion of MX Records</A
></H2
><P
><DIV
CLASS="informaltable"
><A
-NAME="AEN3748"
+NAME="AEN3746"
></A
><P
></P
><DIV
CLASS="informaltable"
><A
-NAME="AEN3840"
+NAME="AEN3838"
></A
><P
></P
><H2
CLASS="sect2"
><A
-NAME="AEN3863"
+NAME="AEN3861"
>6.3.4. Inverse Mapping in IPv4</A
></H2
><P
><DIV
CLASS="informaltable"
><A
-NAME="AEN3868"
+NAME="AEN3866"
></A
><P
></P
><H2
CLASS="sect2"
><A
-NAME="AEN3890"
+NAME="AEN3888"
>6.3.5. Other Zone File Directives</A
></H2
><P
><H3
CLASS="sect3"
><A
-NAME="AEN3897"
+NAME="AEN3895"
>6.3.5.1. The <B
CLASS="command"
>$ORIGIN</B
><H3
CLASS="sect3"
><A
-NAME="AEN3917"
+NAME="AEN3915"
>6.3.5.2. The <B
CLASS="command"
>$INCLUDE</B
><H3
CLASS="sect3"
><A
-NAME="AEN3937"
+NAME="AEN3935"
>6.3.5.3. The <B
CLASS="command"
>$TTL</B
><H2
CLASS="sect2"
><A
-NAME="AEN3948"
+NAME="AEN3946"
>6.3.6. <SPAN
CLASS="acronym"
>BIND</SPAN
><DIV
CLASS="informaltable"
><A
-NAME="AEN3968"
+NAME="AEN3966"
></A
><P
></P
></DT
><DT
>7.2. <A
-HREF="Bv9ARM.ch07.html#AEN4040"
+HREF="Bv9ARM.ch07.html#AEN4038"
><B
CLASS="command"
>chroot</B
><H1
CLASS="sect1"
><A
-NAME="AEN4040"
+NAME="AEN4038"
>7.2. <B
CLASS="command"
>chroot</B
><H2
CLASS="sect2"
><A
-NAME="AEN4063"
+NAME="AEN4061"
>7.2.1. The <B
CLASS="command"
>chroot</B
><H2
CLASS="sect2"
><A
-NAME="AEN4078"
+NAME="AEN4076"
>7.2.2. Using the <B
CLASS="command"
>setuid</B
></DT
><DT
>8.1. <A
-HREF="Bv9ARM.ch08.html#AEN4098"
+HREF="Bv9ARM.ch08.html#AEN4096"
>Common Problems</A
></DT
><DT
>8.2. <A
-HREF="Bv9ARM.ch08.html#AEN4104"
+HREF="Bv9ARM.ch08.html#AEN4102"
>Incrementing and Changing the Serial Number</A
></DT
><DT
>8.3. <A
-HREF="Bv9ARM.ch08.html#AEN4109"
+HREF="Bv9ARM.ch08.html#AEN4107"
>Where Can I Get Help?</A
></DT
></DL
><H1
CLASS="sect1"
><A
-NAME="AEN4098"
+NAME="AEN4096"
>8.1. Common Problems</A
></H1
><DIV
><H2
CLASS="sect2"
><A
-NAME="AEN4100"
+NAME="AEN4098"
>8.1.1. It's not working; how can I figure out what's wrong?</A
></H2
><P
><H1
CLASS="sect1"
><A
-NAME="AEN4104"
+NAME="AEN4102"
>8.2. Incrementing and Changing the Serial Number</A
></H1
><P
><H1
CLASS="sect1"
><A
-NAME="AEN4109"
+NAME="AEN4107"
>8.3. Where Can I Get Help?</A
></H1
><P
></DT
><DT
>A.1. <A
-HREF="Bv9ARM.ch09.html#AEN4125"
+HREF="Bv9ARM.ch09.html#AEN4123"
>Acknowledgements</A
></DT
><DT
></DT
><DT
>A.3. <A
-HREF="Bv9ARM.ch09.html#AEN4166"
+HREF="Bv9ARM.ch09.html#AEN4164"
>General <SPAN
CLASS="acronym"
>DNS</SPAN
><H1
CLASS="sect1"
><A
-NAME="AEN4125"
+NAME="AEN4123"
>A.1. Acknowledgements</A
></H1
><DIV
><H2
CLASS="sect2"
><A
-NAME="AEN4127"
+NAME="AEN4125"
>A.1.1. A Brief History of the <SPAN
CLASS="acronym"
>DNS</SPAN
><H3
CLASS="sect3"
><A
-NAME="AEN4157"
+NAME="AEN4155"
>A.2.1.1. HS = hesiod</A
></H3
><P
><H3
CLASS="sect3"
><A
-NAME="AEN4162"
+NAME="AEN4160"
>A.2.1.2. CH = chaos</A
></H3
><P
><H1
CLASS="sect1"
><A
-NAME="AEN4166"
+NAME="AEN4164"
>A.3. General <SPAN
CLASS="acronym"
>DNS</SPAN
><DIV
CLASS="informaltable"
><A
-NAME="AEN4177"
+NAME="AEN4175"
></A
><P
></P
<DIV
CLASS="informaltable"
><A
-NAME="AEN4246"
+NAME="AEN4244"
></A
><P
></P
><DIV
CLASS="informaltable"
><A
-NAME="AEN4301"
+NAME="AEN4299"
></A
><P
></P
>.</P
><H3
><A
-NAME="AEN4345"
+NAME="AEN4343"
>Bibliography</A
></H3
><H1
CLASS="bibliodiv"
><A
-NAME="AEN4346"
+NAME="AEN4344"
>Standards</A
></H1
><DIV
CLASS="biblioentry"
><A
-NAME="AEN4348"
+NAME="AEN4346"
></A
><P
>[RFC974] <SPAN
><DIV
CLASS="biblioentry"
><A
-NAME="AEN4355"
+NAME="AEN4353"
></A
><P
>[RFC1034] <SPAN
><DIV
CLASS="biblioentry"
><A
-NAME="AEN4362"
+NAME="AEN4360"
></A
><P
>[RFC1035] <SPAN
><DIV
CLASS="biblioentry"
><A
-NAME="AEN4371"
+NAME="AEN4369"
></A
><P
>[RFC2181] <SPAN
><DIV
CLASS="biblioentry"
><A
-NAME="AEN4379"
+NAME="AEN4377"
></A
><P
>[RFC2308] <SPAN
><DIV
CLASS="biblioentry"
><A
-NAME="AEN4387"
+NAME="AEN4385"
></A
><P
>[RFC1995] <SPAN
><DIV
CLASS="biblioentry"
><A
-NAME="AEN4395"
+NAME="AEN4393"
></A
><P
>[RFC1996] <SPAN
><DIV
CLASS="biblioentry"
><A
-NAME="AEN4402"
+NAME="AEN4400"
></A
><P
>[RFC2136] <SPAN
><DIV
CLASS="biblioentry"
><A
-NAME="AEN4419"
+NAME="AEN4417"
></A
><P
>[RFC2845] <SPAN
><H1
CLASS="bibliodiv"
><A
-NAME="AEN4438"
+NAME="AEN4436"
>Proposed Standards Still Under Development</A
></H1
><DIV
CLASS="biblioentry"
><A
-NAME="AEN4443"
+NAME="AEN4441"
></A
><P
>[RFC1886] <SPAN
><DIV
CLASS="biblioentry"
><A
-NAME="AEN4455"
+NAME="AEN4453"
></A
><P
>[RFC2065] <SPAN
><DIV
CLASS="biblioentry"
><A
-NAME="AEN4467"
+NAME="AEN4465"
></A
><P
>[RFC2137] <SPAN
><H1
CLASS="bibliodiv"
><A
-NAME="AEN4475"
+NAME="AEN4473"
>Other Important RFCs About <SPAN
CLASS="acronym"
>DNS</SPAN
><DIV
CLASS="biblioentry"
><A
-NAME="AEN4478"
+NAME="AEN4476"
></A
><P
>[RFC1535] <SPAN
><DIV
CLASS="biblioentry"
><A
-NAME="AEN4486"
+NAME="AEN4484"
></A
><P
>[RFC1536] <SPAN
><DIV
CLASS="biblioentry"
><A
-NAME="AEN4507"
+NAME="AEN4505"
></A
><P
>[RFC1982] <SPAN
><H1
CLASS="bibliodiv"
><A
-NAME="AEN4518"
+NAME="AEN4516"
>Resource Record Types</A
></H1
><DIV
CLASS="biblioentry"
><A
-NAME="AEN4520"
+NAME="AEN4518"
></A
><P
>[RFC1183] <SPAN
><DIV
CLASS="biblioentry"
><A
-NAME="AEN4538"
+NAME="AEN4536"
></A
><P
>[RFC1706] <SPAN
><DIV
CLASS="biblioentry"
><A
-NAME="AEN4550"
+NAME="AEN4548"
></A
><P
>[RFC2168] <SPAN
><DIV
CLASS="biblioentry"
><A
-NAME="AEN4561"
+NAME="AEN4559"
></A
><P
>[RFC1876] <SPAN
><DIV
CLASS="biblioentry"
><A
-NAME="AEN4578"
+NAME="AEN4576"
></A
><P
>[RFC2052] <SPAN
><DIV
CLASS="biblioentry"
><A
-NAME="AEN4590"
+NAME="AEN4588"
></A
><P
>[RFC2163] <SPAN
><DIV
CLASS="biblioentry"
><A
-NAME="AEN4598"
+NAME="AEN4596"
></A
><P
>[RFC2230] <SPAN
><H1
CLASS="bibliodiv"
><A
-NAME="AEN4606"
+NAME="AEN4604"
><SPAN
CLASS="acronym"
>DNS</SPAN
><DIV
CLASS="biblioentry"
><A
-NAME="AEN4609"
+NAME="AEN4607"
></A
><P
>[RFC1101] <SPAN
><DIV
CLASS="biblioentry"
><A
-NAME="AEN4617"
+NAME="AEN4615"
></A
><P
>[RFC1123] <SPAN
><DIV
CLASS="biblioentry"
><A
-NAME="AEN4624"
+NAME="AEN4622"
></A
><P
>[RFC1591] <SPAN
><DIV
CLASS="biblioentry"
><A
-NAME="AEN4631"
+NAME="AEN4629"
></A
><P
>[RFC2317] <SPAN
><H1
CLASS="bibliodiv"
><A
-NAME="AEN4645"
+NAME="AEN4643"
><SPAN
CLASS="acronym"
>DNS</SPAN
><DIV
CLASS="biblioentry"
><A
-NAME="AEN4648"
+NAME="AEN4646"
></A
><P
>[RFC1537] <SPAN
><DIV
CLASS="biblioentry"
><A
-NAME="AEN4656"
+NAME="AEN4654"
></A
><P
>[RFC1912] <SPAN
><DIV
CLASS="biblioentry"
><A
-NAME="AEN4664"
+NAME="AEN4662"
></A
><P
>[RFC1912] <SPAN
><DIV
CLASS="biblioentry"
><A
-NAME="AEN4672"
+NAME="AEN4670"
></A
><P
>[RFC2010] <SPAN
><DIV
CLASS="biblioentry"
><A
-NAME="AEN4683"
+NAME="AEN4681"
></A
><P
>[RFC2219] <SPAN
><H1
CLASS="bibliodiv"
><A
-NAME="AEN4695"
+NAME="AEN4693"
>Other <SPAN
CLASS="acronym"
>DNS</SPAN
><DIV
CLASS="biblioentry"
><A
-NAME="AEN4701"
+NAME="AEN4699"
></A
><P
>[RFC1464] <SPAN
><DIV
CLASS="biblioentry"
><A
-NAME="AEN4708"
+NAME="AEN4706"
></A
><P
>[RFC1713] <SPAN
><DIV
CLASS="biblioentry"
><A
-NAME="AEN4716"
+NAME="AEN4714"
></A
><P
>[RFC1794] <SPAN
><DIV
CLASS="biblioentry"
><A
-NAME="AEN4724"
+NAME="AEN4722"
></A
><P
>[RFC2240] <SPAN
><DIV
CLASS="biblioentry"
><A
-NAME="AEN4731"
+NAME="AEN4729"
></A
><P
>[RFC2345] <SPAN
><DIV
CLASS="biblioentry"
><A
-NAME="AEN4745"
+NAME="AEN4743"
></A
><P
>[RFC2352] <SPAN
><H1
CLASS="bibliodiv"
><A
-NAME="AEN4752"
+NAME="AEN4750"
>Obsolete and Unimplemented Experimental RRs</A
></H1
><DIV
CLASS="biblioentry"
><A
-NAME="AEN4754"
+NAME="AEN4752"
></A
><P
>[RFC1712] <SPAN
><H2
CLASS="sect2"
><A
-NAME="AEN4775"
+NAME="AEN4773"
>A.4.3. Other Documents About <SPAN
CLASS="acronym"
>BIND</SPAN
></P
><H3
><A
-NAME="AEN4779"
+NAME="AEN4777"
>Bibliography</A
></H3
><DIV
CLASS="biblioentry"
><A
-NAME="AEN4780"
+NAME="AEN4778"
></A
><P
><SPAN
></DT
><DT
>6.2.17. <A
-HREF="Bv9ARM.ch06.html#AEN2898"
+HREF="Bv9ARM.ch06.html#AEN2896"
><B
CLASS="command"
>trusted-keys</B
></DT
><DT
>6.2.18. <A
-HREF="Bv9ARM.ch06.html#AEN2914"
+HREF="Bv9ARM.ch06.html#AEN2912"
><B
CLASS="command"
>trusted-keys</B
></DT
><DT
>6.2.19. <A
-HREF="Bv9ARM.ch06.html#AEN2922"
+HREF="Bv9ARM.ch06.html#AEN2920"
><B
CLASS="command"
>view</B
></DT
><DT
>6.2.20. <A
-HREF="Bv9ARM.ch06.html#AEN2936"
+HREF="Bv9ARM.ch06.html#AEN2934"
><B
CLASS="command"
>view</B
></DT
><DT
>6.2.22. <A
-HREF="Bv9ARM.ch06.html#AEN3073"
+HREF="Bv9ARM.ch06.html#AEN3071"
><B
CLASS="command"
>zone</B
></DD
><DT
>6.3. <A
-HREF="Bv9ARM.ch06.html#AEN3422"
+HREF="Bv9ARM.ch06.html#AEN3420"
>Zone File</A
></DT
><DD
></DT
><DT
>6.3.2. <A
-HREF="Bv9ARM.ch06.html#AEN3742"
+HREF="Bv9ARM.ch06.html#AEN3740"
>Discussion of MX Records</A
></DT
><DT
></DT
><DT
>6.3.4. <A
-HREF="Bv9ARM.ch06.html#AEN3863"
+HREF="Bv9ARM.ch06.html#AEN3861"
>Inverse Mapping in IPv4</A
></DT
><DT
>6.3.5. <A
-HREF="Bv9ARM.ch06.html#AEN3890"
+HREF="Bv9ARM.ch06.html#AEN3888"
>Other Zone File Directives</A
></DT
><DT
>6.3.6. <A
-HREF="Bv9ARM.ch06.html#AEN3948"
+HREF="Bv9ARM.ch06.html#AEN3946"
><SPAN
CLASS="acronym"
>BIND</SPAN
></DT
><DT
>7.2. <A
-HREF="Bv9ARM.ch07.html#AEN4040"
+HREF="Bv9ARM.ch07.html#AEN4038"
><B
CLASS="command"
>chroot</B
><DL
><DT
>7.2.1. <A
-HREF="Bv9ARM.ch07.html#AEN4063"
+HREF="Bv9ARM.ch07.html#AEN4061"
>The <B
CLASS="command"
>chroot</B
></DT
><DT
>7.2.2. <A
-HREF="Bv9ARM.ch07.html#AEN4078"
+HREF="Bv9ARM.ch07.html#AEN4076"
>Using the <B
CLASS="command"
>setuid</B
><DL
><DT
>8.1. <A
-HREF="Bv9ARM.ch08.html#AEN4098"
+HREF="Bv9ARM.ch08.html#AEN4096"
>Common Problems</A
></DT
><DD
><DL
><DT
>8.1.1. <A
-HREF="Bv9ARM.ch08.html#AEN4100"
+HREF="Bv9ARM.ch08.html#AEN4098"
>It's not working; how can I figure out what's wrong?</A
></DT
></DL
></DD
><DT
>8.2. <A
-HREF="Bv9ARM.ch08.html#AEN4104"
+HREF="Bv9ARM.ch08.html#AEN4102"
>Incrementing and Changing the Serial Number</A
></DT
><DT
>8.3. <A
-HREF="Bv9ARM.ch08.html#AEN4109"
+HREF="Bv9ARM.ch08.html#AEN4107"
>Where Can I Get Help?</A
></DT
></DL
><DL
><DT
>A.1. <A
-HREF="Bv9ARM.ch09.html#AEN4125"
+HREF="Bv9ARM.ch09.html#AEN4123"
>Acknowledgements</A
></DT
><DD
><DL
><DT
>A.1.1. <A
-HREF="Bv9ARM.ch09.html#AEN4127"
+HREF="Bv9ARM.ch09.html#AEN4125"
>A Brief History of the <SPAN
CLASS="acronym"
>DNS</SPAN
></DD
><DT
>A.3. <A
-HREF="Bv9ARM.ch09.html#AEN4166"
+HREF="Bv9ARM.ch09.html#AEN4164"
>General <SPAN
CLASS="acronym"
>DNS</SPAN
></DT
><DT
>A.4.3. <A
-HREF="Bv9ARM.ch09.html#AEN4775"
+HREF="Bv9ARM.ch09.html#AEN4773"
>Other Documents About <SPAN
CLASS="acronym"
>BIND</SPAN