Update DNS forwarding to named tunnels

I’ve been using cloudflared to send DNS requests over https using the following config file, but it appears that this setup is now “legacy” and needs to updated. This gateway is configured in my zero-trust dashboard under DNS locations.

How can I update this to using named tunnels?

/etc/cloudflared/config.yml

proxy-dns: true
proxy-dns-port: 5053
proxy-dns-upstream:

OK, looks like all I need to do is create a named tunnel and configure the service (cloudflared service install) and leave my config file as-is.

Does this seem correct?

That sounds like it will work.