From 3b35861ed0e6b9d24fa5d111953a41ba42a69567 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Thu, 4 Feb 2021 10:08:29 +0100 Subject: [PATCH] modules/prefill: fix README typo (and regularize indentation) Reported on: https://gitter.im/CZ-NIC/knot-resolver?at=601b36f6aa6a6f319d0235f5 --- modules/prefill/README.rst | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/modules/prefill/README.rst b/modules/prefill/README.rst index 6b7c2af05..a99f1f080 100644 --- a/modules/prefill/README.rst +++ b/modules/prefill/README.rst @@ -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. -- 2.47.2