I followed this guide and got it setup successfully: https://blog.cloudflare.com/dns-over-tls-for-openwrt/