From 88d34e88b6934e9ca4809a69f7afe6bab62dd18e Mon Sep 17 00:00:00 2001 From: 0xflotus <0xflotus@gmail.com> Date: Tue, 9 Jun 2020 00:06:43 +0200 Subject: [PATCH 1/4] Update chapter2.md --- chapter2.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapter2.md b/chapter2.md index 3c3e0f8..277e9a3 100644 --- a/chapter2.md +++ b/chapter2.md @@ -1,7 +1,7 @@ 2 - Building a stub resolver ============================ -While it's slightly satisfying to know that we're able to succesfully parse DNS +While it's slightly satisfying to know that we're able to successfully parse DNS packets, it's not much use to just read them off disk. As our next step, we'll use it to build a `stub resolver`, which is a DNS client that doesn't feature any built-in support for recursive lookup and that will only work with a DNS From 12102673c11cefae122d45b28c8e6520140c5488 Mon Sep 17 00:00:00 2001 From: 0xflotus <0xflotus@gmail.com> Date: Tue, 9 Jun 2020 00:08:04 +0200 Subject: [PATCH 2/4] Update chapter4.md --- chapter4.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapter4.md b/chapter4.md index 1b9e8b4..5f80837 100644 --- a/chapter4.md +++ b/chapter4.md @@ -197,7 +197,7 @@ fn main() { // the raw bytes are simply returned, and if not it'll abort by restarting the // loop and waiting for the next request. The `recv_from` function will write the // data into the provided buffer, and return the length of the data read as well - // as the source adress. We're not interested in the length, but we need to keep + // as the source address. We're not interested in the length, but we need to keep // track of the source in order to send our reply later on. // Next, `DnsPacket::from_buffer` is used to parse the raw bytes into From f57ad109a07cd86374dcc8a1818a99741bbc7d3b Mon Sep 17 00:00:00 2001 From: 0xflotus <0xflotus@gmail.com> Date: Tue, 9 Jun 2020 00:09:18 +0200 Subject: [PATCH 3/4] Update chapter5.md --- chapter5.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapter5.md b/chapter5.md index 6239342..6107f69 100644 --- a/chapter5.md +++ b/chapter5.md @@ -15,7 +15,7 @@ logical servers, but in reality many more. You can read more about it 13 servers before hand. A file containing all of them, in bind format, is available and called [named.root](https://www.internic.net/domain/named.root). These servers all contain the same information, and to get started we can pick -one of them at random. Looking at `named.root` we see that the IP-adress of +one of them at random. Looking at `named.root` we see that the IP-address of *a.root-servers.net* is 198.41.0.4, so we'll go ahead and use that to perform our initial query for *www.google.com*. From cc9bc29ec7affb0001d0ef3170b666a90039390e Mon Sep 17 00:00:00 2001 From: 0xflotus <0xflotus@gmail.com> Date: Tue, 9 Jun 2020 00:10:03 +0200 Subject: [PATCH 4/4] Update chapter1.md --- chapter1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapter1.md b/chapter1.md index 6212bc0..e1d7c7c 100644 --- a/chapter1.md +++ b/chapter1.md @@ -420,7 +420,7 @@ impl BytePacketBuffer { // track whether or not we've jumped let mut jumped = false; - // Our delimeter which we append for each label. Since we don't want a dot at the + // Our delimiter which we append for each label. Since we don't want a dot at the // beginning of the domain name we'll leave it empty for now and set it to "." at // the end of the first iteration. let mut delim = "";