Feature Request: Make fakeip-ttl Configurable #2381
Closed
Medium1992
started this conversation in
Ideas
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Please add a configurable fakeip-ttl.
In some setups the default value of 1 second causes freezes. I had to rebuild the binary with ENV FAKEIP_TTL so I could set it to something other than 1 — I’m using 10 seconds without issues. After switching back to the original binary, the freezes returned (e.g., YouTube hangs completely).
My setup: Mihomo in fakeip mode, while Mikrotik sends DNS requests via DNS static FWD. In configurations where clients don’t receive Mihomo’s DNS directly, DNS static forwarding is very convenient — but the 1-second TTL breaks everything. Looks like I’ll have to patch it again.
Example patch from Dockerfile
Beta Was this translation helpful? Give feedback.
All reactions