leaf
leaf copied to clipboard
Add DoH feature
Because of dns hijacking in Iran, when enable routing-domain-resolve
field leaf uses iran's dns to resolve domain and it fail
and when disable routing-domain-resolve
field, who servers hosted in iran will not opened, because route table based on ip cidr
i think best choice to solve this problem is using DoH
it's my config:
[General]
#loglevel = trace
dns-server = 1.1.1.1
routing-domain-resolve = true
socks-interface = 0.0.0.0
socks-port = 1080
tun=auto
[Proxy]
ss=ss,#####
Direct = direct
[Rule]
IP-CIDR, 10.0.0.0/8, Direct
IP-CIDR, 172.16.0.0/12, Direct
IP-CIDR, 192.168.0.0/16, Direct
IP-CIDR, 2.144.0.0/14, Direct
IP-CIDR, 2.176.0.0/12, Direct
IP-CIDR, 5.1.43.0/24, Direct
# More Rules
FINAL, ss
Take a look at this issue