From 00ba6967b1a2f52b0216fae30bb26275c6232bfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= Date: Sat, 23 Oct 2021 23:37:57 +0200 Subject: [PATCH] Clarify effect of "directory" configuration option The "directory" configuration options affects the configuration listed after the directive but not before which may affect ``include`` directive with relative file paths. --- doc/arm/reference.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/arm/reference.rst b/doc/arm/reference.rst index a3a75ded5b..66349ea2f8 100644 --- a/doc/arm/reference.rst +++ b/doc/arm/reference.rst @@ -988,6 +988,12 @@ default is used. absolute path, and *must* be writable by the effective user ID of the ``named`` process. + The option takes effect only at the time that the configuration + option is parsed; if other files are being included before or after specifying the + new ``directory``, the ``directory`` option must be listed + before any other directive (like ``include``) that can work with relative + files. The safest way to include files is to use absolute file names. + ``dnstap`` ``dnstap`` is a fast, flexible method for capturing and logging DNS traffic. Developed by Robert Edmonds at Farsight Security, Inc., and