A few weeks ago I enabled secure DNS by installing https-dns-proxy and luci-app-https-dns-proxy.
After I ran the sysupgrade to OpenWrt 21.02.3 those packages were no longer installed though some of the config remained.
When I reinstalled those packages all is well with no further work on my part.
Pleasingly, my OpenWRT router was able to download (install & configure) those packages even though DNS (and therefore INTERNET access) was broken for the rest of my local network.