Skip to content

Commit

Permalink
[DR] Feat: Update README.md and delete deprecated log line
Browse files Browse the repository at this point in the history
  • Loading branch information
Phuong Dao committed Aug 11, 2024
1 parent eee82f3 commit 5601d98
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,7 @@ cargo run -- HOST_NAME
- In order to run the test
```rust
cargo test
```
```

# Note
This project is built based on the [Coding Challenge](https://codingchallenges.substack.com/p/coding-challenge-22-dns-resolver) proposed by John Cricket.
1 change: 0 additions & 1 deletion src/lib/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ impl DnsClient {
info!("Querying {} for {}", dns_server, host_name);
self.send(&dns_server, 53, &dns_question.into_bytes());
let bytes = self.listen().unwrap();
println!("{:#2x?}", bytes);
let dns_response = DnsMessage::parse(&bytes).unwrap();
if dns_response.header.an_cnt > 0 {
let ip_addrs = dns_response
Expand Down

0 comments on commit 5601d98

Please sign in to comment.