Added support for remote DNS query over socks5h proxy. #2839

pull/2842/head
morpheus65535 3 months ago
parent fe7b224916
commit bdbe946be2

@ -225,7 +225,7 @@ validators = [
# proxy section
Validator('proxy.type', must_exist=True, default=None, is_type_of=(NoneType, str),
is_in=[None, 'socks5', 'http']),
is_in=[None, 'socks5', 'socks5h', 'http']),
Validator('proxy.url', must_exist=True, default='', is_type_of=str),
Validator('proxy.port', must_exist=True, default='', is_type_of=(str, int)),
Validator('proxy.username', must_exist=True, default='', is_type_of=str, cast=str),

@ -13,9 +13,13 @@ export const securityOptions: SelectorOption<string>[] = [
export const proxyOptions: SelectorOption<string>[] = [
{
label: "Socks5",
label: "Socks5 (local DNS)",
value: "socks5",
},
{
label: "Socks5h (remote DNS)",
value: "socks5h",
},
{
label: "HTTP(S)",
value: "http",

Loading…
Cancel
Save