]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Document relative path of $INCLUDE
authorMatthijs Mekking <matthijs@isc.org>
Fri, 19 Mar 2021 14:39:20 +0000 (15:39 +0100)
committerMatthijs Mekking <matthijs@isc.org>
Wed, 14 Apr 2021 08:04:40 +0000 (10:04 +0200)
Add to the ARM from where relative paths are searched.

doc/arm/reference.rst

index e51f320df4efa3ff2ecb9f70b68ae4fd5df6029f..edd2d7337f01a07188a7fe8348e35a793a50f2d4 100644 (file)
@@ -6294,9 +6294,10 @@ The ``$INCLUDE`` Directive
 Syntax: ``$INCLUDE`` filename [origin] [comment]
 
 This reads and processes the file ``filename`` as if it were included in the
-file at this point. If ``origin`` is specified, the file is processed
-with ``$ORIGIN`` set to that value; otherwise, the current ``$ORIGIN`` is
-used.
+file at this point. The ``filename`` can be an absolute path, or a relative
+path. In the latter case it is read from ``named``'s working directory. If
+``origin`` is specified, the file is processed with ``$ORIGIN`` set to that
+value; otherwise, the current ``$ORIGIN`` is used.
 
 The origin and the current domain name revert to the values they had
 prior to the ``$INCLUDE`` once the file has been read.