]> granicus.if.org Git - pdns/commitdiff
Add documentation on the sorting to includeDirectory
authorRobin Geuze <robing@transip.nl>
Tue, 14 Mar 2017 21:09:25 +0000 (22:09 +0100)
committerRobin Geuze <robing@transip.nl>
Tue, 14 Mar 2017 21:09:25 +0000 (22:09 +0100)
pdns/README-dnsdist.md

index feb433f868b89c96e6fa34548fd145559d652ad9..c3d0450740d7f9dcd77bbf1cf92e592fb7f34af0 100644 (file)
@@ -1319,7 +1319,7 @@ Here are all functions:
     * `shutdown()`: shut down `dnsdist`
     * quit or ^D: exit the console
     * `webserver(address:port, password [, apiKey [, customHeaders ]])`: launch a webserver with stats on that address with that password
-    * `includeDirectory(dir)`: all files ending in `.conf` in the directory `dir` are loaded into the configuration
+    * `includeDirectory(dir)`: all files ending in `.conf` in the directory `dir` are loaded into the configuration. Starting with 1.2.0 they are loaded in a sorted manner. Sorting order is ascending and case sensitive.
     * `setAPIWritable(bool, [dir])`: allow modifications via the API. If `dir` is set, it must be a valid directory where the configuration files will be written by the API. Otherwise the modifications done via the API will not be written to the configuration and will not persist after a reload
  * ACL related:
     * `addACL(netmask)`: add to the ACL set who can use this server