DNS Proxy

GOST added support for DNS proxy in version 2.10.


gost -L="dns://:1053?mode=udp&dns=,,,"


mode - proxy mode, optional values are: udptcptlshttps. Default value is udp.

dns - same as the dns parameter in DNS Resolver.

ttl - 2.10.1+, cache timeout, negative value will disable the cache. Default value is the TTL in reply.

timeout - 2.10.1+,request timeout, default value is 5s.

ip - 2.10.1+,client host IP. Will enable the ECS(EDNS Client Subnet) extension if set.