]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
modules/prefill: fix README typo
authorVladimír Čunát <vladimir.cunat@nic.cz>
Thu, 4 Feb 2021 09:08:29 +0000 (10:08 +0100)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Thu, 4 Feb 2021 09:08:29 +0000 (10:08 +0100)
(and regularize indentation)  Reported on:
https://gitter.im/CZ-NIC/knot-resolver?at=601b36f6aa6a6f319d0235f5

modules/prefill/README.rst

index 6b7c2af05eb094d88f7409de0334a362a85e105f..a99f1f08079966fffc612faae0f3231d5abc0b45 100644 (file)
@@ -13,14 +13,14 @@ Example configuration is:
 
 .. code-block:: lua
 
-       modules.load('prefill')
-       prefill.config({
-              ['.'] = {
-                      url = 'https://www.internic.net/domain/root.zone',
-                      interval = 86400  -- seconds
-                      ca_file = '/etc/pki/tls/certs/ca-bundle.crt', -- optional
-              }
-        })
+    modules.load('prefill')
+    prefill.config({
+        ['.'] = {
+            url = 'https://www.internic.net/domain/root.zone',
+            interval = 86400, -- seconds
+            ca_file = '/etc/pki/tls/certs/ca-bundle.crt', -- optional
+        }
+    })
 
 This configuration downloads the zone file from URL `https://www.internic.net/domain/root.zone` and imports it into the cache every 86400 seconds (1 day). The HTTPS connection is authenticated using a CA certificate from file `/etc/pki/tls/certs/ca-bundle.crt` and signed zone content is validated using DNSSEC.