RFC 1035 specifies that the current origin should be restored after

an <command>$INCLUDE</command>, but it is silent on whether the current
domain name should also be restored.  BIND 9 restores both of them.
This could be construed as a deviation from RFC 1035, a feature, or both.
[RT #874]
This commit is contained in:
Andreas Gustafsson 2001-02-12 22:09:52 +00:00
parent dc1453b15d
commit 3287b57976
6 changed files with 115 additions and 99 deletions

View file

@ -2,7 +2,7 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.0//EN"
"http://www.oasis-open.org/docbook/xml/4.0/docbookx.dtd">
<!-- File: $Id: Bv9ARM-book.xml,v 1.102 2001/02/07 00:57:53 bwelling Exp $ -->
<!-- File: $Id: Bv9ARM-book.xml,v 1.103 2001/02/12 22:09:43 gson Exp $ -->
<book>
@ -4711,11 +4711,16 @@ if it were included into the file at this point. If <command>origin</command> i
specified the file is processed with <command>$ORIGIN</command> set
to that value, otherwise the current <command>$ORIGIN</command> is
used.</para>
<note>
<para>The behavior when <command>origin</command> is
specified differs from that described in RFC 1035. The origin and
current domain revert to the values they were prior to the <command>$INCLUDE</command> once
the file has been read.</para></note></sect3>
<para>The origin and the current domain name
revert to the values they had prior to the <command>$INCLUDE</command> once
the file has been read.</para>
<note><para>
RFC 1035 specifies that the current origin should be restored after
an <command>$INCLUDE</command>, but it is silent on whether the current
domain name should also be restored. BIND 9 restores both of them.
This could be construed as a deviation from RFC 1035, a feature, or both.
</para></note>
</sect3>
<sect3><title>The <command>$TTL</command> Directive</title>
<para>Syntax: <command>$TTL</command>
<replaceable>default-ttl</replaceable> <optional>

View file

@ -10012,6 +10012,13 @@ CLASS="command"
>$ORIGIN</B
> is
used.</P
><P
>The origin and the current domain name
revert to the values they had prior to the <B
CLASS="command"
>$INCLUDE</B
> once
the file has been read.</P
><DIV
CLASS="note"
><BLOCKQUOTE
@ -10019,16 +10026,15 @@ CLASS="note"
><P
><B
>Note: </B
>The behavior when <B
CLASS="command"
>origin</B
> is
specified differs from that described in RFC 1035. The origin and
current domain revert to the values they were prior to the <B
>
RFC 1035 specifies that the current origin should be restored after
an <B
CLASS="command"
>$INCLUDE</B
> once
the file has been read.</P
>, but it is silent on whether the current
domain name should also be restored. BIND 9 restores both of them.
This could be construed as a deviation from RFC 1035, a feature, or both.
</P
></BLOCKQUOTE
></DIV
></DIV
@ -10037,7 +10043,7 @@ CLASS="sect3"
><H3
CLASS="sect3"
><A
NAME="AEN3819"
NAME="AEN3820"
>6.3.5.3. The <B
CLASS="command"
>$TTL</B
@ -10077,7 +10083,7 @@ CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="AEN3830"
NAME="AEN3831"
>6.3.6. <SPAN
CLASS="acronym"
>BIND</SPAN

View file

@ -83,7 +83,7 @@ HREF="Bv9ARM.ch07.html#Access_Control_Lists"
></DT
><DT
>7.2. <A
HREF="Bv9ARM.ch07.html#AEN3922"
HREF="Bv9ARM.ch07.html#AEN3923"
><B
CLASS="command"
>chroot</B
@ -185,7 +185,7 @@ CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="AEN3922"
NAME="AEN3923"
>7.2. <B
CLASS="command"
>chroot</B
@ -264,7 +264,7 @@ CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="AEN3945"
NAME="AEN3946"
>7.2.1. The <B
CLASS="command"
>chroot</B
@ -320,7 +320,7 @@ CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="AEN3960"
NAME="AEN3961"
>7.2.2. Using the <B
CLASS="command"
>setuid</B
@ -343,7 +343,12 @@ set the user id and/or group id) on files to which you want <SPAN
CLASS="acronym"
>BIND</SPAN
>
to write.</P
to write. Note that if the <B
CLASS="command"
>named</B
> daemon is running as a
nonprivileged user, it will not be able to bind to new restricted ports if the
server is reloaded.</P
></DIV
></DIV
><DIV

View file

@ -75,17 +75,17 @@ CLASS="TOC"
></DT
><DT
>8.1. <A
HREF="Bv9ARM.ch08.html#AEN3980"
HREF="Bv9ARM.ch08.html#AEN3982"
>Common Problems</A
></DT
><DT
>8.2. <A
HREF="Bv9ARM.ch08.html#AEN3985"
HREF="Bv9ARM.ch08.html#AEN3987"
>Incrementing and Changing the Serial Number</A
></DT
><DT
>8.3. <A
HREF="Bv9ARM.ch08.html#AEN3990"
HREF="Bv9ARM.ch08.html#AEN3992"
>Where Can I Get Help?</A
></DT
></DL
@ -95,7 +95,7 @@ CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="AEN3980"
NAME="AEN3982"
>8.1. Common Problems</A
></H1
><DIV
@ -103,7 +103,7 @@ CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="AEN3982"
NAME="AEN3984"
>8.1.1. It's not working; how can I figure out what's wrong?</A
></H2
><P
@ -119,7 +119,7 @@ CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="AEN3985"
NAME="AEN3987"
>8.2. Incrementing and Changing the Serial Number</A
></H1
><P
@ -148,7 +148,7 @@ CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="AEN3990"
NAME="AEN3992"
>8.3. Where Can I Get Help?</A
></H1
><P

View file

@ -69,7 +69,7 @@ CLASS="TOC"
></DT
><DT
>A.1. <A
HREF="Bv9ARM.ch09.html#AEN4006"
HREF="Bv9ARM.ch09.html#AEN4008"
>Acknowledgements</A
></DT
><DT
@ -82,7 +82,7 @@ CLASS="acronym"
></DT
><DT
>A.3. <A
HREF="Bv9ARM.ch09.html#AEN4047"
HREF="Bv9ARM.ch09.html#AEN4049"
>General <SPAN
CLASS="acronym"
>DNS</SPAN
@ -100,7 +100,7 @@ CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="AEN4006"
NAME="AEN4008"
>A.1. Acknowledgements</A
></H1
><DIV
@ -108,7 +108,7 @@ CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="AEN4008"
NAME="AEN4010"
>A.1.1. A Brief History of the <SPAN
CLASS="acronym"
>DNS</SPAN
@ -243,7 +243,7 @@ CLASS="sect3"
><H3
CLASS="sect3"
><A
NAME="AEN4038"
NAME="AEN4040"
>A.2.1.1. HS = hesiod</A
></H3
><P
@ -264,7 +264,7 @@ CLASS="sect3"
><H3
CLASS="sect3"
><A
NAME="AEN4043"
NAME="AEN4045"
>A.2.1.2. CH = chaos</A
></H3
><P
@ -282,7 +282,7 @@ CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="AEN4047"
NAME="AEN4049"
>A.3. General <SPAN
CLASS="acronym"
>DNS</SPAN
@ -293,7 +293,7 @@ CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="AEN4050"
NAME="AEN4052"
>A.3.1. IPv6 addresses (A6)</A
></H2
><P
@ -868,19 +868,19 @@ TARGET="_top"
</P
><H3
><A
NAME="AEN4226"
NAME="AEN4228"
>Bibliography</A
></H3
><H1
CLASS="bibliodiv"
><A
NAME="AEN4227"
NAME="AEN4229"
>Standards</A
></H1
><DIV
CLASS="biblioentry"
><A
NAME="AEN4229"
NAME="AEN4231"
></A
><P
>[RFC974]&nbsp;C. Partridge, <I
@ -894,7 +894,7 @@ STYLE="margin-left=0.5in"
><DIV
CLASS="biblioentry"
><A
NAME="AEN4236"
NAME="AEN4238"
></A
><P
>[RFC1034]&nbsp;P.V. Mockapetris, <I
@ -908,7 +908,7 @@ STYLE="margin-left=0.5in"
><DIV
CLASS="biblioentry"
><A
NAME="AEN4243"
NAME="AEN4245"
></A
><P
>[RFC1035]&nbsp;P. V. Mockapetris, <I
@ -929,7 +929,7 @@ NAME="proposed_standards"
><DIV
CLASS="biblioentry"
><A
NAME="AEN4252"
NAME="AEN4254"
></A
><P
>[RFC2181]&nbsp;R., R. Bush Elz, <I
@ -946,7 +946,7 @@ STYLE="margin-left=0.5in"
><DIV
CLASS="biblioentry"
><A
NAME="AEN4260"
NAME="AEN4262"
></A
><P
>[RFC2308]&nbsp;M. Andrews, <I
@ -963,7 +963,7 @@ STYLE="margin-left=0.5in"
><DIV
CLASS="biblioentry"
><A
NAME="AEN4268"
NAME="AEN4270"
></A
><P
>[RFC1995]&nbsp;M. Ohta, <I
@ -980,7 +980,7 @@ STYLE="margin-left=0.5in"
><DIV
CLASS="biblioentry"
><A
NAME="AEN4276"
NAME="AEN4278"
></A
><P
>[RFC1996]&nbsp;P. Vixie, <I
@ -994,7 +994,7 @@ STYLE="margin-left=0.5in"
><DIV
CLASS="biblioentry"
><A
NAME="AEN4283"
NAME="AEN4285"
></A
><P
>[RFC2136]&nbsp;P. Vixie, S. Thomson, Y. Rekhter, and J. Bound, <I
@ -1008,7 +1008,7 @@ STYLE="margin-left=0.5in"
><DIV
CLASS="biblioentry"
><A
NAME="AEN4300"
NAME="AEN4302"
></A
><P
>[RFC2845]&nbsp;P. Vixie, O. Gudmundsson, D. Eastlake, 3rd, and B. Wellington, <I
@ -1025,13 +1025,13 @@ STYLE="margin-left=0.5in"
><H1
CLASS="bibliodiv"
><A
NAME="AEN4319"
NAME="AEN4321"
>Proposed Standards Still Under Development</A
></H1
><DIV
CLASS="biblioentry"
><A
NAME="AEN4324"
NAME="AEN4326"
></A
><P
>[RFC1886]&nbsp;S. Thomson and C. Huitema, <I
@ -1048,7 +1048,7 @@ STYLE="margin-left=0.5in"
><DIV
CLASS="biblioentry"
><A
NAME="AEN4336"
NAME="AEN4338"
></A
><P
>[RFC2065]&nbsp;D. Eastlake, 3rd and C. Kaufman, <I
@ -1062,7 +1062,7 @@ STYLE="margin-left=0.5in"
><DIV
CLASS="biblioentry"
><A
NAME="AEN4348"
NAME="AEN4350"
></A
><P
>[RFC2137]&nbsp;D. Eastlake, 3rd, <I
@ -1076,7 +1076,7 @@ STYLE="margin-left=0.5in"
><H1
CLASS="bibliodiv"
><A
NAME="AEN4356"
NAME="AEN4358"
>Other Important RFCs About <SPAN
CLASS="acronym"
>DNS</SPAN
@ -1085,7 +1085,7 @@ CLASS="acronym"
><DIV
CLASS="biblioentry"
><A
NAME="AEN4359"
NAME="AEN4361"
></A
><P
>[RFC1535]&nbsp;E. Gavron, <I
@ -1102,7 +1102,7 @@ STYLE="margin-left=0.5in"
><DIV
CLASS="biblioentry"
><A
NAME="AEN4367"
NAME="AEN4369"
></A
><P
>[RFC1536]&nbsp;A. Kumar, J. Postel, C. Neuman, P. Danzig, and S. Miller, <I
@ -1119,7 +1119,7 @@ STYLE="margin-left=0.5in"
><DIV
CLASS="biblioentry"
><A
NAME="AEN4388"
NAME="AEN4390"
></A
><P
>[RFC1982]&nbsp;R. Elz and R. Bush, <I
@ -1133,13 +1133,13 @@ STYLE="margin-left=0.5in"
><H1
CLASS="bibliodiv"
><A
NAME="AEN4399"
NAME="AEN4401"
>Resource Record Types</A
></H1
><DIV
CLASS="biblioentry"
><A
NAME="AEN4401"
NAME="AEN4403"
></A
><P
>[RFC1183]&nbsp;C.F. Everhart, L. A. Mamakos, R. Ullmann, and P. Mockapetris, <I
@ -1156,7 +1156,7 @@ STYLE="margin-left=0.5in"
><DIV
CLASS="biblioentry"
><A
NAME="AEN4419"
NAME="AEN4421"
></A
><P
>[RFC1706]&nbsp;B. Manning and R. Colella, <I
@ -1173,7 +1173,7 @@ STYLE="margin-left=0.5in"
><DIV
CLASS="biblioentry"
><A
NAME="AEN4431"
NAME="AEN4433"
></A
><P
>[RFC2168]&nbsp;R. Daniel and M. Mealling, <I
@ -1188,7 +1188,7 @@ STYLE="margin-left=0.5in"
><DIV
CLASS="biblioentry"
><A
NAME="AEN4442"
NAME="AEN4444"
></A
><P
>[RFC1876]&nbsp;C. Davis, P. Vixie, T., and I. Dickinson, <I
@ -1203,7 +1203,7 @@ STYLE="margin-left=0.5in"
><DIV
CLASS="biblioentry"
><A
NAME="AEN4459"
NAME="AEN4461"
></A
><P
>[RFC2052]&nbsp;A. Gulbrandsen and P. Vixie, <I
@ -1221,7 +1221,7 @@ STYLE="margin-left=0.5in"
><DIV
CLASS="biblioentry"
><A
NAME="AEN4471"
NAME="AEN4473"
></A
><P
>[RFC2163]&nbsp;A. Allocchio, <I
@ -1239,7 +1239,7 @@ STYLE="margin-left=0.5in"
><DIV
CLASS="biblioentry"
><A
NAME="AEN4479"
NAME="AEN4481"
></A
><P
>[RFC2230]&nbsp;R. Atkinson, <I
@ -1256,7 +1256,7 @@ STYLE="margin-left=0.5in"
><H1
CLASS="bibliodiv"
><A
NAME="AEN4487"
NAME="AEN4489"
><SPAN
CLASS="acronym"
>DNS</SPAN
@ -1265,7 +1265,7 @@ CLASS="acronym"
><DIV
CLASS="biblioentry"
><A
NAME="AEN4490"
NAME="AEN4492"
></A
><P
>[RFC1101]&nbsp;P. V. Mockapetris, <I
@ -1282,7 +1282,7 @@ STYLE="margin-left=0.5in"
><DIV
CLASS="biblioentry"
><A
NAME="AEN4498"
NAME="AEN4500"
></A
><P
>[RFC1123]&nbsp;Braden, <I
@ -1296,7 +1296,7 @@ STYLE="margin-left=0.5in"
><DIV
CLASS="biblioentry"
><A
NAME="AEN4505"
NAME="AEN4507"
></A
><P
>[RFC1591]&nbsp;J. Postel, <I
@ -1310,7 +1310,7 @@ STYLE="margin-left=0.5in"
><DIV
CLASS="biblioentry"
><A
NAME="AEN4512"
NAME="AEN4514"
></A
><P
>[RFC2317]&nbsp;H. Eidnes, G. de Groot, and P. Vixie, <I
@ -1324,7 +1324,7 @@ STYLE="margin-left=0.5in"
><H1
CLASS="bibliodiv"
><A
NAME="AEN4526"
NAME="AEN4528"
><SPAN
CLASS="acronym"
>DNS</SPAN
@ -1333,7 +1333,7 @@ CLASS="acronym"
><DIV
CLASS="biblioentry"
><A
NAME="AEN4529"
NAME="AEN4531"
></A
><P
>[RFC1537]&nbsp;P. Beertema, <I
@ -1350,7 +1350,7 @@ STYLE="margin-left=0.5in"
><DIV
CLASS="biblioentry"
><A
NAME="AEN4537"
NAME="AEN4539"
></A
><P
>[RFC1912]&nbsp;D. Barr, <I
@ -1367,7 +1367,7 @@ STYLE="margin-left=0.5in"
><DIV
CLASS="biblioentry"
><A
NAME="AEN4545"
NAME="AEN4547"
></A
><P
>[RFC1912]&nbsp;D. Barr, <I
@ -1384,7 +1384,7 @@ STYLE="margin-left=0.5in"
><DIV
CLASS="biblioentry"
><A
NAME="AEN4553"
NAME="AEN4555"
></A
><P
>[RFC2010]&nbsp;B. Manning and P. Vixie, <I
@ -1398,7 +1398,7 @@ STYLE="margin-left=0.5in"
><DIV
CLASS="biblioentry"
><A
NAME="AEN4564"
NAME="AEN4566"
></A
><P
>[RFC2219]&nbsp;M. Hamilton and R. Wright, <I
@ -1415,7 +1415,7 @@ STYLE="margin-left=0.5in"
><H1
CLASS="bibliodiv"
><A
NAME="AEN4576"
NAME="AEN4578"
>Other <SPAN
CLASS="acronym"
>DNS</SPAN
@ -1424,7 +1424,7 @@ CLASS="acronym"
><DIV
CLASS="biblioentry"
><A
NAME="AEN4582"
NAME="AEN4584"
></A
><P
>[RFC1464]&nbsp;R. Rosenbaum, <I
@ -1438,7 +1438,7 @@ STYLE="margin-left=0.5in"
><DIV
CLASS="biblioentry"
><A
NAME="AEN4589"
NAME="AEN4591"
></A
><P
>[RFC1713]&nbsp;A. Romao, <I
@ -1455,7 +1455,7 @@ STYLE="margin-left=0.5in"
><DIV
CLASS="biblioentry"
><A
NAME="AEN4597"
NAME="AEN4599"
></A
><P
>[RFC1794]&nbsp;T. Brisco, <I
@ -1472,7 +1472,7 @@ STYLE="margin-left=0.5in"
><DIV
CLASS="biblioentry"
><A
NAME="AEN4605"
NAME="AEN4607"
></A
><P
>[RFC2240]&nbsp;O. Vaughan, <I
@ -1486,7 +1486,7 @@ STYLE="margin-left=0.5in"
><DIV
CLASS="biblioentry"
><A
NAME="AEN4612"
NAME="AEN4614"
></A
><P
>[RFC2345]&nbsp;J. Klensin, T. Wolf, and G. Oglesby, <I
@ -1500,7 +1500,7 @@ STYLE="margin-left=0.5in"
><DIV
CLASS="biblioentry"
><A
NAME="AEN4626"
NAME="AEN4628"
></A
><P
>[RFC2352]&nbsp;O. Vaughan, <I
@ -1514,13 +1514,13 @@ STYLE="margin-left=0.5in"
><H1
CLASS="bibliodiv"
><A
NAME="AEN4633"
NAME="AEN4635"
>Obsolete and Unimplemented Experimental RRs</A
></H1
><DIV
CLASS="biblioentry"
><A
NAME="AEN4635"
NAME="AEN4637"
></A
><P
>[RFC1712]&nbsp;C. Farrell, M. Schulze, S. Pleitner, and D. Baldoni, <I
@ -1559,7 +1559,7 @@ CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="AEN4656"
NAME="AEN4658"
>A.4.3. Other Documents About <SPAN
CLASS="acronym"
>BIND</SPAN
@ -1569,13 +1569,13 @@ CLASS="acronym"
></P
><H3
><A
NAME="AEN4660"
NAME="AEN4662"
>Bibliography</A
></H3
><DIV
CLASS="biblioentry"
><A
NAME="AEN4661"
NAME="AEN4663"
></A
><P
>Paul Albitz and Cricket Liu, <I

View file

@ -606,7 +606,7 @@ HREF="Bv9ARM.ch06.html#AEN3773"
></DT
><DT
>6.3.6. <A
HREF="Bv9ARM.ch06.html#AEN3830"
HREF="Bv9ARM.ch06.html#AEN3831"
><SPAN
CLASS="acronym"
>BIND</SPAN
@ -636,7 +636,7 @@ HREF="Bv9ARM.ch07.html#Access_Control_Lists"
></DT
><DT
>7.2. <A
HREF="Bv9ARM.ch07.html#AEN3922"
HREF="Bv9ARM.ch07.html#AEN3923"
><B
CLASS="command"
>chroot</B
@ -650,7 +650,7 @@ UNIX servers)</A
><DL
><DT
>7.2.1. <A
HREF="Bv9ARM.ch07.html#AEN3945"
HREF="Bv9ARM.ch07.html#AEN3946"
>The <B
CLASS="command"
>chroot</B
@ -658,7 +658,7 @@ CLASS="command"
></DT
><DT
>7.2.2. <A
HREF="Bv9ARM.ch07.html#AEN3960"
HREF="Bv9ARM.ch07.html#AEN3961"
>Using the <B
CLASS="command"
>setuid</B
@ -682,26 +682,26 @@ HREF="Bv9ARM.ch08.html"
><DL
><DT
>8.1. <A
HREF="Bv9ARM.ch08.html#AEN3980"
HREF="Bv9ARM.ch08.html#AEN3982"
>Common Problems</A
></DT
><DD
><DL
><DT
>8.1.1. <A
HREF="Bv9ARM.ch08.html#AEN3982"
HREF="Bv9ARM.ch08.html#AEN3984"
>It's not working; how can I figure out what's wrong?</A
></DT
></DL
></DD
><DT
>8.2. <A
HREF="Bv9ARM.ch08.html#AEN3985"
HREF="Bv9ARM.ch08.html#AEN3987"
>Incrementing and Changing the Serial Number</A
></DT
><DT
>8.3. <A
HREF="Bv9ARM.ch08.html#AEN3990"
HREF="Bv9ARM.ch08.html#AEN3992"
>Where Can I Get Help?</A
></DT
></DL
@ -715,14 +715,14 @@ HREF="Bv9ARM.ch09.html"
><DL
><DT
>A.1. <A
HREF="Bv9ARM.ch09.html#AEN4006"
HREF="Bv9ARM.ch09.html#AEN4008"
>Acknowledgements</A
></DT
><DD
><DL
><DT
>A.1.1. <A
HREF="Bv9ARM.ch09.html#AEN4008"
HREF="Bv9ARM.ch09.html#AEN4010"
>A Brief History of the <SPAN
CLASS="acronym"
>DNS</SPAN
@ -752,7 +752,7 @@ HREF="Bv9ARM.ch09.html#classes_of_resource_records"
></DD
><DT
>A.3. <A
HREF="Bv9ARM.ch09.html#AEN4047"
HREF="Bv9ARM.ch09.html#AEN4049"
>General <SPAN
CLASS="acronym"
>DNS</SPAN
@ -762,7 +762,7 @@ CLASS="acronym"
><DL
><DT
>A.3.1. <A
HREF="Bv9ARM.ch09.html#AEN4050"
HREF="Bv9ARM.ch09.html#AEN4052"
>IPv6 addresses (A6)</A
></DT
></DL
@ -786,7 +786,7 @@ HREF="Bv9ARM.ch09.html#internet_drafts"
></DT
><DT
>A.4.3. <A
HREF="Bv9ARM.ch09.html#AEN4656"
HREF="Bv9ARM.ch09.html#AEN4658"
>Other Documents About <SPAN
CLASS="acronym"
>BIND</SPAN