Skip to content

Commit

Permalink
fix: changed interface binding
Browse files Browse the repository at this point in the history
  • Loading branch information
thibault-cne committed Jul 29, 2024
1 parent 65c9962 commit 973c74d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ async fn main() {
// Populate a zone tree with test data
let state = Arc::new(dns::State::from(config.clone()));

let addr = "127.0.0.1:8053";
let addr = "0.0.0.0:8053";
let svc = Arc::new(service_fn(dns::dns, state.clone()));

let sock = UdpSocket::bind(addr).await.unwrap();
Expand Down

0 comments on commit 973c74d

Please sign in to comment.