Revert "switch to hickory-dns / hickory_resolver"

This reverts commit 2ea524bfabeb20e3f2f523ca276fbb9782b6d9e9.
This commit is contained in:
strawberry 2024-03-14 19:05:15 -04:00 committed by June
parent dd1bdf0698
commit 8e3b9a3d17
4 changed files with 50 additions and 49 deletions

View file

@ -13,7 +13,6 @@ use std::{
use axum::{response::IntoResponse, Json};
use futures_util::future::TryFutureExt;
use get_profile_information::v1::ProfileField;
use hickory_resolver::{error::ResolveError, lookup::SrvLookup};
use http::header::{HeaderValue, AUTHORIZATION};
use ipaddress::IPAddress;
use ruma::{
@ -53,6 +52,7 @@ use ruma::{
use serde_json::value::{to_raw_value, RawValue as RawJsonValue};
use tokio::sync::RwLock;
use tracing::{debug, error, info, warn};
use trust_dns_resolver::{error::ResolveError, lookup::SrvLookup};
use crate::{
api::client_server::{self, claim_keys_helper, get_keys_helper},