Update README.md
This commit is contained in:
@ -333,7 +333,7 @@ iptables -t nat -A OUTPUT -p tcp -j PROXY
|
|||||||
- Deleting the rules of the chain command is iptables -D chain name from the selected chain, such as iptables -t nat -D PROXY -d 223.223.192.0/255.255.240.0 -j RETURN
|
- Deleting the rules of the chain command is iptables -D chain name from the selected chain, such as iptables -t nat -D PROXY -d 223.223.192.0/255.255.240.0 -j RETURN
|
||||||
|
|
||||||
#### **1.11.Custom DNS**
|
#### **1.11.Custom DNS**
|
||||||
--dns-address and --dns-ttl parameters can be used to specify DNS when you use proxy to access to the domain name(--dns-address)
|
--dns-address and --dns-ttl parameters can be used to specify DNS when you use proxy to access to a domain name(--dns-address)
|
||||||
and analytical result cache time (--dns-ttl) which unit is seconds, which can avoid the interference of system DNS to proxy. cache can reduce DNS resolution time and increase access speed.
|
and analytical result cache time (--dns-ttl) which unit is seconds, which can avoid the interference of system DNS to proxy. cache can reduce DNS resolution time and increase access speed.
|
||||||
for example:
|
for example:
|
||||||
`./proxy http -p ":33080" --dns-address "8.8.8.8:53" --dns-ttl 300`
|
`./proxy http -p ":33080" --dns-address "8.8.8.8:53" --dns-ttl 300`
|
||||||
|
|||||||
Reference in New Issue
Block a user