summaryrefslogtreecommitdiff
path: root/sbin/unwind
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2022-03-12 14:35:30 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2022-03-12 14:35:30 +0000
commit0844d4e3b1ae1f38a52b1d7751aaa233109bc188 (patch)
treed8e549180c38ece842005e4488efb55e01ab3fba /sbin/unwind
parenta336b0f933fbf8647d4d0a61e470c7dd3a73087f (diff)
Probe for DNS64 presence with an absolute name so that asr doesn't add
search domains and retry.
Diffstat (limited to 'sbin/unwind')
-rw-r--r--sbin/unwind/resolver.c4
1 files 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);