]> 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 09:49:02 +0000 (11:49 +0200)
Add to the ARM from where relative paths are searched.

(cherry picked from commit bad5c3cf7cd71e04e5a1f99ff926ba641e0790ca)

doc/arm/reference.rst

index 4b1f8a66a9aff81d79beb5eb784d01ea48f8d62b..26deb9bff993315931ae6789130fc9c1293266d5 100644 (file)
@@ -6170,9 +6170,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.