From 79147096f738603ea6006412388c0d103494e9bd Mon Sep 17 00:00:00 2001 From: florian Date: Sat, 12 Mar 2022 14:35:29 +0000 Subject: [PATCH] Probe for DNS64 presence with an absolute name so that asr doesn't add search domains and retry. --- sbin/unwind/resolver.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sbin/unwind/resolver.c b/sbin/unwind/resolver.c index 79e7b9bde91..74ff6f771df 100644 --- a/sbin/unwind/resolver.c +++ b/sbin/unwind/resolver.c @@ -1,4 +1,4 @@ -/* $OpenBSD: resolver.c,v 1.154 2021/12/18 10:34:19 florian Exp $ */ +/* $OpenBSD: resolver.c,v 1.155 2022/03/12 14:35:29 florian Exp $ */ /* @@ -2249,7 +2249,7 @@ check_dns64(void) } if ((asr_ctx = asr_resolver_from_string(resolv_conf)) != NULL) { - if ((aq = res_query_async("ipv4only.arpa", LDNS_RR_CLASS_IN, + if ((aq = res_query_async("ipv4only.arpa.", LDNS_RR_CLASS_IN, LDNS_RR_TYPE_AAAA, asr_ctx)) == NULL) { log_warn("%s: res_query_async", __func__); asr_resolver_free(asr_ctx); -- 2.20.1