cloudflare / cloudflare/cloudflared
🐛 Cloudflared tunnels failing to reach origin service that is running on a .local domain on linux
- Dominant language
- Go
- Stars
- 15.6k
- Forks
- 1.4k
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
Cloudflared tunnels failing to reach origin service that is running on a .local domain on linux
**To Reproduce**
Steps to reproduce the behavior:
1. Create a new tunnel
2. Add a new route to a service with a hostname that uses a .local tld
3. Access the tunneled site
**Expected behavior**
The expected page content to appear
**Environment and versions**
- OS: Linux
- Architecture: ARM64, AMD64
- Version: 2026.8.2
**Logs and errors**
2026-08-13T01:12:18Z ERR error="dial tcp: lookup server.local on 1.1.1.1:53: no such host" connIndex=0 destAddr=ssh://server.local:22 event=1 ingressRule=0 originService=ssh://server.local:22
2026-08-13T01:12:18Z ERR Request failed error="dial tcp: lookup server.local on 1.1.1.1:53: no such host" connIndex=0 dest=#### event=0 ip=### type=ws
**Additional context**
Tested on multiple devices, including amd64 and arm64 linux, received the same error.
However when tested on macos, it works as expected.
Contributor guide
Research direction
Start by reproducing a cloudflared tunnel to ssh://server.local on Linux using the reported version and compare the DNS error with the working macOS case. Trace the Linux origin hostname resolution path and verify the behavior on both ARM64 and AMD64. Done means the tunneled site or SSH origin on a .local hostname is reachable on Linux without the reported lookup failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, linux
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100