resolver defaults to error for everything except NoRecordsFound.
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
906057dd8d
commit
f273e8feb5
1 changed files with 5 additions and 5 deletions
|
@ -421,16 +421,16 @@ fn handle_resolve_error(e: &ResolveError) -> Result<()> {
|
|||
use hickory_resolver::error::ResolveErrorKind;
|
||||
|
||||
match *e.kind() {
|
||||
ResolveErrorKind::Io {
|
||||
ResolveErrorKind::NoRecordsFound {
|
||||
..
|
||||
} => {
|
||||
error!("{e}");
|
||||
Err(Error::Error(e.to_string()))
|
||||
},
|
||||
_ => {
|
||||
debug_error!("{e}");
|
||||
Ok(())
|
||||
},
|
||||
_ => {
|
||||
error!("{e}");
|
||||
Err(Error::Error(e.to_string()))
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue