[bind10-dev] a problem about zone file

Mark Andrews marka at isc.org
Tue May 18 11:06:02 UTC 2010


          <sect3>
            <title>The <command>$INCLUDE</command> Directive</title>
            <para>
              Syntax: <command>$INCLUDE</command>
              <replaceable>filename</replaceable>
              <optional>
<replaceable>origin</replaceable> </optional>
              <optional> <replaceable>comment</replaceable> </optional>
            </para>
            <para>
              Read and process the file <filename>filename</filename> as
              if it were included into the file at this point.  If <command>orig
in</command> is
              specified the file is processed with <command>$ORIGIN</command> se
t
              to that value, otherwise the current <command>$ORIGIN</command> is
              used.
            </para>
            <para>
              The origin and the current domain name
              revert to the values they had prior to the <command>$INCLUDE</comm
and> 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>

-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka at isc.org



More information about the bind10-dev mailing list