From 324a49d24f8e513b648dcb259d6ce5eafd5d11ba Mon Sep 17 00:00:00 2001 From: joalopez1206 Date: Tue, 1 Oct 2024 18:05:07 -0300 Subject: [PATCH] change err client in check_error_from_msg --- src/async_resolver.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/async_resolver.rs b/src/async_resolver.rs index a9b589ae..eb60a2aa 100644 --- a/src/async_resolver.rs +++ b/src/async_resolver.rs @@ -412,7 +412,8 @@ impl AsyncResolver { if let Rcode::NOERROR = rcode { let answer = lookup_response.to_dns_msg().get_answer(); if answer.len() == 0 { - Err(ClientError::TemporaryError("no answer found"))?; + // TODO: ask why no answer is error ? + //Err(ClientError::TemporaryError("no answer found"))?; } return Ok(lookup_response); }