Skip to content

Cloudflare and DNS #46

Answered by vehagn
mitchross asked this question in Q&A
Aug 17, 2024 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

With the setup I'm running now I don't have to configure anything in my router. I just have a DNS CNAME-record pointing
to the cloudflared-tunnel which then routes the traffic to the LoadBalancer Service connected to the Gateway.

The DNS-record for *.stonegarden.dev looks like

Type Name Content Proxy status
CNAME * <TUNNEL_ID>.cfargotunnel.com Proxied

You can find the TUNNEL_ID under Networks > Tunnels in CF Zero Trust.
If you configure the tunnel through the Zero Trust dashboard I think you also get a DNS entry for it automatically.

You can find the cloudflared config I'm using here, i.e. not configured through the Zero Trust dashboard.

Keep in mind that CF doesn't like you str…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by mitchross
Comment options

You must be logged in to vote
2 replies
@vehagn
Comment options

@mitchross
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants