Locally managed CF tunnels and DNS

Hi I'm trying to set up a server that can create embedded linux images with CF tunnels to host a website from each device. What I'm currently doing is using go-API to create the credentials and installing it on the image - that works flawlessly. Now I'm looking into the DNS side of this, and each unit requires a dedicated DNS record to proxy to cfargotunnel.com which causes DNS propagation issues. Can I do this with a single DNS record or at my server side? xxxx.example.com -> xxxx.cfargotunnel.com or example.com/xxxx -> xxxx.cfargotunnel.com. xxxx.cfargotunnel.com seems to be inaccessible directly. Best regards Mark
4 Replies
Cyb3r-Jak3
Cyb3r-Jak32mo ago
You would need a DNS record of www.example.com -> <tunnel url>.
Rugholt
RugholtOP2mo ago
Can you elaborate? I need multiple unique urls, possibly 100s which type of DNS record can carry over the subdomain?
Cyb3r-Jak3
Cyb3r-Jak32mo ago
What do you mean by carry over the subdomain? Each URL will need to be a CNAME to the tunnel.
Rugholt
RugholtOP2mo ago
By "subdomain" i mean the tunnel ID as in TUNNELID.example.com -> TUNNELID.cfargotunnel.com (with access protection) But if on CNAME record per tunnel is required, that is how it is. Thank you!
Want results from more Discord servers?
Add your server