-
-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding Simple DNS Plus Plugin for DNS Validation #149
Conversation
Hey @alphaz18. Thanks for this! There are a few things I noticed just quickly skimming the PR that could use fixing. It looks like the commit caught a couple files unnecessary files in the It looks like SimpleDNS has a trial version, so I may download it and do some quick testing of the plugin before I merge the PR. |
I tested bits and pieces of the PS1 Commands, because I wasn't sure how to test the whole thing as I am not sure how to install it from my fork, so I hope it works! :D . but yes they do have trial and feel free to test it |
For future reference, there are two common ways to test your fork. You can just copy the plugin file into the DnsPlugins folder of your installed copy of the module and then do another Then if you want to test just the plugin functionality without needing to generate an actual certificate, you can just use Publish-DnsChallenge example.com (Get-PAAccount) fakedata SimpleDNSPlus $pArgs
Save-DnsChallenge SimpleDNSPlus $pArgs
Unpublish-DnsChallenge example.com (Get-PAAccount) fakedata SimpleDNSPlus $pArgs
Save-DnsChallenge SimpleDNSPlus $pArgs I tend to do 3x Publish with the same domain and different fake token strings and then 3x Unpublish to make sure I cover the different potential states the TXT record might be in on the server. |
…sApiRoot to allow for custom paths, added SdnsIgnoreCert option, added SdnsCred secure parameter option, renamed SdnsSecret to SdnsPassword, updated readme with changes and additional guidance on auth/TLS
I made some tweaks to bring the authentication parameters more in line with how other plugins work. I tweaked how you were dealing with self-signed certs to make use of some code that's already in the module and added an optional After playing with the server a bit, I realized that we also can't rely on any hard coded API root path. People could be using HTTP or HTTPS and any combination of sub-paths. So There was a tiny bug I fixed in the check for existing TXT records (wasn't checking the value with embedded quotes). I also fleshed out the readme a bit and added more examples for the different auth options. It seems like a lot, but the basic flow of the API requests is the same. Thanks again for the contribution. |
Hi, I think I have done this right,
This is just to add SimpleDNSPlus Plugin. Simple DNS Plus is a
DNS Server Software vendor that is used by some people and we happen to use it.