From d2c9052dde899297f907b80c79b7ec7e7ab72b80 Mon Sep 17 00:00:00 2001 From: Ainar Garipov Date: Tue, 17 Aug 2021 15:58:40 +0300 Subject: [PATCH] Pull request: all: fix some typos Merge in DNS/adguard-home from fix-typos to master Squashed commit of the following: commit d6a79ea60fea9e9f8bebbe845f403787b93e6f66 Author: Ainar Garipov Date: Tue Aug 17 15:54:09 2021 +0300 all: fix some typos --- AGHTechDoc.md | 7 ++++--- scripts/README.md | 14 +++++++------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/AGHTechDoc.md b/AGHTechDoc.md index ed7f48ba..4758a0da 100644 --- a/AGHTechDoc.md +++ b/AGHTechDoc.md @@ -232,7 +232,7 @@ Deactivate DNSStubListener and update DNS server address. Create a new file: `/ DNS=127.0.0.1 DNSStubListener=no -Specifying "127.0.0.1" as DNS server address is necessry because otherwise the nameserver will be "127.0.0.53" which doesn't work without DNSStubListener. +Specifying "127.0.0.1" as DNS server address is necessary because otherwise the nameserver will be "127.0.0.53" which doesn't work without DNSStubListener. Activate another resolv.conf file: @@ -421,7 +421,8 @@ Enable DHCP server algorithm: DHCP leases are used in several ways by DNS module. -* For "A" DNS reqeust we reply with an IP address leased by our DHCP server. +* For "A" DNS request we reply with an IP address leased by our DHCP server. + < A bills-notebook.lan. > A bills-notebook.lan. = 192.168.1.100 @@ -564,7 +565,7 @@ Request: "gateway_ip":"192.169.56.1", "subnet_mask":"255.255.255.0", "range_start":"192.169.56.100", - "range_end":"192.169.56.200", // Note: first 3 octects must match "range_start" + "range_end":"192.169.56.200", // Note: first 3 octets must match "range_start" "lease_duration":60, }, "v6":{ diff --git a/scripts/README.md b/scripts/README.md index 3ae37ef5..ac99892f 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -57,7 +57,7 @@ Optional environment: default value is `1`. * `DIST_DIR`: the directory to build a release into. The default value is `dist`. - * `GO`: set an alternarive name for the Go compiler. + * `GO`: set an alternative name for the Go compiler. * `SIGN`: `0` to not sign the resulting packages, `1` to sign. The default value is `1`. * `VERBOSE`: `1` to be verbose, `2` to also print environment. This script @@ -70,7 +70,7 @@ Optional environment: ### `clean.sh`: Cleanup Optional environment: - * `GO`: set an alternarive name for the Go compiler. + * `GO`: set an alternative name for the Go compiler. Required environment: * `DIST_DIR`: the directory where a release has previously been built. @@ -82,7 +82,7 @@ Optional environment: reproducible builds. * `GOARM`: ARM processor options for the Go compiler. * `GOMIPS`: ARM processor options for the Go compiler. - * `GO`: set an alternarive name for the Go compiler. + * `GO`: set an alternative name for the Go compiler. * `OUT`: output binary name. * `PARALLELISM`: set the maximum number of concurrently run build commands (that is, compiler, linker, etc.). @@ -98,7 +98,7 @@ Required environment: ### `go-deps.sh`: Install Backend Dependencies Optional environment: - * `GO`: set an alternarive name for the Go compiler. + * `GO`: set an alternative name for the Go compiler. * `VERBOSE`: verbosity level. `1` shows every command that is run and every Go package that is processed. `2` also shows subcommands and environment. The default value is `0`, don't be verbose. @@ -110,14 +110,14 @@ Don't forget to run `make go-tools` once first! Optional environment: * `EXIT_ON_ERROR`: if set to `0`, don't exit the script after the first encountered error. The default value is `1`. - * `GO`: set an alternarive name for the Go compiler. + * `GO`: set an alternative name for the Go compiler. * `VERBOSE`: verbosity level. `1` shows every command that is run. `2` also shows subcommands. The default value is `0`, don't be verbose. ### `go-test.sh`: Run Backend Tests Optional environment: - * `GO`: set an alternarive name for the Go compiler. + * `GO`: set an alternative name for the Go compiler. * `RACE`: set to `0` to not use the Go race detector. The default value is `1`, use the race detector. * `TIMEOUT_FLAGS`: set timeout flags for tests. The default value is @@ -133,7 +133,7 @@ Installs the Go static analysis and other tools into `${PWD}/bin`. Either add directly, or use the commands through `make` (for example, `make go-lint`). Optional environment: - * `GO`: set an alternarive name for the Go compiler. + * `GO`: set an alternative name for the Go compiler. ### `version.sh`: Generate And Print The Current Version