CVSROOT: /cvs Module name: src Changes by: flor...@cvs.openbsd.org 2019/01/24 08:32:08
Modified files: sbin/unwind : resolver.c Log message: When we switched from the fork based ub_resolve_async() to ub_resolve_event() the heuristic to detect if the authoritative server is unreachable was adapted in the wrong way. Turns out when using ub_resolve_event() we get the correct rcode passed in (SERVFAIL). The rcode in the wire format answer_packet is still wrong though (NOERROR). But that doesn't matter since we can just check the passed in rcode.