A Python 3 script to update DNS on DigitalOcean. https://gitlab.no/rune/py-dyndns
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

config-template.ini 557B

1234567891011121314151617181920
  1. ###########################################################
  2. # Config File for DynDns
  3. # The [DYNDNS] part holds information that is used
  4. # for all the domains you want to update/check
  5. #
  6. # Create a new [Section] for each domain just containg
  7. # subdomainid = xxxxxxx
  8. # Where xxxxxxx must be replaced with the domainid
  9. ###########################################################
  10. [DYNDNS]
  11. api_key =
  12. baseuri = example.com
  13. ip4 = http://ip4.iurl.no
  14. ip6 = http://ip6.iurl.no
  15. logfile = /var/log/dyndns.log
  16. [SITE0]
  17. subdomainid = 000000
  18. [SITE1]
  19. subdomainid = 000000