-/* $OpenBSD: resolver.c,v 1.142 2021/02/06 18:01:02 florian Exp $ */
+/* $OpenBSD: resolver.c,v 1.143 2021/02/07 13:35:41 florian Exp $ */
/*
* Copyright (c) 2018 Florian Obser <florian@openbsd.org>
/* FALLTHROUGH */
case RESOLVING:
resolvers[type]->state = state;
+ if (type == UW_RES_ASR)
+ check_dns64();
break;
}
}
new_resolver(UW_RES_ASR, UNKNOWN);
new_resolver(UW_RES_DHCP, UNKNOWN);
new_resolver(UW_RES_ODOT_DHCP, UNKNOWN);
- check_dns64();
} else {
while ((tmp = TAILQ_FIRST(&new_forwarder_list)) != NULL) {
TAILQ_REMOVE(&new_forwarder_list, tmp, entry);