Commit 31cc460c authored by tengattack's avatar tengattack

Fix dnspod TTL limited error #1 & update doc for credentials.ini #2

parent 12b0e070
...@@ -16,7 +16,7 @@ Install ...@@ -16,7 +16,7 @@ Install
git clone https://github.com/tengattack/certbot-dns-dnspod git clone https://github.com/tengattack/certbot-dns-dnspod
cd certbot-dns-dnspod cd certbot-dns-dnspod
sudo python setup install sudo python setup.py install
Credentials File Credentials File
...@@ -24,8 +24,8 @@ Credentials File ...@@ -24,8 +24,8 @@ Credentials File
.. code-block:: ini .. code-block:: ini
certbot_dns_dnspod:dns_dnspod_api_id: 12345 certbot_dns_dnspod:dns_dnspod_api_id = 12345
certbot_dns_dnspod:dns_dnspod_api_token: 1234567890abcdef1234567890abcdef certbot_dns_dnspod:dns_dnspod_api_token = 1234567890abcdef1234567890abcdef
.. code-block:: bash .. code-block:: bash
......
...@@ -24,7 +24,7 @@ class Authenticator(dns_common.DNSAuthenticator): ...@@ -24,7 +24,7 @@ class Authenticator(dns_common.DNSAuthenticator):
""" """
description = 'Obtain certificates using a DNS TXT record (if you are using DNSPod for DNS).' description = 'Obtain certificates using a DNS TXT record (if you are using DNSPod for DNS).'
ttl = 60 ttl = 600
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):
super(Authenticator, self).__init__(*args, **kwargs) super(Authenticator, self).__init__(*args, **kwargs)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment