Internal Error instead of: Your DNS is wrong
Describe the bug When my dns is setup wrong, it says just internal error, instead of something proper
Nginx Proxy Manager Version v2.9.18
To Reproduce Steps to reproduce the behavior:
- Create an SSL cert for a domain with wrong dns
- See error
Expected behavior A proper error.
What do you mean by "dns is setup wrong"? Here just a few things that this could mean:
- DNS server setup on the container is broken
- DNS for the requested SSL cert doesn't point to an IP forwarded to NPM.
- DNS based SSL challenge config not correct
A/cname for that subdomain was pointing elsewhere
When you go to the SSL section there is already a button to test server reachability, its not done by default since not everyone would want site24x7.com knowing or contacting their site. That surely would have found the error, for example if I do it for a hostname not being handled by NPM it gives the feedback its a valid hostname in the domain but not hosted by NPM.
Testing further inside NPM would be complex for all the edge cases such as
- Split horizon DNS
- Different IPs on outbound and inbound to/from NPM. i.e. outbound via gateway, inbound via load balancer.
- NAT hairpinning not traversing onto the internet IP space
Issue is now considered stale. If you want to keep it open, please comment :+1:
It's still an issue