An internal service opens at device.local on your computer, but Cloudflare Tunnel returns an origin error. The connector log says no such host, sometimes naming a public DNS resolver. This difference appears in a reported Linux deployment. Successful access from macOS does not establish that the Linux process uses the same name-resolution mechanism. Q1
A local name is not automatically conventional DNS
Multicast DNS provides local-link resolution through a different mechanism from a query to an ordinary DNS server. Q2 The useful question is not whether the name works somewhere, but whether it resolves reliably in cloudflared's actual execution environment.
Compare the right environments
- Read the active service destination. Record the service URL's scheme, hostname and port. Check that the log error concerns that origin name rather than a hostname used to establish the Cloudflare connection itself.
- Identify the connector context. Establish whether cloudflared runs directly on Linux, inside Docker or as another isolated service. Inspect that environment's resolver configuration. A successful lookup on a Docker host is not automatically a successful lookup inside the container.
- Separate the name from the address. Obtain the current destination address through a trusted local administration path. Compare name resolution and connectivity. A successful TCP connection to the address with failed name resolution narrows the issue, but does not yet verify HTTP host selection or TLS identity.
- Choose a maintainable naming source. A stable internal DNS name may be easier to operate consistently than a workstation-specific discovery mechanism. A static host entry requires explicit ownership of address maintenance, particularly where DHCP can change the destination.
- Preserve host and certificate identity. If the connection name changes, check virtual-host routing, the expected certificate name and any applicable documented origin parameters. Cloudflare separates the service destination from some HTTP and TLS identity settings. Q3 Do not replace correct identity mapping with disabled certificate verification.
Verify the lasting result
Resolution should continue to work after a restart and from the actual connector context. Then compare a harmless request directly and through the tunnel, ensuring both reach the intended application. If addresses can change, establish how those changes will reach the chosen DNS or host mapping.
For support, prepare the service URL without credentials, connector launch method, resolver information and comparison results. Do not publish internal names or private addresses in public DNS merely to make a public resolver return something. The intended local naming design should determine the correction.
Frequently asked questions
Why can my laptop resolve the name?
It may use a local resolution mechanism that the container or background service does not share.
Can I replace the name with an IP address?
That can be a limited diagnostic comparison. Permanent operation also requires correct address maintenance, host selection and TLS name verification.
Prepare a findings note
Summarise your observations for your enquiry. The note is created in your browser and is not saved or sent here. You can then copy it into the contact form.
Unknown is fine. Do not enter passwords, customer data or complete confidential logs.
Support with this issue
We can review internal name resolution and the origin’s HTTP and TLS identity.
