Skip to content

morhans/win-acme_dns_one.com

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 

Repository files navigation

win-acme dns api for DNS provider one.com

win-acme_dns_one.com

Author: Morten Hansen

Repository: https://github.com/morhans/win-acme_dns_one.com

Disclaimer

I have switched DNS provider and can no longer garentee this script is working, as one.com can change their website.

Not that versed in powershell scripts. So, any ideas and better ways of doing things is welcome.

What is this?

This is a dns api for use with wacs that uses Let's Encrypt for issuing certificates. It enables you to automatically update one.com dns-records for your domains hosted on their dns servers.

Web Ciphers

Please ensure you got the ciphers needed to access one.com webpage. Ciphers should default from Windows Server 2016 and above but only tested with Windows Server 2019 and 2022.

Instructions

For this to work, download and install wacs and copy the onedotcom.ps1 file into the sub directory Scripts.

Before using it with wacs you have to register username and password.

This is done with running the script with the user wacs is to run with. If not, it will not be possible for wacs to read out the credentials, due to credentials is encrypted to that user.

Run script with option setcred

onedotcom.ps1 setcred

Fill in your correct one.com username and password as asked by the script.

onedotcom.ps1 takes the default parameters asked by wacs. That is:

create {Identifier} {RecordName} {Token}

and

delete {Identifier} {RecordName} {Token}

wacs default wait timer for DNS replication may not be sufficient consider increasing these. Example in settings.json file:

"PreValidateDnsRetryCount": 5,
"PreValidateDnsRetryInterval": 150,

Information on using WACS

Please see win-acme website found at https://www.win-acme.com

Releases

No releases published

Packages

No packages published