From: Vladimír Čunát Date: Thu, 4 Feb 2021 09:08:29 +0000 (+0100) Subject: modules/prefill: fix README typo X-Git-Tag: v5.3.0~12^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b35861ed0e6b9d24fa5d111953a41ba42a69567;p=thirdparty%2Fknot-resolver.git modules/prefill: fix README typo (and regularize indentation) Reported on: https://gitter.im/CZ-NIC/knot-resolver?at=601b36f6aa6a6f319d0235f5 --- 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.