diff --git a/doc/html/howtoe.html b/doc/html/howtoe.html index 0975f2b..af29118 100644 --- a/doc/html/howtoe.html +++ b/doc/html/howtoe.html @@ -1942,10 +1942,12 @@ allowed traffic in megabytes (MB). nocountin allows you to set exclusions. For name resolution and caching, use the commands nserver, nscache / nscache6, and nsrecord.
   nserver 192.168.1.2
-  nserver 192.168.1.3:5353/tcp
+ nserver 192.168.1.3:5353/tcp + nserver [2001:4860:4860::8844] sets DNS resolvers. 192.168.1.3 will be used via TCP/5353 (instead of default UDP/53) only if 192.168.1.2 fails. Up to 5 nservers may be specified. If no nserver is configured, default system name resolution functions are used. + An IPv6 address has to be written in square brackets.
   nscache 65535
   nscache6 65535
diff --git a/doc/html/howtor.html b/doc/html/howtor.html index 723d299..238cd3a 100644 --- a/doc/html/howtor.html +++ b/doc/html/howtor.html @@ -1993,11 +1993,13 @@ socks -p1080 nscache и nsrecord.
   nserver 192.168.1.2
-  nserver 192.168.1.3:5353/tcp
+ nserver 192.168.1.3:5353/tcp + nserver [2001:4860:4860::8844] указывает 3proxy какие машины следует использвоать в качестве серверов DNS. Сервер 192.168.1.3 будет использоваться по порту TCP/5353 (вместо дефолтного UDP/53) только при недостижимости 192.168.1.2. Можно указать до 5 серверов. Если nserver не указан, будут использованы системные функции разрешения имен. + Адрес IPv6 необходимо записывать в квадратных скобках.
   nscache 65535
   nscache6 65535
diff --git a/man/3proxy.cfg.5 b/man/3proxy.cfg.5 index 2b22cb7..232d4af 100644 --- a/man/3proxy.cfg.5 +++ b/man/3proxy.cfg.5 @@ -508,6 +508,13 @@ system routines for name resolution is used. Optional port number may be specified. If optional /tcp is added to IP address, name resolution is performed over TCP. +An IPv6 address has to be enclosed in square brackets: +.br + \fBnserver 1.1.1.1\fR +.br + \fBnserver [2001:4860:4860::8844]\fR +.br + \fBnserver [2001:4860:4860::8844]:5353/tcp\fR .br .BR authnserver