1999-08-31 13:24:51 -04:00
|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
2000-06-21 19:50:43 -04:00
|
|
|
<!--
|
|
|
|
|
- Copyright (C) 1999, 2000 Internet Software Consortium.
|
|
|
|
|
-
|
|
|
|
|
- Permission to use, copy, modify, and distribute this software for any
|
|
|
|
|
- purpose with or without fee is hereby granted, provided that the above
|
|
|
|
|
- copyright notice and this permission notice appear in all copies.
|
|
|
|
|
-
|
2000-07-27 05:55:03 -04:00
|
|
|
- THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
|
|
|
|
|
- DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
|
|
|
|
|
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
|
|
|
|
|
- INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
|
|
|
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
|
|
|
|
|
- FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
|
|
|
|
|
- NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
|
|
|
|
|
- WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
2000-06-21 19:50:43 -04:00
|
|
|
-->
|
|
|
|
|
|
1999-08-31 13:24:51 -04:00
|
|
|
<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 "internal_hosts.acl"; };
|
|
|
|
|
</PRE>
|
|
|
|
|
is not allowed.</P>
|
|
|
|
|
|
|
|
|
|
<P>Use <CODE>include</CODE> to break the configuration up into
|
|
|
|
|
easily-managed chunks. For example:
|
|
|
|
|
|
|
|
|
|
<PRE>
|
|
|
|
|
include "/etc/security/keys.bind";
|
|
|
|
|
include "/etc/acls.bind";
|
|
|
|
|
</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
|
|
|
|
|
"<CODE>#include</CODE>", like you would in a C
|
|
|
|
|
program, because "<CODE>#</CODE>" is used to start a
|
|
|
|
|
comment.</P>
|
|
|
|
|
|
|
|
|
|
<HR>
|
|
|
|
|
|
|
|
|
|
<CENTER><P>[ <A HREF="config.html">BIND Config. File</A>
|
|
|
|
|
| <A HREF="http://www.vix.com/isc/bind.html">BIND Home</A>
|
|
|
|
|
| <A HREF="http://www.isc.org">ISC</A> ]</P></CENTER>
|
|
|
|
|
|
|
|
|
|
<HR>
|
|
|
|
|
<ADDRESS>
|
2000-07-27 05:55:03 -04:00
|
|
|
Last Updated: $Id: include.html,v 1.3 2000/07/27 09:42:16 tale Exp $
|
1999-08-31 13:24:51 -04:00
|
|
|
</ADDRESS>
|
|
|
|
|
</BODY>
|
|
|
|
|
</HTML>
|