alias dane
feature to hickory
, remove dane.rs example
This commit is contained in:
parent
dc126d2e0f
commit
e77b785fa0
2 changed files with 1 additions and 21 deletions
|
@ -1,16 +0,0 @@
|
|||
use tokio_gemini::dns::DnsClient;
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() {
|
||||
let mut client = DnsClient::init(("1.1.1.1", 53)).await.unwrap();
|
||||
println!(
|
||||
"{}",
|
||||
client
|
||||
.query_tlsa("torproject.org", 443)
|
||||
.await
|
||||
.unwrap()
|
||||
.next()
|
||||
.unwrap()
|
||||
.hex()
|
||||
);
|
||||
}
|
Loading…
Add table
Reference in a new issue