2 ms·
> Not sure if I understand correctly, but service.local.example.com must point to your internal IP. Yes, that is handled by the PiHole Local DNS configuration
by magicalhippo 5y ago
> Not sure if I understand correctly, but service.local.example.com must point to your internal IP.
Yes, that is handled by the PiHole Local DNS configuration I mentioned later. Of course this only works internally in my network, if you ask DigitalOcean's nameservers for service.local.example.com they return NXDOMAIN (along with the CNAME). This way I don't need to keep the public DNS records in sync with my local IP addresses as defined by the static DHCP leases.
I'm not sure if I really need the CNAME entry to complete the DNS challenge, will do some more testing later.
> I added a hook that stores SSL certs to a local NAS folder
That's similar to what I had in mind. The acme.sh plugin for OpenWRT seems to be missing the ability to run post-renewal scripts though, unless I'm blind. Seems ripe for a contribution.