certbot_dns_linode: decrease the default propagation interval

«When you add or change DNS zones or records, your changes will now be
reflected at our authoritative nameservers in under 60 seconds. This is
down from the previous “every quarter hour” approach that we had for so
long.» - https://www.linode.com/blog/linode/linode-turns-17/
This commit is contained in:
Ștefan Talpalaru
2020-07-19 16:44:37 +02:00
parent ebf1349b15
commit b6964cae2e
4 changed files with 12 additions and 10 deletions
+1
View File
@@ -237,6 +237,7 @@ Authors
* [Spencer Bliven](https://github.com/sbliven) * [Spencer Bliven](https://github.com/sbliven)
* [Stacey Sheldon](https://github.com/solidgoldbomb) * [Stacey Sheldon](https://github.com/solidgoldbomb)
* [Stavros Korokithakis](https://github.com/skorokithakis) * [Stavros Korokithakis](https://github.com/skorokithakis)
* [Ștefan Talpalaru](https://github.com/stefantalpalaru)
* [Stefan Weil](https://github.com/stweil) * [Stefan Weil](https://github.com/stweil)
* [Steve Desmond](https://github.com/stevedesmond-ca) * [Steve Desmond](https://github.com/stevedesmond-ca)
* [sydneyli](https://github.com/sydneyli) * [sydneyli](https://github.com/sydneyli)
@@ -14,10 +14,10 @@ Named Arguments
DNS to propagate before asking the DNS to propagate before asking the
ACME server to verify the DNS ACME server to verify the DNS
record. record.
(Default: 1200 because Linode (Default: 120 because Linode
updates its first DNS every 15 updates its first DNS every 60
minutes and we allow 5 more minutes seconds and we allow 60 more seconds
for the update to reach the other 5 for the update to reach other 5
servers) servers)
========================================== =================================== ========================================== ===================================
@@ -80,15 +80,15 @@ Examples
-d www.example.com -d www.example.com
.. code-block:: bash .. code-block:: bash
:caption: To acquire a certificate for ``example.com``, waiting 1000 seconds :caption: To acquire a certificate for ``example.com``, waiting 120 seconds
for DNS propagation (Linode updates its first DNS every 15 minutes for DNS propagation (Linode updates its first DNS every minute
and we allow some extra time for the update to reach the other 5 and we allow some extra time for the update to reach other 5
servers) servers)
certbot certonly \\ certbot certonly \\
--dns-linode \\ --dns-linode \\
--dns-linode-credentials ~/.secrets/certbot/linode.ini \\ --dns-linode-credentials ~/.secrets/certbot/linode.ini \\
--dns-linode-propagation-seconds 1000 \\ --dns-linode-propagation-seconds 120 \\
-d example.com -d example.com
""" """
@@ -32,7 +32,7 @@ class Authenticator(dns_common.DNSAuthenticator):
@classmethod @classmethod
def add_parser_arguments(cls, add): # pylint: disable=arguments-differ def add_parser_arguments(cls, add): # pylint: disable=arguments-differ
super(Authenticator, cls).add_parser_arguments(add, default_propagation_seconds=1200) super(Authenticator, cls).add_parser_arguments(add, default_propagation_seconds=120)
add('credentials', help='Linode credentials INI file.') add('credentials', help='Linode credentials INI file.')
def more_info(self): # pylint: disable=missing-function-docstring def more_info(self): # pylint: disable=missing-function-docstring
+2 -1
View File
@@ -12,7 +12,8 @@ Certbot adheres to [Semantic Versioning](https://semver.org/).
### Changed ### Changed
* * The Linode DNS plugin now waits 120 seconds for DNS propagation, instead of 1200,
due to https://www.linode.com/blog/linode/linode-turns-17/
### Fixed ### Fixed