Skip to content

Commit

Permalink
correctly add trailing dot to dns lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
denisu committed Jul 17, 2024
1 parent 01ad6c9 commit a04eb35
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "splash"
version = "0.0.7"
version = "0.0.8"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ async fn main() -> Result<(), Box<dyn Error>> {
println!("No known peers, bootstrapping from dexies dns introducer");

let resolver = TokioAsyncResolver::tokio_from_system_conf().unwrap();
let response = resolver.txt_lookup("_dnsaddr.splash.dexie.space").await?;
let response = resolver.txt_lookup("_dnsaddr.splash.dexie.space.").await?;

for record in response.iter() {
for txt in record.txt_data() {
Expand Down

0 comments on commit a04eb35

Please sign in to comment.