Skip to content
This repository was archived by the owner on Sep 10, 2019. It is now read-only.
 
 

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Dozens-API-via-Shell-Script

dynamic-ip-update.sh is works for Dozens DNS Record Global IP Address update.

certbot-auth-hook.sh and certbot-cleanup-hook.sh are Certbot(Let's encrypt) automation scripts for Dozens.

Requirements

Usage

  • X_AUTH_USER: Username.
  • X_AUTH_KEY: API Key.
  • ZONE: Zone name.
  • DOMAIN: Domain name.
  • DEVICE: Ethernet device.

dynamic-ip-update.sh

$ X_AUTH_USER="johnappleseed" \
    X_AUTH_KEY="123abc456def789ghi" \
    ZONE="example.com" \
    DOMAIN="www.example.com" \
    DEVICE="eth0" \
    dynamic-ip-update.sh

certbot-auth-hook.sh / certbot-cleanup-hook.sh

$ X_AUTH_USER="johnappleseed" \
    X_AUTH_KEY="123abc456def789ghi" \
    ZONE="example.com" \
    certbot certonly --non-interactive \
    --email "user@example.com" \
    --agree-tos \
    --manual
    --domains "example.com" \
    --domains "*.example.com" \
    --preferred-challenges dns \
    --manual-auth-hook "certbot-auth-hook.sh" \
    --manual-cleanup-hook "certbot-cleanup-hook.sh" \
    --manual-public-ip-logging-ok \

Thanks mutuki !!

About

Accesses to Dozens API via Shell Script (/bin/bash)

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages