Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
getssl / usr / share / getssl / dns_scripts / dns_del_lexicon
Size: Mime:
#!/usr/bin/env bash

# a simple wrapper for Lexicon - https://github.com/AnalogJ/lexicon - a python script which can
# Manipulate DNS records on various DNS providers in a standardized way.
# You need to define the following environmental variables
# LEXICON_PROVIDER
# Every DNS service and auth flag maps to an Environmental Variable as follows: LEXICON_{DNS Provider Name}_{Auth Type}
# eg LEXICON_CLOUDFLARE_USERNAME and LEXICON_CLOUDFLARE_TOKEN or LEXICON_DIGITALOCEAN_TOKEN

fulldomain="${1}"
token="${2}"

  lexicon "$LEXICON_PROVIDER" \
          delete "$fulldomain" TXT \
          --name="_acme-challenge.${fulldomain}." \
          --content="$token"

exit