File: include.html

package info (click to toggle)
bind 1%3A8.4.7-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 20,188 kB
  • ctags: 22,422
  • sloc: ansic: 156,772; sh: 20,008; perl: 14,224; makefile: 5,660; yacc: 2,475; cpp: 2,154; csh: 848; awk: 753; tcl: 674; lex: 423; fortran: 240
file content (57 lines) | stat: -rw-r--r-- 1,427 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
  <TITLE>BIND include Statement</TITLE>
</HEAD>

<BODY>
<H2>BIND Configuration File Guide--<CODE>include</CODE> Statement</H2>

<HR>

<A NAME="Syntax"><H3>Syntax</H3></A>

<PRE>
include <VAR><A HREF="docdef.html">path_name</A></VAR>;
</PRE>

<HR>

<A Name="#Usage"><H3>Definition and Usage</H3></A>

<P>The <CODE>include</CODE> statement inserts the specified file at
the point that the <CODE>include</CODE> statement is encountered.  It
cannot be used within another statement, though, so a line such as
<PRE>
acl internal_hosts { include &quot;internal_hosts.acl&quot;; };
</PRE>
is not allowed.</P>

<P>Use <CODE>include</CODE> to break the configuration up into
easily-managed chunks.  For example:

<PRE>
include &quot;/etc/security/keys.bind&quot;;
include &quot;/etc/acls.bind&quot;;
</PRE>

<P>could be used at the top of a BIND configuration file in order to
include any ACL or key information.</P>

<P>Be careful not to type
&quot;<CODE>#include</CODE>&quot;, like you would in a C
program, because &quot;<CODE>#</CODE>&quot; is used to start a
comment.</P>

<HR>

<CENTER><P>[ <A HREF="config.html">BIND Config. File</A>
| <A HREF="http://www.isc.org/products/BIND/">BIND Home</A>
| <A HREF="http://www.isc.org/">ISC</A> ]</P></CENTER>

<HR>
<ADDRESS>
Last Updated: $Id: include.html,v 1.7 1999/09/15 20:28:01 cyarnell Exp $
</ADDRESS>
</BODY>
</HTML>