Skip to content

Commit

Permalink
increased the DOcean ttl to 30 sec which seems to be a newly enforced…
Browse files Browse the repository at this point in the history
… minimum
  • Loading branch information
rmbolger committed Jul 19, 2019
1 parent 9d31e15 commit afaa829
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Posh-ACME/DnsPlugins/DOcean.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function Add-DnsTxtDOcean {
type = 'TXT';
name = $recShort;
data = $TxtValue;
ttl = 10;
ttl = 30;
} | ConvertTo-Json
Write-Verbose "Adding a TXT record for $RecordName with value $TxtValue"
Invoke-RestMethod $recRoot -Method Post @restParams -Body $recBody @script:UseBasic | Out-Null
Expand Down Expand Up @@ -159,6 +159,9 @@ function Save-DnsTxtDOcean {
# Helper Functions
############################

# API Docs
# https://developers.digitalocean.com/documentation/v2/#introduction

function Find-DOZone {
[CmdletBinding()]
param(
Expand Down

0 comments on commit afaa829

Please sign in to comment.