Skip to content

Commit

Permalink
Add some examples to the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
zhimsel committed Nov 13, 2018
1 parent c972797 commit f094636
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions r53_dns_updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,15 @@
If the target record already exists, the existing TTL value will be used.
If the target record does not exist, a TTL of 60 seconds will be used.
You can override this with the --ttl option (existing TTL will be ignored).
Examples:
Set the record 'www.example.com' with your public IP (as seen by the
internet) with a TTL of 120:
r53_dns_updater -t 120 www.example.com
Use an SNS topic to notify you when the record changes:
r53_dns_updater --sns arn:aws:sns:<region>:<account:<topic> example.com
"""
from docopt import docopt
import logging
Expand Down

0 comments on commit f094636

Please sign in to comment.