Cloudflare Tunnel without passing DNS requests through Cloudflare

Is it possible to use Cloudflare Tunnel without passing DNS requests through Cloudflare via the Warp client?

We’re using split tunnel in inclusive mode, and want just the specified networks to pass though Cloudflare. Everything else, including DNS requests, should route normally - outside of Cloudflare.

Can it be done?

Yes that is possible, you will not need WARP to run a Cloudflare tunnel.


That sounds a bit hard for me to understand. Especially the part:

should route normally - outside of Cloudflare.

If you want to route internal DNS with tunnels, you will need the WARP daemon to run.
any excluded request will not get served by Cloudflare Gateway ( WARP )

I think you need to add more details here…

Today I don’t believe it’s possible without some significant effort. as you can’t add . to the local domain fallback. But you could add every valid TLD I suppose.

2 Likes

@stefano1 I think they’re using the general definition of a Warp tunnel vs. the always interestingly named Argo Cloudflare Tunnel.

2 Likes

Great idea @cscharff!
That’s exactly what we’re trying to achieve.
Can TLDs be added by API?
Is this the right one?
https://api.cloudflare.com/#devices-set-local-domain-fallback-list

You should be able to add via the API. I haven’t specifically tested it though. The syntax is com vs .com. I initially assumed it would be the latter when I tested in the UI.

1 Like