mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
resolver: sysresolve, names resolved by the system routines
The command keeps the C library's resolution which a configuration without nserver had before the system's name servers became the default: no hosts file imported. nserver lines, if any, are still there for dnspr to forward to. Of sysresolve and fakeresolve the last given applies. Tests: sysdns, with sysresolve dnspr has no hosts file names and a name is resolved through the system routines. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d5e78a0900
commit
994526dbc4
6 files changed
+67
-8
No files matched your search
+10
-1
@@ -555,7 +555,7 @@ An IPv6 address has to be enclosed in square brackets:
|
||||
.br
|
||||
\fBnserver [2001:4860:4860::8844]:5353/tcp\fR
|
||||
.br
|
||||
If none is specified (and there is no \fBfakeresolve\fR), the system's name
|
||||
If none is specified (and there is no \fBfakeresolve\fR or \fBsysresolve\fR), the system's name
|
||||
servers are used: up to 3 from \fI/etc/resolv.conf\fR, on Windows from the
|
||||
registry (those set for the system, those set for an interface, then those
|
||||
DHCP gave). Names in the hosts file (\fI/etc/hosts\fR, on Windows
|
||||
@@ -600,6 +600,15 @@ are never consulted. A static record takes precedence over the hosts file. If 0.
|
||||
is used as a hostaddr host will never resolve, it can be used to
|
||||
blacklist something.
|
||||
|
||||
.br
|
||||
.B sysresolve
|
||||
.br
|
||||
Names are resolved by the system routines for name resolution (the C
|
||||
library), as without \fBnserver\fR before the system's name servers became
|
||||
the default; the hosts file is not imported. \fBnserver\fR lines, if any, are
|
||||
still used by \fBdnspr\fR to forward queries. Of \fBsysresolve\fR and
|
||||
\fBfakeresolve\fR the last one given applies.
|
||||
|
||||
.br
|
||||
.B fakeresolve
|
||||
.br
|
||||
|
||||
Reference in new issue
Block a user