fix: update ip of example.com
This commit is contained in:
@@ -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
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user