]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
iterate: do not treat REFUSED as soft fail with retries
authorMarek Vavruša <mvavrusa@cloudflare.com>
Thu, 12 Apr 2018 08:32:34 +0000 (01:32 -0700)
committerMarek Vavruša <mvavrusa@cloudflare.com>
Fri, 7 Sep 2018 17:45:21 +0000 (10:45 -0700)
commit1430099f6d005f741914eb32adba60ec4850834e
tree3481109a1d9e820377f1fba3aeeab9be2d734bbc
parent684caa2df286492e7d0ce6f5a5c7737f907d598d
iterate: do not treat REFUSED as soft fail with retries

REFUSED means the NS isn't authoritative for given zone, so it
shouldn't be treated like SERVFAIL. This fixes when a server is not
authoritative for given zone (failed transfer, bad delegation), and the
resolver enters into a retry loop and eventually runs out of time,
instead of trying different servers.
lib/layer/iterate.c