Hi , I've successfully used POSH-ACME to create an order and issue a certificate via the Windows DNS Plugin using powershell remoting - however as per the following :
I'd like to use a DNS alias to point to another DNS server to complete the challenge - the main reason is for security as I don't want to expose my main DNS server to the challenge.
I've setup a new DNS server which I'd like to use and setup a CNAME for the domain example to point to the new DNS Server.
So in this example the following challenge CNAME which is on the original DNS server ( originaldns.example.com ) has the cname like this
I haven't seen anything regarding this error message - the new DNS server is bare bones and I've tried creating the zone structure for this example ( a123.domain.example.com ) but the error is the same.
I have yes, however it doesnt answer my query. I'm sure I'm missing something simple here but I'm not sure what! The query via the full domain acme challenge lookup does point to the cname entry of the new dns server but i still see the fail.
Just as a sanity check, does running Get-DnsServerZone directly from the new DNS server actually return any results? And if so, do those results contain your newdns.example.com zone?
My first guess would normally be that something about the remoting config is screwed up. But the error you're getting suggests that part is working and the server just isn't returning any zones when asked. Is the DNS service running? Was it restarted after adding the zone?
Ultimately, this is effectively all the plugin is doing before you get the error. If you want to reproduce it, make sure you have a fresh PowerShell session or explicitly close any existing CimSession objects.
Hi , thanks that helped to further test it - the original server worked fine with those commands so in the end I removed the DNS server role on the secondary and readded it and then the get-dnsserverzone command responded as expected.