Skip to content

How To Use the Domeneshop DNS Plugin

This plugin works against the Domeneshop DNS provider. It is assumed that you have already setup an account and created the DNS zone(s) you will be working against.

Warning

The API is currently (May 2019) a beta ("version 0"). The interface may change before it is released and those changes may break this plugin. Domeneshop recommends not relying on the API for mission critical services until it has been released.

Setup

We need to retrieve an API token and secret for the account that will be used to update DNS records. Login to Domeneshop using the account that will be used to update DNS.

Using the Plugin

The API token is specified using the DomeneshopToken string parameter. The secret is specified with the DomeneshopSecret SecureString parameter.

Warning

The DomeneshopSecretInsecure parameter is deprecated and will be removed in the next major module version. If you are using it, please migrate to the Secure parameter set.

$pArgs = @{
    DomeneshopToken = 'xxxxxxxxxxxx'
    DomeneshopSecret = (Read-Host "Secret" -AsSecureString)
}
New-PACertificate example.com -Plugin Domeneshop -PluginArgs $pArgs