]> git.ipfire.org Git - thirdparty/man-pages.git/commit
resolv.conf.5: Timeout does not map to resolver API calls
authorCarlos O'Donell <carlos@redhat.com>
Mon, 5 Dec 2016 16:09:54 +0000 (11:09 -0500)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Tue, 6 Dec 2016 10:40:16 +0000 (11:40 +0100)
commitdd9454a65486b5c95ad9d8cc5907b700d4cb1af6
tree44c7f644587b06580b84e04efbe5d68a0fa9bbc3
parentf5f41651053d5bd9e0d693a968aa49f33f6c46a6
resolv.conf.5: Timeout does not map to resolver API calls

I'm posting this patch to clarify the timeout behaviour because
there have been developers who expect this timeout to mean
something it is not.

The timeout (and by proxy attempts) does not map to resolver API
calls.  For example a single call to getent might involve multiple
resolution requests to the resolvers listed in resolv.conf and
each request will use TIMEOUT and be attempted at least ATTEMPT
times. A developer using the resolver API cannot easily compute
any given timeout because the implementation may change e.g. A and
AAAA queries made in parallel.  A system administrator uses this
setting to ensure there is a desirable timeout on any request to
any of the nameservers listed in resolv.conf, but no guarantees
exist beyond that.

Reviewed-by: Florian Weimer <fweimer@redhat.com>
Signed-off-by: Carlos O'Donell <carlos@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man5/resolv.conf.5