]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/bind/doc/html/include.html
unfinished sblive driver, playback/mixer only for now - not enabled in
[FreeBSD/FreeBSD.git] / contrib / bind / doc / html / include.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3 <HEAD>
4   <TITLE>BIND include Statement</TITLE>
5 </HEAD>
6
7 <BODY>
8 <H2>BIND Configuration File Guide--<CODE>include</CODE> Statement</H2>
9
10 <HR>
11
12 <A NAME="Syntax"><H3>Syntax</H3></A>
13
14 <PRE>
15 include <VAR><A HREF="docdef.html">path_name</A></VAR>;
16 </PRE>
17
18 <HR>
19
20 <A Name="#Usage"><H3>Definition and Usage</H3></A>
21
22 <P>The <CODE>include</CODE> statement inserts the specified file at
23 the point that the <CODE>include</CODE> statement is encountered.  It
24 cannot be used within another statement, though, so a line such as
25 <PRE>
26 acl internal_hosts { include &quot;internal_hosts.acl&quot;; };
27 </PRE>
28 is not allowed.</P>
29
30 <P>Use <CODE>include</CODE> to break the configuration up into
31 easily-managed chunks.  For example:
32
33 <PRE>
34 include &quot;/etc/security/keys.bind&quot;;
35 include &quot;/etc/acls.bind&quot;;
36 </PRE>
37
38 <P>could be used at the top of a BIND configuration file in order to
39 include any ACL or key information.</P>
40
41 <P>Be careful not to type
42 &quot;<CODE>#include</CODE>&quot;, like you would in a C
43 program, because &quot;<CODE>#</CODE>&quot; is used to start a
44 comment.</P>
45
46 <HR>
47
48 <CENTER><P>[ <A HREF="config.html">BIND Config. File</A>
49 | <A HREF="http://www.isc.org/products/BIND/">BIND Home</A>
50 | <A HREF="http://www.isc.org/">ISC</A> ]</P></CENTER>
51
52 <HR>
53 <ADDRESS>
54 Last Updated: $Id: include.html,v 1.7 1999/09/15 20:28:01 cyarnell Exp $
55 </ADDRESS>
56 </BODY>
57 </HTML>