Skip to content

forced_tunnels.json required to resolve host #64

Open
@PyrusofImpetus

Description

@PyrusofImpetus

Describe the bug
When using modflared, I'm unable to access my server by hostname. Other services running on the same server resolve, but not the Minecraft server. When I add the same domain name to the forced_tunnels.json and place in .minecraft/modflared, it does resolve and I'm able to connect. No blocks/errors appear on cloudflared side as far as I can see.

Which version of the mod/game are you using?
1.21.5, modflared 1.3.0 release.79

To Reproduce
Steps to reproduce the behavior:

  1. Start game without forced_tunnels.json present
  2. Attempt to connect to server
  3. Close game, add forced_tunnels.json with server domain name, restart game
  4. Connection succeeds.
  5. Removing the forced_tunnels.json at this point once again prevents domain resolution

Expected behavior
Modflared should resolve with or without the use of forced tunnels, if it works with forced tunnels.

User error?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions