Specify DNS resolver host:port when running tunnel #1229
Labels
Priority: Normal
Minor issue impacting one or more users
Type: Feature Request
A big idea that would be split into smaller pieces
Describe the feature you'd like
I expect there is
--dns-resolver
flag.Describe alternatives you've considered
There is, but it's too overhead which I need to run the cloudflared binary in an emulator such as QEMU where I forward port traffic from port 53 in guest to the port 10053 in host.
Additional context
I noticed that, the binary program especially linux based was trying to read local DNS resolver which is [::1]:53. But, there is no local DNS resolver in Android (arm64). I have no root access in my phone to create local DNS server in port 53 as we know port range (0-1024) is reserved and only root access can listen it while I don't have root access. I expect the
cloudflared
is more user-space friendly instead of kernel-space access permision.Here is as you see that I have error in this log which it tried to read port 53.
I also thought bound specific edge address would resolve this issue, but yet it still need DNS resolver on port 53.
Therefore I expect I can just do this (add --dns-resolver flag)
Therefore I can setup my DNS server in user-space port which is 10053 instead of kernel-space port that requires root previlege (port 53).
The text was updated successfully, but these errors were encountered: