]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
doc: fixes, added `second` and `min` aliases
authorMarek Vavrusa <marek@vavrusa.com>
Thu, 7 Apr 2016 16:43:45 +0000 (09:43 -0700)
committerMarek Vavrusa <marek@vavrusa.com>
Thu, 7 Apr 2016 16:43:45 +0000 (09:43 -0700)
daemon/README.rst
daemon/lua/sandbox.lua

index 39cd067ec61b40e25b34fe1caee0d39cac198d2c..952d12ba6a6b6e0ee76b32e235bc7542cd3726d0 100644 (file)
@@ -510,7 +510,7 @@ Trust anchors and DNSSEC
 
    :return: int (default: 30 * day)
 
-   Modify RFC5011 hold-down timer to given value. Example: ``30 * second``
+   Modify RFC5011 hold-down timer to given value. Example: ``30 * sec``
 
 .. envvar:: trust_anchors.refresh_time = nil
 
@@ -518,11 +518,11 @@ Trust anchors and DNSSEC
 
    Modify RFC5011 refresh timer to given value (not set by default), this will force trust anchors
    to be updated every N seconds periodically instead of relying on RFC5011 logic and TTLs.
-   Example: ``10 * second``
+   Example: ``10 * sec``
 
 .. envvar:: trust_anchors.keep_removed = 0
 
-   :return: int (default: 1)
+   :return: int (default: 0)
 
    How many ``Removed`` keys should be held in history (and key file) before being purged.
    Note: all ``Removed`` keys will be purged from key file after restarting the process.
index 933100313b02773e8629b6166f75b559c6ef5998..320e93f7fc7c33fc8960f3c8d9ee31f2d9fa76dc 100644 (file)
@@ -4,7 +4,9 @@ MB = 1024*kB
 GB = 1024*MB
 -- Time
 sec = 1000
+second = sec
 minute = 60 * sec
+min = minute
 hour = 60 * minute
 day = 24 * hour