Skip to content

Commit

Permalink
fix: update ip of example.com
Browse files Browse the repository at this point in the history
  • Loading branch information
situ2001 authored and bluejekyll committed Apr 20, 2024
1 parent eb79382 commit cad6eed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -295,7 +295,7 @@ example:
$ resolve www.example.com.
Querying for www.example.com. A from udp:8.8.8.8:53, tcp:8.8.8.8:53, udp:8.8.4.4:53, tcp:8.8.4.4:53, udp:[2001:4860:4860::8888]:53, tcp:[2001:4860:4860::8888]:53, udp:[2001:4860:4860::8844]:53, tcp:[2001:4860:4860::8844]:53
Success for query name: www.example.com. type: A class: IN
www.example.com. 21063 IN A 93.184.216.34
www.example.com. 21063 IN A 93.184.215.14
```

## Using as a dependency and custom features
Expand Down
2 changes: 1 addition & 1 deletion crates/proto/src/op/message.rs
Expand Up @@ -1281,7 +1281,7 @@ mod tests {
0x00, 0x01, 0x00, 0x01, // RecordType = A, Class = IN
0x00, 0x00, 0x00, 0x02, // TTL = 2 seconds
0x00, 0x04, // record length = 4 (ipv4 address)
0x5D, 0xB8, 0xD8, 0x22, // address = 93.184.216.34
0x5D, 0xB8, 0xD7, 0x0E, // address = 93.184.215.14
];

let mut decoder = BinDecoder::new(&buf);
Expand Down

0 comments on commit cad6eed

Please sign in to comment.