From ba0313e649b9de3d746cc8a748cd02da75f258bd Mon Sep 17 00:00:00 2001 From: Evan Hunt Date: Thu, 20 Feb 2020 14:49:36 -0800 Subject: [PATCH] fix spelling errors reported by Fossies. --- .uncrustify.cfg | 4 +- CHANGES | 42 +++++++++---------- CONTRIBUTING | 2 +- CONTRIBUTING.md | 2 +- HISTORY | 8 ++-- HISTORY.md | 8 ++-- aclocal.m4 | 2 +- bin/check/named-checkzone.c | 2 +- bin/dnssec/dnssec-cds.8 | 2 +- bin/dnssec/dnssec-cds.c | 2 +- bin/dnssec/dnssec-cds.docbook | 2 +- bin/dnssec/dnssec-cds.html | 2 +- bin/dnssec/dnssec-signzone.8 | 2 +- bin/dnssec/dnssec-signzone.c | 8 ++-- bin/dnssec/dnssec-signzone.docbook | 2 +- bin/dnssec/dnssec-signzone.html | 2 +- bin/dnssec/dnssectool.c | 2 +- bin/named/main.c | 2 +- bin/named/server.c | 4 +- bin/named/statschannel.c | 2 +- bin/python/isc/eventlist.py.in | 2 +- bin/tests/optional/adb_test.c | 4 +- bin/tests/optional/lfsr_test.c | 2 +- bin/tests/optional/rbt_test.c | 2 +- bin/tests/optional/zone_test.c | 2 +- bin/tests/pkcs11/benchmarks/create.c | 2 +- bin/tests/pkcs11/benchmarks/genrsa.c | 2 +- bin/tests/pkcs11/benchmarks/privrsa.c | 2 +- bin/tests/pkcs11/benchmarks/pubrsa.c | 2 +- bin/tests/system/auth/tests.sh | 2 +- bin/tests/system/autosign/tests.sh | 2 +- bin/tests/system/case/tests.sh | 4 +- bin/tests/system/chain/ans4/ans.py | 2 +- bin/tests/system/chain/tests.sh | 4 +- bin/tests/system/dnssec/ns3/sign.sh | 4 +- .../system/dnssec/signer/general/test7.zone | 2 +- bin/tests/system/dyndb/driver/driver.c | 2 +- bin/tests/system/dyndb/driver/syncptr.c | 2 +- bin/tests/system/ednscompliance/tests.sh | 2 +- bin/tests/system/formerr/formerr.pl | 2 +- bin/tests/system/inline/tests.sh | 6 +-- bin/tests/system/kasp/ns3/setup.sh | 12 +++--- bin/tests/system/masterfile/tests.sh | 2 +- bin/tests/system/notify/tests.sh | 2 +- bin/tests/system/nsupdate/tests.sh | 4 +- bin/tests/system/packet.pl | 2 +- bin/tests/system/pipelined/ans5/ans.py | 4 +- bin/tests/system/qmin/ans2/ans.py | 2 +- bin/tests/system/qmin/ans3/ans.py | 2 +- bin/tests/system/qmin/ans4/ans.py | 2 +- bin/tests/system/qmin/tests.sh | 6 +-- bin/tests/system/reclimit/ans7/ans.pl | 2 +- bin/tests/system/resolver/ns6/root.db | 2 +- bin/tests/system/resolver/tests.sh | 8 ++-- bin/tests/system/rpz/ckdnsrps.sh | 4 +- bin/tests/system/rpz/ns5/named.args | 2 +- bin/tests/system/rpz/ns5/tld5.db | 2 +- bin/tests/system/rpz/tests.sh | 6 +-- bin/tests/system/serve-stale/ans2/ans.pl | 2 +- bin/tests/system/smartsign/tests.sh | 2 +- bin/tests/system/staticstub/tests.sh | 2 +- bin/tests/system/wildcard/ns1/named.conf.in | 4 +- bin/tests/system/xfer/tests.sh | 4 +- bin/tools/named-rrchecker.c | 2 +- bin/win32/BINDInstall/BINDInstall.rc | 4 +- bin/win32/BINDInstall/BINDInstallDlg.cpp | 2 +- configure | 2 +- contrib/dlz/bin/dlzbdb/dlzbdb.c | 8 ++-- contrib/dlz/config.dlz.in | 2 +- contrib/dlz/drivers/dlz_bdb_driver.c | 4 +- contrib/dlz/drivers/dlz_bdbhpt_driver.c | 8 ++-- contrib/dlz/drivers/dlz_filesystem_driver.c | 4 +- contrib/dlz/drivers/dlz_ldap_driver.c | 10 ++--- contrib/dlz/drivers/dlz_mysql_driver.c | 10 ++--- contrib/dlz/drivers/dlz_odbc_driver.c | 20 ++++----- contrib/dlz/drivers/dlz_postgres_driver.c | 8 ++-- contrib/dlz/drivers/include/dlz/sdlz_helper.h | 2 +- contrib/dlz/example/README | 4 +- contrib/dlz/example/named.conf | 2 +- .../dlz/modules/bdbhpt/dlz_bdbhpt_dynamic.c | 4 +- .../modules/bdbhpt/testing/bdbhpt-populate.pl | 4 +- .../filesystem/dlz_filesystem_dynamic.c | 4 +- contrib/dlz/modules/ldap/dlz_ldap_dynamic.c | 10 ++--- contrib/dlz/modules/mysql/dlz_mysql_dynamic.c | 8 ++-- .../dlz/modules/sqlite3/dlz_sqlite3_dynamic.c | 8 ++-- contrib/dlz/modules/wildcard/README | 2 +- doc/arm/Bv9ARM-book.xml | 8 ++-- doc/arm/Bv9ARM.ch01.html | 2 +- doc/arm/Bv9ARM.ch05.html | 4 +- doc/arm/man.dnssec-cds.html | 2 +- doc/arm/man.dnssec-signzone.html | 2 +- doc/design/decompression | 2 +- doc/design/dispatch | 2 +- doc/design/tasks | 4 +- doc/design/zone | 2 +- doc/dev/dev.md | 2 +- doc/dev/rdata.md | 4 +- doc/doxygen/mainpage | 2 +- doc/misc/ipv6 | 2 +- doc/misc/rfc-compliance | 4 +- doc/xsl/arm-param.xsl | 2 +- docutil/patch-db2latex-duplicate-template-bug | 4 +- lib/bind9/check.c | 8 ++-- lib/dns/catz.c | 2 +- lib/dns/dispatch.c | 6 +-- lib/dns/dnsrps.c | 2 +- lib/dns/dnssec.c | 4 +- lib/dns/dnstap.proto | 2 +- lib/dns/include/dns/adb.h | 4 +- lib/dns/include/dns/catz.h | 2 +- lib/dns/include/dns/client.h | 2 +- lib/dns/include/dns/db.h | 6 +-- lib/dns/include/dns/dns64.h | 4 +- lib/dns/include/dns/ipkeylist.h | 4 +- lib/dns/include/dns/keytable.h | 2 +- lib/dns/include/dns/name.h | 2 +- lib/dns/include/dns/resolver.h | 4 +- lib/dns/include/dns/zone.h | 4 +- lib/dns/include/dst/dst.h | 2 +- lib/dns/master.c | 4 +- lib/dns/rbt.c | 2 +- lib/dns/rbtdb.c | 4 +- lib/dns/rdata.c | 2 +- lib/dns/rdata/generic/cdnskey_60.c | 2 +- lib/dns/rdata/generic/dnskey_48.c | 2 +- lib/dns/rdata/generic/naptr_35.c | 2 +- lib/dns/rdata/generic/rkey_57.c | 2 +- lib/dns/rdata/in_1/a_1.c | 2 +- lib/dns/rdata/in_1/aaaa_28.c | 2 +- lib/dns/rdataslab.c | 2 +- lib/dns/resolver.c | 10 ++--- lib/dns/rrl.c | 4 +- lib/dns/tests/db_test.c | 2 +- lib/dns/tests/dbversion_test.c | 2 +- lib/dns/tests/rdata_test.c | 20 ++++----- lib/dns/tests/testdata/dst/test1.data | 10 ++--- lib/dns/tests/testdata/dst/test2.data | 10 ++--- lib/dns/tsig.c | 2 +- lib/dns/validator.c | 2 +- lib/dns/view.c | 2 +- lib/dns/xfrin.c | 2 +- lib/dns/zone.c | 14 +++---- lib/dns/zoneverify.c | 2 +- lib/irs/getaddrinfo.c | 2 +- lib/isc/include/isc/buffer.h | 2 +- lib/isc/include/isc/fsaccess.h | 2 +- lib/isc/include/isc/hmac.h | 2 +- lib/isc/include/isc/lex.h | 2 +- lib/isc/include/isc/log.h | 2 +- lib/isc/include/isc/netaddr.h | 2 +- lib/isc/include/isc/refcount.h | 2 +- lib/isc/include/isc/socket.h | 2 +- lib/isc/include/isc/stats.h | 4 +- lib/isc/include/pk11/constants.h | 2 +- lib/isc/netmgr/netmgr-int.h | 16 +++---- lib/isc/netmgr/tcp.c | 2 +- lib/isc/regex.c | 2 +- lib/isc/task.c | 4 +- lib/isc/unix/include/isc/time.h | 2 +- lib/isc/unix/socket.c | 2 +- lib/isc/win32/include/isc/bindevt.h | 2 +- lib/isc/win32/include/isc/time.h | 2 +- lib/isc/win32/pk11_api.c | 2 +- lib/isc/win32/socket.c | 8 ++-- lib/isccfg/namedconf.c | 4 +- lib/isccfg/parser.c | 6 +-- lib/ns/include/ns/query.h | 2 +- lib/ns/query.c | 24 +++++------ lib/ns/update.c | 36 ++++++++-------- util/update_copyrights | 4 +- win32utils/Configure | 2 +- 171 files changed, 363 insertions(+), 363 deletions(-) diff --git a/.uncrustify.cfg b/.uncrustify.cfg index 485735f3bd..012c070b6a 100644 --- a/.uncrustify.cfg +++ b/.uncrustify.cfg @@ -24,7 +24,7 @@ string_escape_char2 = 0 # number # Improvements to template detection may make this option obsolete. tok_split_gte = false # false/true -# Control what to do with the UTF-8 BOM (recommed 'remove') +# Control what to do with the UTF-8 BOM (recommend 'remove') utf8_bom = ignore # ignore/add/remove/force # If the file only contains chars between 128 and 255 and is not UTF-8, then output as UTF-8 @@ -1352,7 +1352,7 @@ cmt_insert_func_header = "" # string # Will substitute $(class) with the class name. cmt_insert_class_header = "" # string -# The filename that contains text to insert before a Obj-C message specification if the method isn't preceeded with a C/C++ comment. +# The filename that contains text to insert before a Obj-C message specification if the method isn't preceded with a C/C++ comment. # Will substitute $(message) with the function name and $(javaparam) with the javadoc @param and @return stuff. cmt_insert_oc_msg_header = "" # string diff --git a/CHANGES b/CHANGES index 3ece0f1a79..8c4a3b8b89 100644 --- a/CHANGES +++ b/CHANGES @@ -124,7 +124,7 @@ close all open sockets during shutdown. [GL #1312] 5324. [bug] Change the category of some log messages from general - to the more appopriate catergory of xfer-in. [GL #1394] + to the more appropriate catergory of xfer-in. [GL #1394] 5323. [bug] Fix a bug in DNSSEC trust anchor verification. [GL !2609] @@ -172,7 +172,7 @@ See the ARM for configuration details. [GL #1134] -5315. [bug] Apply the inital RRSIG expiration spread fixed +5315. [bug] Apply the initial RRSIG expiration spread fixed to all dynamically created records in the zone including NSEC3. Also fix the signature clusters when the server has been offline for prolonged @@ -677,7 +677,7 @@ 5170. [test] Added --with-dlz-filesystem to feature-test. [GL !1587] -5169. [bug] The presence of certain types in an otherwise +5169. [bug] The presense of certain types in an otherwise empty node could cause a crash while processing a type ANY query. [GL #901] @@ -1385,7 +1385,7 @@ 4965. [func] Add support for marking options as deprecated. [GL #322] -4964. [bug] Reduce the probabilty of double signature when deleting +4964. [bug] Reduce the probability of double signature when deleting a DNSKEY by checking if the node is otherwise signed by the algorithm of the key to be deleted. [GL #240] @@ -1469,7 +1469,7 @@ for unsigned zones since change 4596. [GL #209] 4945. [func] BIND can no longer be built without DNSSEC support. - A cryptography provder (i.e., OpenSSL or a hardware + A cryptography provider (i.e., OpenSSL or a hardware service module with PKCS#11 support) must be available. [GL #244] @@ -1528,7 +1528,7 @@ dig (+[no]raflag, +[no]tcflag). [GL #213] 4928. [func] The "dnskey-sig-validity" option allows - "sig-validity-interval" to be overriden for signatures + "sig-validity-interval" to be overridden for signatures covering DNSKEY RRsets. [GL #145] 4927. [placeholder] @@ -1867,7 +1867,7 @@ [RT #46725] 4831. [bug] Convert the RRSIG expirytime to 64 bits for - comparisions in diff.c:resign. [RT #46710] + comparisons in diff.c:resign. [RT #46710] 4830. [bug] Failure to configure ATF when requested did not cause an error in top-level configure script. [RT #46655] @@ -2093,7 +2093,7 @@ used to append a formatted string to the used region of a buffer. [RT #46201] -4766. [cleanup] Addresss Coverity warnings. [RT #46150] +4766. [cleanup] Address Coverity warnings. [RT #46150] 4765. [bug] Address potential INSIST in dnssec-cds. [RT #46150] @@ -2287,7 +2287,7 @@ 4719. [bug] Address PVS static analyzer warnings. [RT #45946] -4718. [func] Avoid seaching for a owner name compression pointer +4718. [func] Avoid searching for a owner name compression pointer more than once when writing out a RRset. [RT #45802] 4717. [bug] Treat replies with QCOUNT=0 as truncated if TC=1, @@ -6432,7 +6432,7 @@ 3518. [bug] Increase the size of dns_rrl_key.s.rtype by one bit so that all dns_rrl_rtype_t enum values fit regardless - of whether it is teated as signed or unsigned by + of whether it is treated as signed or unsigned by the compiler. [RT #32792] 3517. [bug] Reorder destruction to avoid shutdown race. [RT #32777] @@ -7507,7 +7507,7 @@ --- 9.9.0b1 released --- -3186. [bug] Version/db mis-match in rpz code. [RT #26180] +3186. [bug] Version/db mismatch in rpz code. [RT #26180] 3185. [func] New 'rndc signing' option for auto-dnssec zones: - 'rndc signing -list' displays the current @@ -8172,7 +8172,7 @@ 2998. [func] Add isc_task_beginexclusive and isc_task_endexclusive to the task api. [RT #22776] -2997. [func] named -V now reports the OpenSSL and libxml2 verions +2997. [func] named -V now reports the OpenSSL and libxml2 versions it was compiled against. [RT #22687] 2996. [security] Temporarily disable SO_ACCEPTFILTER support. @@ -11155,7 +11155,7 @@ 2096. [bug] libbind: handle applications that fail to detect res_init() failures better. -2095. [port] libbind: alway prototype inet_cidr_ntop_ipv6() and +2095. [port] libbind: always prototype inet_cidr_ntop_ipv6() and net_cidr_ntop_ipv6(). [RT #16388] 2094. [contrib] Update named-bootconf. [RT #16404] @@ -11211,7 +11211,7 @@ 2076. [bug] Several files were missing #include causing build failures on OSF. [RT #16341] -2075. [bug] The spillat timer event hander could leak memory. +2075. [bug] The spillat timer event handler could leak memory. [RT #16357] 2074. [bug] dns_request_createvia2(), dns_request_createvia3(), @@ -11260,7 +11260,7 @@ failure while cleaning up a stale rdataset. [RT #16292] -2058. [bug] Adjust how we calculate rtt estimates in the presence +2058. [bug] Adjust how we calculate rtt estimates in the presense of authoritative servers that drop EDNS and/or CD requests. Also fallback to EDNS/512 and plain DNS faster for zones with less than 3 servers. [RT #16187] @@ -11973,7 +11973,7 @@ 1831. [doc] Update named-checkzone documentation. [RT #13604] -1830. [bug] adb lame cache has sence of test reversed. [RT #13600] +1830. [bug] adb lame cache has sense of test reversed. [RT #13600] 1829. [bug] win32: "pid-file none;" broken. [RT #13563] @@ -12084,7 +12084,7 @@ 1796. [func] "rndc freeze/thaw" now freezes/thaws all zones. 1795. [bug] "rndc dumpdb" was not fully documented. Minor - formating issues with "rndc dumpdb -all". [RT #13396] + formatting issues with "rndc dumpdb -all". [RT #13396] 1794. [func] Named and named-checkzone can now both check for non-terminal wildcard records. @@ -13261,7 +13261,7 @@ acl. 1393. [port] Bind to individual IPv6 interfaces if IPV6_IPV6ONLY - is not available in the kernel to prevent accidently + is not available in the kernel to prevent accidentally listening on IPv4 interfaces. 1392. [bug] named-checkzone: update usage. @@ -14989,7 +14989,7 @@ 839. [func] Dump packets for which there was no view or that the class could not be determined to category "unmatched". - 838. [port] UnixWare 7.x.x is now suported by + 838. [port] UnixWare 7.x.x is now supported by bin/tests/system/ifconfig.sh. 837. [cleanup] Multi-threading is now enabled by default only on @@ -15204,7 +15204,7 @@ blocking. 772. [bug] Owner names could be incorrectly omitted from cache - dumps in the presence of negative caching entries. + dumps in the presense of negative caching entries. [RT #991] 771. [cleanup] TSIG errors related to unsynchronized clocks @@ -17801,7 +17801,7 @@ lock in certain error cases. 18. [bug] Use AC_TRY_LINK rather than AC_TRY_COMPILE in - configure.in to check for presence of in6addr_any. + configure.in to check for presense of in6addr_any. 17. [func] Do configuration file post-load validation of zones. diff --git a/CONTRIBUTING b/CONTRIBUTING index 225e753b57..509c82c6f3 100644 --- a/CONTRIBUTING +++ b/CONTRIBUTING @@ -99,7 +99,7 @@ e-mail is not a secure choice for communications concerning undisclosed security issues so please encrypt your communications to us if possible, using the ISC Security Officer public key. -Do not discuss undisclosed security vulnerabilites on any public mailing +Do not discuss undisclosed security vulnerabilities on any public mailing list. ISC has a long history of handling reported vulnerabilities promptly and effectively and we respect and acknowledge responsible reporters. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 62989adf4c..f03f8cb525 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -107,7 +107,7 @@ e-mail is not a secure choice for communications concerning undisclosed security issues so please encrypt your communications to us if possible, using the [ISC Security Officer public key](https://www.isc.org/downloads/software-support-policy/openpgp-key/). -Do not discuss undisclosed security vulnerabilites on any public mailing list. +Do not discuss undisclosed security vulnerabilities on any public mailing list. ISC has a long history of handling reported vulnerabilities promptly and effectively and we respect and acknowledge responsible reporters. diff --git a/HISTORY b/HISTORY index 1e3dc72233..6585ad461c 100644 --- a/HISTORY +++ b/HISTORY @@ -515,8 +515,8 @@ BIND 9.4.0 * dig: report the number of extra bytes still left in the packet after processing all the records. * Support for IPSECKEY rdata type. - * Raise the UDP recieve buffer size to 32k if it is less than 32k. - * x86 and x86_64 now have seperate atomic locking implementations. + * Raise the UDP receive buffer size to 32k if it is less than 32k. + * x86 and x86_64 now have separate atomic locking implementations. * named-checkconf now validates update-policy entries. * Attempt to make the amount of work performed in a iteration self tuning. The covers nodes clean from the cache per iteration, nodes @@ -533,8 +533,8 @@ BIND 9.4.0 * dig now warns if 'RA' is not set in the answer when 'RD' was set in the query. host/nslookup skip servers that fail to set 'RA' when 'RD' is set unless a server is explicitly set. - * Integrate contibuted DLZ code into named. - * Integrate contibuted IDN code from JPNIC. + * Integrate contributed DLZ code into named. + * Integrate contributed IDN code from JPNIC. * libbind: corresponds to that from BIND 8.4.7. BIND 9.3.0 diff --git a/HISTORY.md b/HISTORY.md index 2b9fe6d361..5db21760a7 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -533,8 +533,8 @@ BIND 9.4.0 - dig: report the number of extra bytes still left in the packet after processing all the records. - Support for IPSECKEY rdata type. -- Raise the UDP recieve buffer size to 32k if it is less than 32k. -- x86 and x86_64 now have seperate atomic locking implementations. +- Raise the UDP receive buffer size to 32k if it is less than 32k. +- x86 and x86_64 now have separate atomic locking implementations. - named-checkconf now validates update-policy entries. - Attempt to make the amount of work performed in a iteration self tuning. The covers nodes clean from the cache per iteration, nodes written to @@ -551,8 +551,8 @@ BIND 9.4.0 - dig now warns if 'RA' is not set in the answer when 'RD' was set in the query. host/nslookup skip servers that fail to set 'RA' when 'RD' is set unless a server is explicitly set. -- Integrate contibuted DLZ code into named. -- Integrate contibuted IDN code from JPNIC. +- Integrate contributed DLZ code into named. +- Integrate contributed IDN code from JPNIC. - libbind: corresponds to that from BIND 8.4.7. #### BIND 9.3.0 diff --git a/aclocal.m4 b/aclocal.m4 index 167140bbeb..a3a11f5d29 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -100,7 +100,7 @@ dnl Check to see whether a particular set of modules exists. Similar to dnl PKG_CHECK_MODULES(), but does not set variables or print errors. dnl dnl Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) -dnl only at the first occurence in configure.ac, so if the first place +dnl only at the first occurrence in configure.ac, so if the first place dnl it's called might be skipped (such as if it is within an "if", you dnl have to call PKG_CHECK_EXISTS manually AC_DEFUN([PKG_CHECK_EXISTS], diff --git a/bin/check/named-checkzone.c b/bin/check/named-checkzone.c index 4b15bd02b2..c44c1b96a9 100644 --- a/bin/check/named-checkzone.c +++ b/bin/check/named-checkzone.c @@ -501,7 +501,7 @@ main(int argc, char **argv) { } /* - * If we are outputing to stdout then send the informational + * If we are printing to stdout then send the informational * output to stderr. */ if (dumpzone && diff --git a/bin/dnssec/dnssec-cds.8 b/bin/dnssec/dnssec-cds.8 index b837df5559..225d1da1ad 100644 --- a/bin/dnssec/dnssec-cds.8 +++ b/bin/dnssec/dnssec-cds.8 @@ -60,7 +60,7 @@ file generated by .PP The \fBdnssec\-cds\fR -command uses special DNSSEC validation logic specified by RFC 7344\&. It requires that the CDS and/or CDNSKEY records are validly signed by a key represented in the existing DS records\&. This will typicially be the pre\-existing key\-signing key (KSK)\&. +command uses special DNSSEC validation logic specified by RFC 7344\&. It requires that the CDS and/or CDNSKEY records are validly signed by a key represented in the existing DS records\&. This will typically be the pre\-existing key\-signing key (KSK)\&. .PP For protection against replay attacks, the signatures on the child records must not be older than they were on a previous run of \fBdnssec\-cds\fR\&. This time is obtained from the modification time of the diff --git a/bin/dnssec/dnssec-cds.c b/bin/dnssec/dnssec-cds.c index 2c7c3a511f..e94235786c 100644 --- a/bin/dnssec/dnssec-cds.c +++ b/bin/dnssec/dnssec-cds.c @@ -1234,7 +1234,7 @@ main(int argc, char *argv[]) { } /* - * Sucessfully do nothing if there's neither CDNSKEY nor CDS + * Successfully do nothing if there's neither CDNSKEY nor CDS * RFC 7344 section 4.1 first paragraph */ if (!dns_rdataset_isassociated(&cdnskey_set) && diff --git a/bin/dnssec/dnssec-cds.docbook b/bin/dnssec/dnssec-cds.docbook index 3914322628..72d2c4b7e2 100644 --- a/bin/dnssec/dnssec-cds.docbook +++ b/bin/dnssec/dnssec-cds.docbook @@ -93,7 +93,7 @@ The dnssec-cds command uses special DNSSEC validation logic specified by RFC 7344. It requires that the CDS and/or CDNSKEY records are validly signed by a key represented in the - existing DS records. This will typicially be the pre-existing + existing DS records. This will typically be the pre-existing key-signing key (KSK). diff --git a/bin/dnssec/dnssec-cds.html b/bin/dnssec/dnssec-cds.html index b641031335..8d35a8dcca 100644 --- a/bin/dnssec/dnssec-cds.html +++ b/bin/dnssec/dnssec-cds.html @@ -78,7 +78,7 @@ The dnssec-cds command uses special DNSSEC validation logic specified by RFC 7344. It requires that the CDS and/or CDNSKEY records are validly signed by a key represented in the - existing DS records. This will typicially be the pre-existing + existing DS records. This will typically be the pre-existing key-signing key (KSK).

diff --git a/bin/dnssec/dnssec-signzone.8 b/bin/dnssec/dnssec-signzone.8 index 14ce76afd5..4967e05e81 100644 --- a/bin/dnssec/dnssec-signzone.8 +++ b/bin/dnssec/dnssec-signzone.8 @@ -239,7 +239,7 @@ Do not modify the SOA serial number\&. .PP \fB"increment"\fR .RS 4 -Increment the SOA serial number using RFC 1982 arithmetics\&. +Increment the SOA serial number using RFC 1982 arithmetic\&. .RE .PP \fB"unixtime"\fR diff --git a/bin/dnssec/dnssec-signzone.c b/bin/dnssec/dnssec-signzone.c index 312bd061df..50efba63a1 100644 --- a/bin/dnssec/dnssec-signzone.c +++ b/bin/dnssec/dnssec-signzone.c @@ -816,7 +816,7 @@ hashlist_hasdup(hashlist_t *l) { size_t entries = l->entries; /* - * Skip initial speculative wild card hashs. + * Skip initial speculative wild card hashes. */ while (entries > 0U && next[l->length - 1] != 0U) { next += l->length; @@ -1186,7 +1186,7 @@ signname(dns_dbnode_t *node, dns_name_t *name) { /* * See if the node contains any non RRSIG/NSEC records and report to - * caller. Clean out extranous RRSIG records for node. + * caller. Clean out extraneous RRSIG records for node. */ static inline bool active_node(dns_dbnode_t *node) { @@ -1380,7 +1380,7 @@ setsoaserial(uint32_t serial, dns_updatemethod_t method) { /* Set SOA serial to the value provided. */ new_serial = serial; } else { - /* Increment SOA serial using RFC 1982 arithmetics */ + /* Increment SOA serial using RFC 1982 arithmetic */ new_serial = (old_serial + 1) & 0xFFFFFFFF; if (new_serial == 0) { new_serial = 1; @@ -2399,7 +2399,7 @@ nsec3ify(unsigned int hashalg, dns_iterations_t iterations, salt_len, false); dns_db_detachnode(gdb, &node); /* - * Add hashs for empty nodes. Use closest encloser logic. + * Add hashes for empty nodes. Use closest encloser logic. * The closest encloser either has data or is a empty * node for another span so we don't add * it here. Empty labels on nextname are within the span. diff --git a/bin/dnssec/dnssec-signzone.docbook b/bin/dnssec/dnssec-signzone.docbook index 05331724a7..262ab2ff86 100644 --- a/bin/dnssec/dnssec-signzone.docbook +++ b/bin/dnssec/dnssec-signzone.docbook @@ -445,7 +445,7 @@ "increment" Increment the SOA serial number using RFC 1982 - arithmetics. + arithmetic. diff --git a/bin/dnssec/dnssec-signzone.html b/bin/dnssec/dnssec-signzone.html index d214663482..89000357a5 100644 --- a/bin/dnssec/dnssec-signzone.html +++ b/bin/dnssec/dnssec-signzone.html @@ -353,7 +353,7 @@

"increment"

Increment the SOA serial number using RFC 1982 - arithmetics.

+ arithmetic.

"unixtime"
diff --git a/bin/dnssec/dnssectool.c b/bin/dnssec/dnssectool.c index 06ce608e49..7b0ba04e25 100644 --- a/bin/dnssec/dnssectool.c +++ b/bin/dnssec/dnssectool.c @@ -564,7 +564,7 @@ isoptarg(const char *arg, char **argv, void (*usage)(void)) { usage(); } isc_commandline_argument = argv[isc_commandline_index]; - /* skip to next arguement */ + /* skip to next argument */ isc_commandline_index++; return (true); } diff --git a/bin/named/main.c b/bin/named/main.c index 53426f2723..6f8139287c 100644 --- a/bin/named/main.c +++ b/bin/named/main.c @@ -904,7 +904,7 @@ create_managers(void) { /* * We have ncpus network threads, ncpus worker threads, ncpus * old network threads - make it 4x just to be safe. The memory - * impact is neglible. + * impact is negligible. */ isc_hp_init(4 * named_g_cpus); named_g_nm = isc_nm_start(named_g_mctx, named_g_cpus); diff --git a/bin/named/server.c b/bin/named/server.c index 01d57a725d..e2e9394bff 100644 --- a/bin/named/server.c +++ b/bin/named/server.c @@ -4382,7 +4382,7 @@ configure_view(dns_view_t *view, dns_viewlist_t *viewlist, cfg_obj_t *config, * When the view's configuration changes, the cached data may become * invalid because it reflects our old view of the world. We check * some of the configuration parameters that could invalidate the cache - * or otherwise make it unsharable, but there are other configuration + * or otherwise make it unshareable, but there are other configuration * options that should be checked. For example, if a view uses a * forwarder, changes in the forwarder configuration may invalidate * the cache. At the moment, it's the administrator's responsibility to @@ -8640,7 +8640,7 @@ load_configuration(const char *filename, named_server_t *server, } /* - * Determing the default DSCP code point. + * Determining the default DSCP code point. */ CHECKM(named_config_getdscp(config, &named_g_dscp), "dscp"); diff --git a/bin/named/statschannel.c b/bin/named/statschannel.c index 59c5052d66..e02c1f056e 100644 --- a/bin/named/statschannel.c +++ b/bin/named/statschannel.c @@ -660,7 +660,7 @@ init_desc(void) { dnstapstats_index[i++] = dns_dnstapcounter_##counterid; \ } while (0) i = 0; - SET_DNSTAPSTATDESC(success, "dnstap messges written", "DNSTAPsuccess"); + SET_DNSTAPSTATDESC(success, "dnstap messages written", "DNSTAPsuccess"); SET_DNSTAPSTATDESC(drop, "dnstap messages dropped", "DNSTAPdropped"); INSIST(i == dns_dnstapcounter_max); diff --git a/bin/python/isc/eventlist.py.in b/bin/python/isc/eventlist.py.in index f11bba3a7a..cb72c6e0b8 100644 --- a/bin/python/isc/eventlist.py.in +++ b/bin/python/isc/eventlist.py.in @@ -45,7 +45,7 @@ class eventlist: key=lambda event: event.when) # scan events per zone, algorithm, and key type, in order of - # occurrance, noting inconsistent states when found + # occurrence, noting inconsistent states when found def coverage(self, zone, keytype, until, output = None): def noop(*args, **kwargs): pass if not output: diff --git a/bin/tests/optional/adb_test.c b/bin/tests/optional/adb_test.c index 780a9814d1..38e965bcf2 100644 --- a/bin/tests/optional/adb_test.c +++ b/bin/tests/optional/adb_test.c @@ -351,7 +351,7 @@ main(int argc, char **argv) { lookup("moghedien.flame.org."); /* should fetch */ lookup("mailrelay.flame.org."); /* should fetch */ lookup("ipv4v6.flame.org."); /* should fetch */ - lookup("nonexistant.flame.org."); /* should fail to be found */ + lookup("nonexistent.flame.org."); /* should fail to be found */ lookup("foobar.badns.flame.org."); /* should fail utterly (NS) */ lookup("i.root-servers.net."); /* Should be in hints */ lookup("www.firstcard.com."); @@ -373,7 +373,7 @@ main(int argc, char **argv) { lookup("moghedien.flame.org."); /* should fetch */ lookup("mailrelay.flame.org."); /* should fetch */ lookup("ipv4v6.flame.org."); /* should fetch */ - lookup("nonexistant.flame.org."); /* should fail to be found */ + lookup("nonexistent.flame.org."); /* should fail to be found */ lookup("foobar.badns.flame.org."); /* should fail utterly (NS) */ lookup("i.root-servers.net."); /* Should be in hints */ CUNLOCK(); diff --git a/bin/tests/optional/lfsr_test.c b/bin/tests/optional/lfsr_test.c index cd383b63fb..e9d2481fab 100644 --- a/bin/tests/optional/lfsr_test.c +++ b/bin/tests/optional/lfsr_test.c @@ -30,7 +30,7 @@ main(int argc, char **argv) { UNUSED(argv); /* - * Verify that returned values are reproducable. + * Verify that returned values are reproducible. */ isc_lfsr_init(&lfsr1, 0, 32, 0x80000057U, 0, NULL, NULL); for (i = 0; i < 32; i++) { diff --git a/bin/tests/optional/rbt_test.c b/bin/tests/optional/rbt_test.c index edd8fac6eb..4bba6553f1 100644 --- a/bin/tests/optional/rbt_test.c +++ b/bin/tests/optional/rbt_test.c @@ -219,7 +219,7 @@ iterate(dns_rbt_t *rbt, bool forward) { printf("\n"); } else { if (result != ISC_R_NOMORE) { - printf("UNEXEPCTED ITERATION ERROR: %s", + printf("UNEXPECTED ITERATION ERROR: %s", dns_result_totext(result)); } break; diff --git a/bin/tests/optional/zone_test.c b/bin/tests/optional/zone_test.c index e87a007f13..2425f64ee0 100644 --- a/bin/tests/optional/zone_test.c +++ b/bin/tests/optional/zone_test.c @@ -204,7 +204,7 @@ query(void) { ERRCONT(result, "dns_name_fromtext"); result = dns_db_find(db, dns_fixedname_name(&name), - NULL /*vesion*/, dns_rdatatype_a, + NULL /*version*/, dns_rdatatype_a, 0 /*options*/, 0 /*time*/, NULL /*nodep*/, dns_fixedname_name(&found), &rdataset, &sigset); diff --git a/bin/tests/pkcs11/benchmarks/create.c b/bin/tests/pkcs11/benchmarks/create.c index b3d1056897..954b81c19b 100644 --- a/bin/tests/pkcs11/benchmarks/create.c +++ b/bin/tests/pkcs11/benchmarks/create.c @@ -152,7 +152,7 @@ main(int argc, char *argv[]) { pk11_result_register(); - /* Allocate hanles */ + /* Allocate handles */ hKey = (CK_SESSION_HANDLE *)malloc(count * sizeof(CK_SESSION_HANDLE)); if (hKey == NULL) { perror("malloc"); diff --git a/bin/tests/pkcs11/benchmarks/genrsa.c b/bin/tests/pkcs11/benchmarks/genrsa.c index 3aabf63eef..7431598a4f 100644 --- a/bin/tests/pkcs11/benchmarks/genrsa.c +++ b/bin/tests/pkcs11/benchmarks/genrsa.c @@ -168,7 +168,7 @@ main(int argc, char *argv[]) { pk11_result_register(); - /* Allocate hanles */ + /* Allocate handles */ pubKey = (CK_SESSION_HANDLE *)malloc(count * sizeof(CK_SESSION_HANDLE)); if (pubKey == NULL) { perror("malloc"); diff --git a/bin/tests/pkcs11/benchmarks/privrsa.c b/bin/tests/pkcs11/benchmarks/privrsa.c index 60bcdbab33..545e4f62bb 100644 --- a/bin/tests/pkcs11/benchmarks/privrsa.c +++ b/bin/tests/pkcs11/benchmarks/privrsa.c @@ -225,7 +225,7 @@ main(int argc, char *argv[]) { pk11_result_register(); - /* Allocate hanles */ + /* Allocate handles */ hKey = (CK_SESSION_HANDLE *)malloc(count * sizeof(CK_SESSION_HANDLE)); if (hKey == NULL) { perror("malloc"); diff --git a/bin/tests/pkcs11/benchmarks/pubrsa.c b/bin/tests/pkcs11/benchmarks/pubrsa.c index f9dac0fec4..045f01d6da 100644 --- a/bin/tests/pkcs11/benchmarks/pubrsa.c +++ b/bin/tests/pkcs11/benchmarks/pubrsa.c @@ -171,7 +171,7 @@ main(int argc, char *argv[]) { pk11_result_register(); - /* Allocate hanles */ + /* Allocate handles */ hKey = (CK_SESSION_HANDLE *)malloc(count * sizeof(CK_SESSION_HANDLE)); if (hKey == NULL) { perror("malloc"); diff --git a/bin/tests/system/auth/tests.sh b/bin/tests/system/auth/tests.sh index cc47c39b92..fb76d0043f 100644 --- a/bin/tests/system/auth/tests.sh +++ b/bin/tests/system/auth/tests.sh @@ -18,7 +18,7 @@ status=0 n=0 n=`expr $n + 1` -echo_i "wait for zones to finish transfering to ns2 ($n)" +echo_i "wait for zones to finish transferring to ns2 ($n)" for i in 1 2 3 4 5 6 7 8 9 10 do ret=0 diff --git a/bin/tests/system/autosign/tests.sh b/bin/tests/system/autosign/tests.sh index 738fd075b9..eadf2a7f54 100755 --- a/bin/tests/system/autosign/tests.sh +++ b/bin/tests/system/autosign/tests.sh @@ -83,7 +83,7 @@ checkjitter () { # This number has been tuned for `sig-validity-interval 10 2`, as # 1. 1. signature expiration dates should be spread out across at most 8 (10-2) days # 2. we remove first and last day to remove frequency outlier, we are left with 6 (8-2) days - # 3. we substract one more day to allow test pass on day boundaries, etc. leaving us with 5 (6-1) days + # 3. we subtract one more day to allow test pass on day boundaries, etc. leaving us with 5 (6-1) days for _num in $_expiretimes do _count=$((_count+1)) diff --git a/bin/tests/system/case/tests.sh b/bin/tests/system/case/tests.sh index afacc607e9..8160ad8d2e 100644 --- a/bin/tests/system/case/tests.sh +++ b/bin/tests/system/case/tests.sh @@ -106,7 +106,7 @@ test $ret -eq 0 || echo_i "failed" status=`expr $status + $ret` n=`expr $n + 1` -echo_i "check SOA owner case is transfered to slave ($n)" +echo_i "check SOA owner case is transferred to slave ($n)" ret=0 $DIG $DIGOPTS axfr dynamic @10.53.0.2 > dig.ns2.test$n digcomp dig.ns2.test$n postupdate.good || ret=1 @@ -138,7 +138,7 @@ test $ret -eq 0 || echo_i "failed" status=`expr $status + $ret` n=`expr $n + 1` -echo_i "check A owner case is transfered to slave ($n)" +echo_i "check A owner case is transferred to slave ($n)" ret=0 $DIG $DIGOPTS axfr dynamic @10.53.0.2 > dig.ns2.test$n digcomp dig.ns2.test$n postns1.good || ret=1 diff --git a/bin/tests/system/chain/ans4/ans.py b/bin/tests/system/chain/ans4/ans.py index 2dd7def019..88a06cae99 100755 --- a/bin/tests/system/chain/ans4/ans.py +++ b/bin/tests/system/chain/ans4/ans.py @@ -56,7 +56,7 @@ from dns.name import * # # examples: for the answer set "cname, cname, cname", an rr set # '1, s1, 2, s2, 3, s3, 4, s4' indicates that all four RRs should -# be included in the answer, with siagntures, in the origninal +# be included in the answer, with siagntures, in the original # order, while 4, s4, 3, s3, 2, s2, 1, s1' indicates the order # should be reversed, 's3, s3, s3, s3' indicates that the third # RRSIG should be repeated four times and everything else should diff --git a/bin/tests/system/chain/tests.sh b/bin/tests/system/chain/tests.sh index f05b2f2f88..dc83fbf224 100644 --- a/bin/tests/system/chain/tests.sh +++ b/bin/tests/system/chain/tests.sh @@ -153,7 +153,7 @@ if [ $ret != 0 ]; then echo_i "failed"; fi status=`expr $status + $ret` n=`expr $n + 1` -echo_i "checking CNAME to signed external delgation is handled ($n)" +echo_i "checking CNAME to signed external delegation is handled ($n)" ret=0 $RNDCCMD 10.53.0.7 null --- start test$n --- 2>&1 | sed 's/^/ns7 /' | cat_i $DIG $DIGOPTS @10.53.0.7 c.example > dig.out.$n @@ -162,7 +162,7 @@ if [ $ret != 0 ]; then echo_i "failed"; fi status=`expr $status + $ret` n=`expr $n + 1` -echo_i "checking CNAME to signed internal delgation is handled ($n)" +echo_i "checking CNAME to signed internal delegation is handled ($n)" ret=0 $RNDCCMD 10.53.0.7 null --- start test$n --- 2>&1 | sed 's/^/ns7 /' | cat_i $DIG $DIGOPTS @10.53.0.7 d.example > dig.out.$n diff --git a/bin/tests/system/dnssec/ns3/sign.sh b/bin/tests/system/dnssec/ns3/sign.sh index db685786a8..cff898af74 100644 --- a/bin/tests/system/dnssec/ns3/sign.sh +++ b/bin/tests/system/dnssec/ns3/sign.sh @@ -472,7 +472,7 @@ $CHECKZONE -D -s full "$zone" $signedfile 2> /dev/null | \ awk '{$2 = "3600"; print}' > $patchedfile # -# Seperate DNSSEC records. +# Separate DNSSEC records. # zone=split-dnssec.example. infile=split-dnssec.example.db.in @@ -486,7 +486,7 @@ echo "\$INCLUDE \"$signedfile\"" >> "$zonefile" "$SIGNER" -P -D -o "$zone" "$zonefile" > /dev/null # -# Seperate DNSSEC records smart signing. +# Separate DNSSEC records smart signing. # zone=split-smart.example. infile=split-smart.example.db.in diff --git a/bin/tests/system/dnssec/signer/general/test7.zone b/bin/tests/system/dnssec/signer/general/test7.zone index e804f81dfe..acf443d9de 100644 --- a/bin/tests/system/dnssec/signer/general/test7.zone +++ b/bin/tests/system/dnssec/signer/general/test7.zone @@ -9,7 +9,7 @@ ; This is a zone which has two DNSKEY records, none of which have ; existing private key files available. The resulting zone should fail -; the consistancy tests. +; the consistency tests. ; $TTL 3600 example.com. IN SOA ns hostmaster 00090000 1200 3600 604800 300 diff --git a/bin/tests/system/dyndb/driver/driver.c b/bin/tests/system/dyndb/driver/driver.c index 22ce9299d1..4d287e0c82 100644 --- a/bin/tests/system/dyndb/driver/driver.c +++ b/bin/tests/system/dyndb/driver/driver.c @@ -139,7 +139,7 @@ dyndb_destroy(void **instp) { /* * Driver version is called when loading the driver to ensure there - * is no API mismatch betwen the driver and the caller. + * is no API mismatch between the driver and the caller. */ int dyndb_version(unsigned int *flags) { diff --git a/bin/tests/system/dyndb/driver/syncptr.c b/bin/tests/system/dyndb/driver/syncptr.c index ca3aaa744d..c142063a44 100644 --- a/bin/tests/system/dyndb/driver/syncptr.c +++ b/bin/tests/system/dyndb/driver/syncptr.c @@ -220,7 +220,7 @@ syncptr(sample_instance_t *inst, dns_name_t *name, dns_rdata_t *addr_rdata, result = syncptr_find_zone(inst, addr_rdata, dns_fixedname_name(&ptr_name), &ptr_zone); if (result != ISC_R_SUCCESS) { - log_error_r("PTR record synchonization skipped: reverse zone " + log_error_r("PTR record synchronization skipped: reverse zone " "is not managed by driver instance '%s'", inst->db_name); goto cleanup; diff --git a/bin/tests/system/ednscompliance/tests.sh b/bin/tests/system/ednscompliance/tests.sh index acede9d63d..186dcd1bfe 100644 --- a/bin/tests/system/ednscompliance/tests.sh +++ b/bin/tests/system/ednscompliance/tests.sh @@ -48,7 +48,7 @@ ret=0 reason= $DIG $DIGOPTS @10.53.0.1 +edns=100 +noednsnegotiation soa $zone > dig.out$n grep "status: BADVERS," dig.out$n > /dev/null || { ret=1; reason="status"; } grep "EDNS: version: 0," dig.out$n > /dev/null || { ret=1; reason="version"; } -grep "IN.SOA." dig.out$n > /dev/null && { ret=1; reaons="soa"; } +grep "IN.SOA." dig.out$n > /dev/null && { ret=1; reasons="soa"; } if [ $ret != 0 ]; then echo_i "failed $reason"; fi status=`expr $status + $ret` diff --git a/bin/tests/system/formerr/formerr.pl b/bin/tests/system/formerr/formerr.pl index f0937e29c7..d90e045283 100644 --- a/bin/tests/system/formerr/formerr.pl +++ b/bin/tests/system/formerr/formerr.pl @@ -11,7 +11,7 @@ # This is a tool for sending an arbitrary packet via UDP or TCP to an # arbitrary address and port. The packet is specified in a file or on -# the standard input, in the form of a series of bytes in hexidecimal. +# the standard input, in the form of a series of bytes in hexadecimal. # Whitespace is ignored, as is anything following a '#' symbol. # # For example, the following input would generate normal query for diff --git a/bin/tests/system/inline/tests.sh b/bin/tests/system/inline/tests.sh index 1910aa5761..a5ed9c679a 100755 --- a/bin/tests/system/inline/tests.sh +++ b/bin/tests/system/inline/tests.sh @@ -152,7 +152,7 @@ if [ $ret != 0 ]; then echo_i "failed"; fi status=`expr $status + $ret` n=`expr $n + 1` -echo_i "checking that update has been transfered and has been signed ($n)" +echo_i "checking that update has been transferred and has been signed ($n)" ret=0 for i in 1 2 3 4 5 6 7 8 9 10 do @@ -230,7 +230,7 @@ if [ $ret != 0 ]; then echo_i "failed"; fi status=`expr $status + $ret` n=`expr $n + 1` -echo_i "checking that update has been transfered and has been signed, noixfr ($n)" +echo_i "checking that update has been transferred and has been signed, noixfr ($n)" ret=0 for i in 1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10 do @@ -737,7 +737,7 @@ if [ $ret != 0 ]; then echo_i "failed"; fi status=`expr $status + $ret` n=`expr $n + 1` -echo_i "checking that the change has not been transfered due to notify ($n)" +echo_i "checking that the change has not been transferred due to notify ($n)" ret=0 for i in 0 1 2 3 4 5 6 7 8 9 do diff --git a/bin/tests/system/kasp/ns3/setup.sh b/bin/tests/system/kasp/ns3/setup.sh index a1c1806839..e1f065dce2 100644 --- a/bin/tests/system/kasp/ns3/setup.sh +++ b/bin/tests/system/kasp/ns3/setup.sh @@ -245,7 +245,7 @@ setup step5.zsk-prepub.autosign KSK=$($KEYGEN -a ECDSAP256SHA256 -f KSK -L 3600 $zone 2> keygen.out.$zone.1) ZSK1=$($KEYGEN -a ECDSAP256SHA256 -L 3600 $zone 2> keygen.out.$zone.2) ZSK2=$($KEYGEN -a ECDSAP256SHA256 -L 3600 $zone 2> keygen.out.$zone.3) -# Substract DNSKEY TTL from all the times (1h). +# Subtract DNSKEY TTL from all the times (1h). TactN="now-962h" TretN="now-242h" TpubN1="now-268h" @@ -358,7 +358,7 @@ setup step5.ksk-doubleksk.autosign KSK1=$($KEYGEN -a ECDSAP256SHA256 -f KSK -L 7200 $zone 2> keygen.out.$zone.1) KSK2=$($KEYGEN -a ECDSAP256SHA256 -f KSK -L 7200 $zone 2> keygen.out.$zone.2) ZSK=$($KEYGEN -a ECDSAP256SHA256 -L 7200 $zone 2> keygen.out.$zone.3) -# Substract DNSKEY TTL from all the times (2h). +# Subtract DNSKEY TTL from all the times (2h). TactN="now-1492h" TretN="now-52h" TpubN1="now-102h" @@ -469,7 +469,7 @@ $SIGNER -S -z -x -s now-1h -e now+30d -o $zone -O full -f $zonefile $infile > si setup step5.csk-roll.autosign CSK1=$($KEYGEN -k csk-roll -l policies/autosign.conf $zone 2> keygen.out.$zone.1) CSK2=$($KEYGEN -k csk-roll -l policies/autosign.conf $zone 2> keygen.out.$zone.1) -# Substract DNSKEY TTL plus zone propagation delay from all the times (2h). +# Subtract DNSKEY TTL plus zone propagation delay from all the times (2h). TactN="now-4470h" TretN="now-6h" TdeaN="now-2h" @@ -520,7 +520,7 @@ $SIGNER -S -z -x -s now-1h -e now+30d -o $zone -O full -f $zonefile $infile > si setup step7.csk-roll.autosign CSK1=$($KEYGEN -k csk-roll -l policies/autosign.conf $zone 2> keygen.out.$zone.1) CSK2=$($KEYGEN -k csk-roll -l policies/autosign.conf $zone 2> keygen.out.$zone.1) -# Substract DNSKEY TTL plus zone propagation delay from all the times (2h). +# Subtract DNSKEY TTL plus zone propagation delay from all the times (2h). TactN="now-5093h" TretN="now-629h" TdeaN="now-625h" @@ -630,7 +630,7 @@ $SIGNER -S -z -x -s now-1h -e now+30d -o $zone -O full -f $zonefile $infile > si setup step5.csk-roll2.autosign CSK1=$($KEYGEN -k csk-roll2 -l policies/autosign.conf $zone 2> keygen.out.$zone.1) CSK2=$($KEYGEN -k csk-roll2 -l policies/autosign.conf $zone 2> keygen.out.$zone.1) -# Substract Dreg + Iret (174h). +# Subtract Dreg + Iret (174h). TactN="now-4676h" TretN="now-212h" TpubN1="now-215h" @@ -650,7 +650,7 @@ setup step6.csk-roll2.autosign CSK1=$($KEYGEN -k csk-roll2 -l policies/autosign.conf $zone 2> keygen.out.$zone.1) CSK2=$($KEYGEN -k csk-roll2 -l policies/autosign.conf $zone 2> keygen.out.$zone.1) -# Substract DNSKEY TTL plus zone propagation delay (2h). +# Subtract DNSKEY TTL plus zone propagation delay (2h). TactN="now-4678h" TretN="now-214h" TdeaN="now-2h" diff --git a/bin/tests/system/masterfile/tests.sh b/bin/tests/system/masterfile/tests.sh index f31e2491bc..aa7340b9c9 100644 --- a/bin/tests/system/masterfile/tests.sh +++ b/bin/tests/system/masterfile/tests.sh @@ -50,7 +50,7 @@ status=`expr $status + $ret` ret=0 n=`expr $n + 1` -echo_i "test owner inheritence after "'$INCLUDE'" ($n)" +echo_i "test owner inheritance after "'$INCLUDE'" ($n)" $CHECKZONE -Dq example zone/inheritownerafterinclude.db > checkzone.out$n $DIFF checkzone.out$n zone/inheritownerafterinclude.good || ret=1 if [ $ret != 0 ]; then echo_i "failed"; fi diff --git a/bin/tests/system/notify/tests.sh b/bin/tests/system/notify/tests.sh index 7188b49e59..d54ab0d7ce 100644 --- a/bin/tests/system/notify/tests.sh +++ b/bin/tests/system/notify/tests.sh @@ -174,7 +174,7 @@ grep "10.0.0.4" dig.out.ns2.test$n > /dev/null || ret=1 status=`expr $ret + $status` n=`expr $n + 1` -echo_i "checking example4 contents have been transfered after restart ($n)" +echo_i "checking example4 contents have been transferred after restart ($n)" ret=0 $DIG $DIGOPTS a.example. @10.53.0.2 a > dig.out.ns2.test$n || ret=1 grep "10.0.0.4" dig.out.ns2.test$n > /dev/null || ret=1 diff --git a/bin/tests/system/nsupdate/tests.sh b/bin/tests/system/nsupdate/tests.sh index 83922eda73..72a282a31c 100755 --- a/bin/tests/system/nsupdate/tests.sh +++ b/bin/tests/system/nsupdate/tests.sh @@ -534,8 +534,8 @@ done ret=0 echo_i "check that 'nsupdate -l' with a missing keyfile reports the missing file" -$NSUPDATE -4 -p ${PORT} -l -k ns1/nonexistant.key 2> nsupdate.out < /dev/null -grep ns1/nonexistant.key nsupdate.out > /dev/null || ret=1 +$NSUPDATE -4 -p ${PORT} -l -k ns1/nonexistent.key 2> nsupdate.out < /dev/null +grep ns1/nonexistent.key nsupdate.out > /dev/null || ret=1 if test $ret -ne 0 then echo_i "failed"; status=1 diff --git a/bin/tests/system/packet.pl b/bin/tests/system/packet.pl index 9cd55d6ce5..4cf1a775c1 100644 --- a/bin/tests/system/packet.pl +++ b/bin/tests/system/packet.pl @@ -11,7 +11,7 @@ # This is a tool for sending an arbitrary packet via UDP or TCP to an # arbitrary address and port. The packet is specified in a file or on -# the standard input, in the form of a series of bytes in hexidecimal. +# the standard input, in the form of a series of bytes in hexadecimal. # Whitespace is ignored, as is anything following a '#' symbol. # # For example, the following input would generate normal query for diff --git a/bin/tests/system/pipelined/ans5/ans.py b/bin/tests/system/pipelined/ans5/ans.py index ffb1d89db8..97e97c7791 100644 --- a/bin/tests/system/pipelined/ans5/ans.py +++ b/bin/tests/system/pipelined/ans5/ans.py @@ -12,7 +12,7 @@ ############################################################################ # # This tool acts as a TCP/UDP proxy and delays all incoming packets by 500 -# miliseconds. +# milliseconds. # # We use it to check pipelining - a client sents 8 questions over a # pipelined connection - that require asking a normal (examplea) and a @@ -108,7 +108,7 @@ class TCPDelayer(threading.Thread): class UDPDelayer(threading.Thread): """ Every incoming UDP packet is put in a queue for DELAY time, then it's sent to (ip, port). We remember the query id to send the - response we get to a proper source, responsed are not delayed. + response we get to a proper source, responses are not delayed. """ def __init__(self, usock, ip, port): threading.Thread.__init__(self) diff --git a/bin/tests/system/qmin/ans2/ans.py b/bin/tests/system/qmin/ans2/ans.py index e0d56af72a..c4e9874537 100755 --- a/bin/tests/system/qmin/ans2/ans.py +++ b/bin/tests/system/qmin/ans2/ans.py @@ -40,7 +40,7 @@ def logquery(type, qname): # too.many.labels.a.b.c.d.e.f.g.h.i.j.k.l.m.n.o.p.q.r.s.t.u.v.w.x.y.z.good. A 192.0.2.2 # it responds properly (with NODATA empty response) to non-empty terminals # -# For slow. it works the same as for good., but each response is delayed by 400 miliseconds +# For slow. it works the same as for good., but each response is delayed by 400 milliseconds # # For bad. it works the same as for good., but returns NXDOMAIN to non-empty terminals # diff --git a/bin/tests/system/qmin/ans3/ans.py b/bin/tests/system/qmin/ans3/ans.py index 839e71a025..e96d3971fa 100755 --- a/bin/tests/system/qmin/ans3/ans.py +++ b/bin/tests/system/qmin/ans3/ans.py @@ -38,7 +38,7 @@ def logquery(type, qname): # icky.ptang.zoop.boing.good. NS a.bit.longer.ns.name.good. # it responds properly (with NODATA empty response) to non-empty terminals # -# For slow. it works the same as for good., but each response is delayed by 400 miliseconds +# For slow. it works the same as for good., but each response is delayed by 400 milliseconds # # For bad. it works the same as for good., but returns NXDOMAIN to non-empty terminals # diff --git a/bin/tests/system/qmin/ans4/ans.py b/bin/tests/system/qmin/ans4/ans.py index 1bbf017a9e..15c256ba32 100755 --- a/bin/tests/system/qmin/ans4/ans.py +++ b/bin/tests/system/qmin/ans4/ans.py @@ -39,7 +39,7 @@ def logquery(type, qname): # more.icky.icky.icky.ptang.zoop.boing.good. A 192.0.2.2 # it responds properly (with NODATA empty response) to non-empty terminals # -# For slow. it works the same as for good., but each response is delayed by 400 miliseconds +# For slow. it works the same as for good., but each response is delayed by 400 milliseconds # # For bad. it works the same as for good., but returns NXDOMAIN to non-empty terminals # diff --git a/bin/tests/system/qmin/tests.sh b/bin/tests/system/qmin/tests.sh index 0ad69c45d2..ecd2bc86e9 100755 --- a/bin/tests/system/qmin/tests.sh +++ b/bin/tests/system/qmin/tests.sh @@ -192,7 +192,7 @@ if [ $ret != 0 ]; then echo_i "failed"; fi status=`expr $status + $ret` n=`expr $n + 1` -echo_i "query for .bad succeds when qname-minimization is in relaxed mode ($n)" +echo_i "query for .bad succeeds when qname-minimization is in relaxed mode ($n)" ret=0 $CLEANQL $RNDCCMD 10.53.0.7 flush @@ -243,7 +243,7 @@ status=`expr $status + $ret` $RNDCCMD 10.53.0.6 flush n=`expr $n + 1` -echo_i "query for .ugly succeds when qname-minimization is in relaxed mode ($n)" +echo_i "query for .ugly succeeds when qname-minimization is in relaxed mode ($n)" ret=0 $CLEANQL $RNDCCMD 10.53.0.7 flush @@ -312,7 +312,7 @@ if [ $ret != 0 ]; then echo_i "failed"; fi status=`expr $status + $ret` n=`expr $n + 1` -echo_i "query for .ip6.arpa succeds and skips on proper boundaries when qname-minimization is on ($n)" +echo_i "query for .ip6.arpa succeeds and skips on proper boundaries when qname-minimization is on ($n)" ret=0 $CLEANQL $RNDCCMD 10.53.0.6 flush diff --git a/bin/tests/system/reclimit/ans7/ans.pl b/bin/tests/system/reclimit/ans7/ans.pl index 50504270ad..c7a29360ee 100644 --- a/bin/tests/system/reclimit/ans7/ans.pl +++ b/bin/tests/system/reclimit/ans7/ans.pl @@ -55,7 +55,7 @@ sub reply_handler { $rcode = "REFUSED"; } - # mark the answer as authoritive (by setting the 'aa' flag + # mark the answer as authoritative (by setting the 'aa' flag return ($rcode, \@ans, \@auth, \@add, { aa => 1 }); } diff --git a/bin/tests/system/resolver/ns6/root.db b/bin/tests/system/resolver/ns6/root.db index 09b23fc38b..4fb0ffe977 100644 --- a/bin/tests/system/resolver/ns6/root.db +++ b/bin/tests/system/resolver/ns6/root.db @@ -22,7 +22,7 @@ server. NS ns7.server. ns7.server. A 10.53.0.7 ; ; These two delegations are strictly not necessary as the test resolver (ns5) -; doesn't have this zone as its root. They are just done for consistancy with +; doesn't have this zone as its root. They are just done for consistency with ; the delegations in ns4/tld. ; no-edns-version.tld. NS ns.no-edns-version.tld. diff --git a/bin/tests/system/resolver/tests.sh b/bin/tests/system/resolver/tests.sh index 5604236f5a..8f9e1369ec 100755 --- a/bin/tests/system/resolver/tests.sh +++ b/bin/tests/system/resolver/tests.sh @@ -287,7 +287,7 @@ n=`expr $n + 1` echo_i "RT21594 regression test NXDOMAIN answers ($n)" ret=0 # Check that resolver accepts the non-authoritative positive answers. -$DIG $DIGOPTS +tcp noexistant @10.53.0.5 txt > dig.ns5.out.${n} || ret=1 +$DIG $DIGOPTS +tcp noexistent @10.53.0.5 txt > dig.ns5.out.${n} || ret=1 grep "status: NXDOMAIN" dig.ns5.out.${n} > /dev/null || ret=1 if [ $ret != 0 ]; then echo_i "failed"; fi status=`expr $status + $ret` @@ -462,7 +462,7 @@ sleep ${interval:-0} $DIG $DIGOPTS @10.53.0.5 fetch.tld txt > dig.out.2.${n} || ret=1 ttl2=`awk '/"A" "short" "ttl"/ { print $2 }' dig.out.2.${n}` sleep 1 -# check that prefetch occured +# check that prefetch occurred $DIG $DIGOPTS @10.53.0.5 fetch.tld txt > dig.out.3.${n} || ret=1 ttl=`awk '/"A" "short" "ttl"/ { print $2 }' dig.out.3.${n}` test ${ttl:-0} -gt ${ttl2:-1} || ret=1 @@ -481,7 +481,7 @@ sleep ${interval:-0} $DIG $DIGOPTS @10.53.0.5 ds.example.net ds > dig.out.2.${n} || ret=1 dsttl2=`awk '$4 == "DS" && $7 == "2" { print $2 }' dig.out.2.${n}` sleep 1 -# check that prefetch occured +# check that prefetch occurred $DIG $DIGOPTS @10.53.0.5 ds.example.net ds +dnssec > dig.out.3.${n} || ret=1 dsttl=`awk '$4 == "DS" && $7 == "2" { print $2 }' dig.out.3.${n}` sigttl=`awk '$4 == "RRSIG" && $5 == "DS" { print $2 }' dig.out.3.${n}` @@ -506,7 +506,7 @@ no_prefetch() { # the previous one. $DIG $DIGOPTS @10.53.0.7 fetch.example.net txt > dig.out.2.${n} || return 1 ttl2=`awk '/"A" "short" "ttl"/ { print $2 }' dig.out.2.${n}` - # check that prefetch has not occured + # check that prefetch has not occurred if [ $ttl2 -ge $tmp_ttl ]; then return 1 fi diff --git a/bin/tests/system/rpz/ckdnsrps.sh b/bin/tests/system/rpz/ckdnsrps.sh index 1e2b4e4ad3..154ba0945f 100644 --- a/bin/tests/system/rpz/ckdnsrps.sh +++ b/bin/tests/system/rpz/ckdnsrps.sh @@ -94,12 +94,12 @@ if [ -n "$AS_NS" ]; then ip-as-ns yes" fi -# write dnsrps setttings for master resolver +# write dnsrps settings for master resolver cat <>$MCONF $MASTER }; EOF -# write dnsrps setttings for resolvers that should not start dnsrpzd +# write dnsrps settings for resolvers that should not start dnsrpzd cat <>$SCONF $CMN dnsrpzd '' }; # do not start dnsrpzd diff --git a/bin/tests/system/rpz/ns5/named.args b/bin/tests/system/rpz/ns5/named.args index 5ff9e54e3e..14371cc8f3 100644 --- a/bin/tests/system/rpz/ns5/named.args +++ b/bin/tests/system/rpz/ns5/named.args @@ -1,2 +1,2 @@ -# run the performace test close to real life +# run the performance test close to real life -c named.conf -D rpz-ns5 -X named.lock -gd3 diff --git a/bin/tests/system/rpz/ns5/tld5.db b/bin/tests/system/rpz/ns5/tld5.db index 82c1a2ebe8..85edd75751 100644 --- a/bin/tests/system/rpz/ns5/tld5.db +++ b/bin/tests/system/rpz/ns5/tld5.db @@ -9,7 +9,7 @@ -; RPZ preformance test +; RPZ performance test $TTL 120 @ SOA . hostmaster.ns.example.tld5. ( 1 3600 1200 604800 60 ) diff --git a/bin/tests/system/rpz/tests.sh b/bin/tests/system/rpz/tests.sh index 8939483dfd..15ae5e245b 100644 --- a/bin/tests/system/rpz/tests.sh +++ b/bin/tests/system/rpz/tests.sh @@ -176,7 +176,7 @@ ck_soa() { done } -# (re)load the reponse policy zones with the rules in the file $TEST_FILE +# (re)load the response policy zones with the rules in the file $TEST_FILE load_db () { if test -n "$TEST_FILE"; then copy_setports $TEST_FILE tmp @@ -586,7 +586,7 @@ EOF rndc_reload ns2 $ns2 bl.tld2 ck_soa 2 bl.tld2 $ns3 nochange a7-1.tld2 # 19 PASSTHRU - # ensure that a clock tick has occured so that named will do the reload + # ensure that a clock tick has occurred so that named will do the reload sleep 1 cp ns2/blv3.tld2.db.in ns2/bl.tld2.db rndc_reload ns2 $ns2 bl.tld2 @@ -887,7 +887,7 @@ EOF grep "fast-expire/IN: response-policy zone expired" ns3/named.run > /dev/null || setret "failed" fi - # RPZ 'CNAME *.' (NODATA) trumps DNS64. Test against various DNS64 senarios. + # RPZ 'CNAME *.' (NODATA) trumps DNS64. Test against various DNS64 scenarios. for label in a-only no-a-no-aaaa a-plus-aaaa do for type in AAAA A diff --git a/bin/tests/system/serve-stale/ans2/ans.pl b/bin/tests/system/serve-stale/ans2/ans.pl index bb2f2f3f2b..9410ab7141 100644 --- a/bin/tests/system/serve-stale/ans2/ans.pl +++ b/bin/tests/system/serve-stale/ans2/ans.pl @@ -145,7 +145,7 @@ sub reply_handler { $rcode = "NXDOMAIN"; } - # mark the answer as authoritive (by setting the 'aa' flag + # mark the answer as authoritative (by setting the 'aa' flag return ($rcode, \@ans, \@auth, \@add, { aa => 1 }); } diff --git a/bin/tests/system/smartsign/tests.sh b/bin/tests/system/smartsign/tests.sh index 534aa117a9..7630112dbd 100644 --- a/bin/tests/system/smartsign/tests.sh +++ b/bin/tests/system/smartsign/tests.sh @@ -168,7 +168,7 @@ grep "key id = $czinactive\$" $cfile.signed > /dev/null || { # should not be there, hence the && grep "key id = $ckprerevoke\$" $cfile.signed > /dev/null && { ret=1 - echo_i "found unexpect child pre-revoke ZSK id = $ckprerevoke" + echo_i "found unexpected child pre-revoke ZSK id = $ckprerevoke" } grep "key id = $czgenerated\$" $cfile.signed > /dev/null && { ret=1 diff --git a/bin/tests/system/staticstub/tests.sh b/bin/tests/system/staticstub/tests.sh index 5cc9dfccbc..368d472f4c 100755 --- a/bin/tests/system/staticstub/tests.sh +++ b/bin/tests/system/staticstub/tests.sh @@ -190,7 +190,7 @@ grep "3rd sub test data" dig.out.ns2.test$n > /dev/null || ret=1 if [ $ret != 0 ]; then echo_i "failed"; fi status=`expr $status + $ret` -# reload with a different name server: exisitng zone shouldn't be reused. +# reload with a different name server: existing zone shouldn't be reused. n=`expr $n + 1` echo_i "checking server reload with a different static-stub config ($n)" ret=0 diff --git a/bin/tests/system/wildcard/ns1/named.conf.in b/bin/tests/system/wildcard/ns1/named.conf.in index bfe8251c40..95eba8a9e4 100644 --- a/bin/tests/system/wildcard/ns1/named.conf.in +++ b/bin/tests/system/wildcard/ns1/named.conf.in @@ -28,8 +28,8 @@ zone "nsec" { type master; file "nsec.db.signed"; }; zone "private.nsec" { type master; file "private.nsec.db.signed"; }; /* - * The contents of nsec3 and private.nsec3 are specially choosen to - * have seperate NSEC3 records for the "no qname proof" and the + * The contents of nsec3 and private.nsec3 are specially chosen to + * have separate NSEC3 records for the "no qname proof" and the * "closest encloser proof". */ zone "nsec3" { type master; file "nsec3.db.signed"; }; diff --git a/bin/tests/system/xfer/tests.sh b/bin/tests/system/xfer/tests.sh index b26543e9a1..939c01490e 100755 --- a/bin/tests/system/xfer/tests.sh +++ b/bin/tests/system/xfer/tests.sh @@ -33,7 +33,7 @@ status=$((status+tmp)) n=$((n+1)) echo_i "testing basic zone transfer functionality (from secondary) ($n)" # -# Spin to allow the zone to tranfer. +# Spin to allow the zone to transfer. # for i in 1 2 3 4 5 do @@ -55,7 +55,7 @@ $DIG $DIGOPTS tsigzone. @10.53.0.2 axfr -y tsigzone.:1234abcd8765 > dig.out.ns2. grep "^;" dig.out.ns2.test$n | cat_i # -# Spin to allow the zone to tranfer. +# Spin to allow the zone to transfer. # for i in 1 2 3 4 5 do diff --git a/bin/tools/named-rrchecker.c b/bin/tools/named-rrchecker.c index d82a17049c..bc564d1250 100644 --- a/bin/tools/named-rrchecker.c +++ b/bin/tools/named-rrchecker.c @@ -40,7 +40,7 @@ usage(void) { fprintf(stderr, "usage: named-rrchecker [-o origin] [-hpCPTu]\n"); fprintf(stderr, "\t-h: print this help message\n"); fprintf(stderr, "\t-o origin: set origin to be used when " - "interpeting the record\n"); + "interpreting the record\n"); fprintf(stderr, "\t-p: print the record in canonical format\n"); fprintf(stderr, "\t-C: list the supported class names\n"); fprintf(stderr, "\t-P: list the supported private type names\n"); diff --git a/bin/win32/BINDInstall/BINDInstall.rc b/bin/win32/BINDInstall/BINDInstall.rc index 96fe44fd6a..5c7dd80d4a 100644 --- a/bin/win32/BINDInstall/BINDInstall.rc +++ b/bin/win32/BINDInstall/BINDInstall.rc @@ -277,12 +277,12 @@ BEGIN IDS_BAD_PRIVILEGES "This user cannot acquire the privileges necessary to install BIND. Please ensure you are logged on as a member of the Administrators group." IDS_ERR_CREATE_DIR "An error occurred while creating directory %s\n(%s)" IDS_VERSION "Version %s" - IDS_ERR_CREATE_KEY "An error occured while creating registry keys\n(%s)" + IDS_ERR_CREATE_KEY "An error occurred while creating registry keys\n(%s)" END STRINGTABLE BEGIN - IDS_ERR_SET_VALUE "An error occured while setting registry key values\n(%s)" + IDS_ERR_SET_VALUE "An error occurred while setting registry key values\n(%s)" IDS_NO_VERSION "Version Unknown" IDS_EXISTING_NEWER "%s\nThe existing version of this file is newer than the version being installed.\nDo you wish to overwrite the existing file?" IDS_FILE_BAD "Could not retrieve version info for file %s. Do you wish to continue?\n(Continuing may overwrite a newer version of the file) " diff --git a/bin/win32/BINDInstall/BINDInstallDlg.cpp b/bin/win32/BINDInstall/BINDInstallDlg.cpp index 0587c9669b..fb7f86368c 100644 --- a/bin/win32/BINDInstall/BINDInstallDlg.cpp +++ b/bin/win32/BINDInstall/BINDInstallDlg.cpp @@ -644,7 +644,7 @@ void CBINDInstallDlg::OnInstall() { } catch(DWORD dw) { CString msg; - msg.Format("A fatal error occured\n(%s)", GetErrMessage(dw)); + msg.Format("A fatal error occurred\n(%s)", GetErrMessage(dw)); MessageBox(msg); SetCurrent(IDS_CLEANUP); FailedInstall(); diff --git a/configure b/configure index 57704c56df..79ae1f6aa4 100755 --- a/configure +++ b/configure @@ -23049,7 +23049,7 @@ $as_echo "not found" >&6; } $as_echo "" >&6; } for dd in $bdbdirs do - # Skip nonexistant directories + # Skip nonexistent directories if test ! -d "$dd" then continue diff --git a/contrib/dlz/bin/dlzbdb/dlzbdb.c b/contrib/dlz/bin/dlzbdb/dlzbdb.c index 6ce3c40890..4dc9995409 100644 --- a/contrib/dlz/bin/dlzbdb/dlzbdb.c +++ b/contrib/dlz/bin/dlzbdb/dlzbdb.c @@ -160,7 +160,7 @@ typedef struct bdb_instance { #define bulk 4 /* bulk load data */ /*% - * quit macro is used instead of exit. quit always trys to close the lexer + * quit macro is used instead of exit. quit always tries to close the lexer * and the BDB database before exiting. */ @@ -199,7 +199,7 @@ typedef struct bdb_instance { } /*% - * checkInvalidParam is used to only allow paramters which make sense for + * checkInvalidParam is used to only allow parameters which make sense for * the operation selected. I.E. passing the key parameter makes no sense * for the add operation, and thus it isn't allowed. */ @@ -214,7 +214,7 @@ typedef struct bdb_instance { } /*% - * checkInvalidOption is used to only allow paramters which make sense for + * checkInvalidOption is used to only allow parameters which make sense for * the operation selected - but checks boolean options. * I.E. passing the "b" bare_list parameter makes no sense for the add * operation, and thus it isn't allowed. @@ -772,7 +772,7 @@ operation_add(void) { checkInvalidParam(c_ip, "i", "for add operation"); checkInvalidOption(list_everything, true, "e", "for add operation"); - /* if open lexer fails it alread prints error messages. */ + /* if open lexer fails it already prints error messages. */ if (open_lexer() != ISC_R_SUCCESS) { quit(4); } diff --git a/contrib/dlz/config.dlz.in b/contrib/dlz/config.dlz.in index 5ddde180b7..f769cf1f70 100644 --- a/contrib/dlz/config.dlz.in +++ b/contrib/dlz/config.dlz.in @@ -251,7 +251,7 @@ case "$use_dlz_bdb" in AC_MSG_RESULT( ) for dd in $bdbdirs do - # Skip nonexistant directories + # Skip nonexistent directories if test ! -d "$dd" then continue diff --git a/contrib/dlz/drivers/dlz_bdb_driver.c b/contrib/dlz/drivers/dlz_bdb_driver.c index 4524f47a1a..0ae6de250f 100644 --- a/contrib/dlz/drivers/dlz_bdb_driver.c +++ b/contrib/dlz/drivers/dlz_bdb_driver.c @@ -113,7 +113,7 @@ bdb_parse_data(char *in, parsed_data_t *pd) { char *lastchar = (char *)&tmp[strlen(tmp) + 1]; /*% - * String should be formated as: + * String should be formatted as: * zone(a space)host(a space)ttl(a space)type(a space)remaining data * examples: * example.com www 10 A 127.0.0.1 @@ -193,7 +193,7 @@ bdb_parse_data(char *in, parsed_data_t *pd) { if (*endp != '\0' || pd->ttl < 0) { isc_log_write(dns_lctx, DNS_LOGCATEGORY_DATABASE, DNS_LOGMODULE_DLZ, ISC_LOG_ERROR, - "BDB driver ttl must be a postive number"); + "BDB driver ttl must be a positive number"); return (ISC_R_FAILURE); } diff --git a/contrib/dlz/drivers/dlz_bdbhpt_driver.c b/contrib/dlz/drivers/dlz_bdbhpt_driver.c index 9fbe174b3a..80f4330b67 100644 --- a/contrib/dlz/drivers/dlz_bdbhpt_driver.c +++ b/contrib/dlz/drivers/dlz_bdbhpt_driver.c @@ -130,7 +130,7 @@ bdbhpt_parse_data(char *in, bdbhpt_parsed_data_t *pd) { char *lastchar = (char *)&tmp[strlen(tmp)]; /*% - * String should be formated as: + * String should be formatted as: * replication_id * (a space) * host_name @@ -220,7 +220,7 @@ bdbhpt_parse_data(char *in, bdbhpt_parsed_data_t *pd) { if (*endp != '\0' || pd->ttl < 0) { isc_log_write(dns_lctx, DNS_LOGCATEGORY_DATABASE, DNS_LOGMODULE_DLZ, ISC_LOG_ERROR, - "bdbhpt driver ttl must be a postive number"); + "bdbhpt driver ttl must be a positive number"); return (ISC_R_FAILURE); } @@ -506,7 +506,7 @@ bdbhpt_findzone(void *driverarg, void *dbdata, const char *name, /* * reverse string to take advantage of BDB locality of reference - * if we need futher lookups because the zone doesn't match the + * if we need further lookups because the zone doesn't match the * first time. */ key.data = bdbhpt_strrev(key.data); @@ -704,7 +704,7 @@ bdbhpt_create(const char *dlzname, unsigned int argc, char *argv[], break; /* * Private mode. No inter-process communication & no locking. - * Lowest saftey - highest speed. + * Lowest safety - highest speed. */ case 'P': case 'p': diff --git a/contrib/dlz/drivers/dlz_filesystem_driver.c b/contrib/dlz/drivers/dlz_filesystem_driver.c index ec80a704cb..5afb1b0b42 100644 --- a/contrib/dlz/drivers/dlz_filesystem_driver.c +++ b/contrib/dlz/drivers/dlz_filesystem_driver.c @@ -543,7 +543,7 @@ process_dir(isc_dir_t *dir, void *passback, config_data_t *cd, isc_log_write(dns_lctx, DNS_LOGCATEGORY_DATABASE, DNS_LOGMODULE_DLZ, ISC_LOG_ERROR, "Filesystem driver " - "ttl must be a postive number"); + "ttl must be a positive number"); } /* pass data back to Bind */ @@ -904,7 +904,7 @@ fs_create(const char *dlzname, unsigned int argc, char *argv[], void *driverarg, isc_log_write(dns_lctx, DNS_LOGCATEGORY_DATABASE, DNS_LOGMODULE_DLZ, ISC_LOG_ERROR, "Directory split count must be zero (0) " - "or a postive number"); + "or a positive number"); } /* get and store our separator character */ diff --git a/contrib/dlz/drivers/dlz_ldap_driver.c b/contrib/dlz/drivers/dlz_ldap_driver.c index 9f37baa5bd..ead2366805 100644 --- a/contrib/dlz/drivers/dlz_ldap_driver.c +++ b/contrib/dlz/drivers/dlz_ldap_driver.c @@ -85,7 +85,7 @@ static dns_sdlzimplementation_t *dlz_ldap = NULL; #define LOOKUP 5 /*% - * Structure to hold everthing needed by this "instance" of the LDAP + * Structure to hold everything needed by this "instance" of the LDAP * driver remember, the driver code is only loaded once, but may have * many separate instances. */ @@ -382,7 +382,7 @@ ldap_process_results(LDAP *dbc, LDAPMessage *msg, char **attrs, void *ptr, /* skip empty attributes. */ if (vals == NULL || vals[0] == NULL) { - /* increment attibute pointer */ + /* increment attribute pointer */ attribute = attrs[++i]; /* start loop over */ continue; @@ -407,7 +407,7 @@ ldap_process_results(LDAP *dbc, LDAPMessage *msg, char **attrs, void *ptr, DNS_LOGMODULE_DLZ, ISC_LOG_ERROR, "LDAP driver ttl must " - "be a postive number"); + "be a positive number"); goto cleanup; } break; @@ -443,7 +443,7 @@ ldap_process_results(LDAP *dbc, LDAPMessage *msg, char **attrs, void *ptr, ldap_value_free(vals); vals = NULL; - /* increment attibute pointer */ + /* increment attribute pointer */ attribute = attrs[++i]; } /* end while (attribute != NULL) */ @@ -701,7 +701,7 @@ ldap_get_results(const char *zone, const char *record, const char *client, } } - /* perform ldap search syncronously */ + /* perform ldap search synchronously */ ldap_result = ldap_search_s((LDAP *)dbi->dbconn, ldap_url->lud_dn, ldap_url->lud_scope, ldap_url->lud_filter, diff --git a/contrib/dlz/drivers/dlz_mysql_driver.c b/contrib/dlz/drivers/dlz_mysql_driver.c index 7563398450..f000aab8bd 100644 --- a/contrib/dlz/drivers/dlz_mysql_driver.c +++ b/contrib/dlz/drivers/dlz_mysql_driver.c @@ -398,7 +398,7 @@ mysql_process_rs(dns_sdlzlookup_t *lookup, MYSQL_RES *rs) { DNS_LOGCATEGORY_DATABASE, DNS_LOGMODULE_DLZ, ISC_LOG_ERROR, "mysql driver ttl must be " - "a postive number"); + "a positive number"); } result = dns_sdlz_putrr(lookup, safeGet(row[1]), ttl, safeGet(row[2])); @@ -435,7 +435,7 @@ mysql_process_rs(dns_sdlzlookup_t *lookup, MYSQL_RES *rs) { DNS_LOGCATEGORY_DATABASE, DNS_LOGMODULE_DLZ, ISC_LOG_ERROR, "mysql driver ttl must be " - "a postive number"); + "a positive number"); } /* ok, now tell Bind about it. */ result = dns_sdlz_putrr(lookup, safeGet(row[1]), ttl, @@ -618,7 +618,7 @@ mysql_allnodes(const char *zone, void *driverarg, void *dbdata, isc_log_write(dns_lctx, DNS_LOGCATEGORY_DATABASE, DNS_LOGMODULE_DLZ, ISC_LOG_ERROR, "mysql driver ttl must be " - "a postive number"); + "a positive number"); } if (fields == 4) { /* tell Bind about it. */ @@ -638,7 +638,7 @@ mysql_allnodes(const char *zone, void *driverarg, void *dbdata, tmpString = isc_mem_allocate(named_g_mctx, len + 1); /* copy this field to tmpString */ strcpy(tmpString, safeGet(row[3])); - /* concatonate the rest, with spaces between */ + /* concatenate the rest, with spaces between */ for (j = 4; j < fields; j++) { strcat(tmpString, " "); strcat(tmpString, safeGet(row[j])); @@ -784,7 +784,7 @@ mysql_create(const char *dlzname, unsigned int argc, char *argv[], return (ISC_R_FAILURE); } - /* parse connection string and get paramters. */ + /* parse connection string and get parameters. */ /* get db name - required */ dbname = getParameterValue(argv[1], "dbname="); diff --git a/contrib/dlz/drivers/dlz_odbc_driver.c b/contrib/dlz/drivers/dlz_odbc_driver.c index c7b4e668c7..d251721b3f 100644 --- a/contrib/dlz/drivers/dlz_odbc_driver.c +++ b/contrib/dlz/drivers/dlz_odbc_driver.c @@ -89,7 +89,7 @@ typedef struct { } odbc_db_t; /* - * Structure to hold everthing needed by this "instance" of the odbc driver + * Structure to hold everything needed by this "instance" of the odbc driver * remember, the driver code is only loaded once, but may have many separate * instances */ @@ -119,7 +119,7 @@ safeLen(void *a) { return (strlen((char *)a)); } -/*% propertly cleans up an odbc_instance_t */ +/*% properly cleans up an odbc_instance_t */ static void destroy_odbc_instance(odbc_instance_t *odbc_inst) { @@ -402,9 +402,9 @@ odbc_makesafe(char *to, const char *from, size_t length) { * database instance (DBI). It will then run the query and hopefully * obtain a result set. The data base instance that is used is returned * to the caller so they can get the data from the result set from it. - * If successfull, it will be the responsibility of the caller to close + * If successful, it will be the responsibility of the caller to close * the cursor, and unlock the mutex of the DBI when they are done with it. - * If not successfull, this function will perform all the cleanup. + * If not successful, this function will perform all the cleanup. */ static isc_result_t @@ -593,7 +593,7 @@ odbc_get_resultset(const char *zone, const char *record, const char *client, if (result != ISC_R_SUCCESS) { break; } - /* incase this is the last time through the loop */ + /* in case this is the last time through the loop */ result = ISC_R_FAILURE; } else { result = ISC_R_SUCCESS; @@ -638,7 +638,7 @@ cleanup: /* it's always good to cleanup after yourself */ /*% * Gets a single field from the ODBC statement. The memory for the * returned data is dynamically allocated. If this method is successful - * it is the reponsibility of the caller to free the memory using + * it is the responsibility of the caller to free the memory using * isc_mem_free(named_g_mctx, *ptr); */ @@ -667,7 +667,7 @@ odbc_getField(SQLHSTMT *stmnt, SQLSMALLINT field, char **data) { /*% * Gets multiple fields from the ODBC statement. The memory for the * returned data is dynamically allocated. If this method is successful - * it is the reponsibility of the caller to free the memory using + * it is the responsibility of the caller to free the memory using * isc_mem_free(named_g_mctx, *ptr); */ @@ -820,7 +820,7 @@ odbc_process_rs(dns_sdlzlookup_t *lookup, dbinstance_t *dbi) { DNS_LOGMODULE_DLZ, ISC_LOG_ERROR, "Odbc driver ttl must " - "be a postive number"); + "be a positive number"); result = ISC_R_FAILURE; } else { /* @@ -1043,7 +1043,7 @@ odbc_allnodes(const char *zone, void *driverarg, void *dbdata, DNS_LOGCATEGORY_DATABASE, DNS_LOGMODULE_DLZ, ISC_LOG_ERROR, "Odbc driver ttl must be " - "a postive number"); + "a positive number"); result = ISC_R_FAILURE; } else { /* successful converting TTL, tell Bind */ @@ -1206,7 +1206,7 @@ odbc_create(const char *dlzname, unsigned int argc, char *argv[], odbc_inst = isc_mem_get(named_g_mctx, sizeof(odbc_instance_t)); memset(odbc_inst, 0, sizeof(odbc_instance_t)); - /* parse connection string and get paramters. */ + /* parse connection string and get parameters. */ /* get odbc database dsn - required */ odbc_inst->dsn = (SQLCHAR *)getParameterValue(argv[2], "dsn="); diff --git a/contrib/dlz/drivers/dlz_postgres_driver.c b/contrib/dlz/drivers/dlz_postgres_driver.c index f7d02a9d70..8a71288953 100644 --- a/contrib/dlz/drivers/dlz_postgres_driver.c +++ b/contrib/dlz/drivers/dlz_postgres_driver.c @@ -522,7 +522,7 @@ postgres_get_resultset(const char *zone, const char *record, const char *client, break; } } - /* result set ok, break outter loop */ + /* result set ok, break outer loop */ if (PQresultStatus(*rs) == PGRES_TUPLES_OK) { #if 0 /* temporary logging message */ @@ -682,7 +682,7 @@ postgres_process_rs(dns_sdlzlookup_t *lookup, PGresult *rs) { DNS_LOGCATEGORY_DATABASE, DNS_LOGMODULE_DLZ, ISC_LOG_ERROR, "Postgres driver ttl must be " - "a postive number"); + "a positive number"); } /* ok, now tell Bind about it. */ result = dns_sdlz_putrr(lookup, PQgetvalue(rs, i, 1), @@ -870,7 +870,7 @@ postgres_allnodes(const char *zone, void *driverarg, void *dbdata, isc_log_write(dns_lctx, DNS_LOGCATEGORY_DATABASE, DNS_LOGMODULE_DLZ, ISC_LOG_ERROR, "Postgres driver ttl must be " - "a postive number"); + "a positive number"); } if (fields == 4) { /* tell Bind about it. */ @@ -891,7 +891,7 @@ postgres_allnodes(const char *zone, void *driverarg, void *dbdata, tmpString = isc_mem_allocate(named_g_mctx, len + 1); /* copy this field to tmpString */ strcpy(tmpString, PQgetvalue(rs, i, 3)); - /* concatonate the rest, with spaces between */ + /* concatenate the rest, with spaces between */ for (j = 4; j < fields; j++) { strcat(tmpString, " "); strcat(tmpString, PQgetvalue(rs, i, j)); diff --git a/contrib/dlz/drivers/include/dlz/sdlz_helper.h b/contrib/dlz/drivers/include/dlz/sdlz_helper.h index c6a9b04d0c..55ac8c70f0 100644 --- a/contrib/dlz/drivers/include/dlz/sdlz_helper.h +++ b/contrib/dlz/drivers/include/dlz/sdlz_helper.h @@ -108,7 +108,7 @@ sdlzh_destroy_sqldbinstance(dbinstance_t *dbi); char * sdlzh_get_parameter_value(isc_mem_t *mctx, const char *input, const char *key); -/* Compatability with existing DLZ drivers */ +/* Compatibility with existing DLZ drivers */ #define build_querystring sdlzh_build_querystring #define build_sqldbinstance sdlzh_build_sqldbinstance diff --git a/contrib/dlz/example/README b/contrib/dlz/example/README index 3c6ba8cfad..f8667ac5d7 100644 --- a/contrib/dlz/example/README +++ b/contrib/dlz/example/README @@ -1,6 +1,6 @@ OVERVIEW: -DLZ (Dynamically Loadable Zones) is an extention to BIND 9 that +DLZ (Dynamically Loadable Zones) is an extension to BIND 9 that allows zone data to be retrieved directly from an external database. There is no required format or schema. DLZ drivers exist for several different database backends including PostgreSQL, MySQL, and LDAP and @@ -136,7 +136,7 @@ The DLZ dlopen driver provides a set of callback functions: - isc_result_t writeable_zone(dns_view_t *view, const char *zone_name); - Allows the DLZ module to inform named that a given zone can recieve + Allows the DLZ module to inform named that a given zone can receive DDNS updates. (Note: This is not currently supported for DLZ databases that are configured as 'search no;') diff --git a/contrib/dlz/example/named.conf b/contrib/dlz/example/named.conf index bc68beebc6..c10fb57fdb 100644 --- a/contrib/dlz/example/named.conf +++ b/contrib/dlz/example/named.conf @@ -29,7 +29,7 @@ * * Additionally, a query for 'source-addr.example.nil/TXT' is always * answered with the source address of the query. This is used to - * demonstrate the code that retreives client information from the + * demonstrate the code that retrieves client information from the * caller. * * To use this driver, "dlz_external.so" must be moved into the working diff --git a/contrib/dlz/modules/bdbhpt/dlz_bdbhpt_dynamic.c b/contrib/dlz/modules/bdbhpt/dlz_bdbhpt_dynamic.c index d3c61591c7..bffd22b218 100644 --- a/contrib/dlz/modules/bdbhpt/dlz_bdbhpt_dynamic.c +++ b/contrib/dlz/modules/bdbhpt/dlz_bdbhpt_dynamic.c @@ -510,7 +510,7 @@ dlz_findzonedb(void *dbdata, const char *name, dns_clientinfomethods_t *methods, /* * reverse string to take advantage of BDB locality of reference - * if we need futher lookups because the zone doesn't match the + * if we need further lookups because the zone doesn't match the * first time. */ key.data = bdbhpt_strrev(key.data); @@ -733,7 +733,7 @@ dlz_create(const char *dlzname, unsigned int argc, char *argv[], void **dbdata, /* * Private mode. No inter-process communication & no locking. - * Lowest saftey - highest speed. + * Lowest safety - highest speed. */ case 'P': case 'p': diff --git a/contrib/dlz/modules/bdbhpt/testing/bdbhpt-populate.pl b/contrib/dlz/modules/bdbhpt/testing/bdbhpt-populate.pl index 909976a2c8..ec210c318c 100755 --- a/contrib/dlz/modules/bdbhpt/testing/bdbhpt-populate.pl +++ b/contrib/dlz/modules/bdbhpt/testing/bdbhpt-populate.pl @@ -28,7 +28,7 @@ if (!defined $input_file || $input_file eq '') { my $zone_list = $opt->{zones}; if (!defined $zone_list || $zone_list eq '') { - usage('Please specify a space seperated list of zones'); + usage('Please specify a space separated list of zones'); exit 1; } @@ -128,7 +128,7 @@ sub usage { print STDERR "usage: $0 --bdb= --input= --zones=\n\n"; print STDERR "\tbdb-file: The output BerkeleyDB file you wish to create and use with bdbhpt-dynamic\n\n"; print STDERR "\tinput-file: The input text-file containing records to populate within your zones\n\n"; - print STDERR "\tzone-list: The space-seperated list of zones you wish to create\n\n"; + print STDERR "\tzone-list: The space-separated list of zones you wish to create\n\n"; } sub populate_records { diff --git a/contrib/dlz/modules/filesystem/dlz_filesystem_dynamic.c b/contrib/dlz/modules/filesystem/dlz_filesystem_dynamic.c index b0029fcced..c6be12165f 100644 --- a/contrib/dlz/modules/filesystem/dlz_filesystem_dynamic.c +++ b/contrib/dlz/modules/filesystem/dlz_filesystem_dynamic.c @@ -553,7 +553,7 @@ process_dir(dir_t *dir, void *passback, config_data_t *cd, dlist_t *dir_list, ttl = strtol(ttlStr, &endp, 10); if (*endp != '\0' || ttl < 0) { cd->log(ISC_LOG_ERROR, "Filesystem driver " - "ttl must be a postive number"); + "ttl must be a positive number"); } /* pass data back to Bind */ @@ -931,7 +931,7 @@ dlz_create(const char *dlzname, unsigned int argc, char *argv[], void **dbdata, cd->splitcnt = strtol(argv[4], &endp, 10); if (*endp != '\0' || cd->splitcnt < 0) { cd->log(ISC_LOG_ERROR, "Directory split count must be zero (0) " - "or a postive number"); + "or a positive number"); } /* get and store our separator character */ diff --git a/contrib/dlz/modules/ldap/dlz_ldap_dynamic.c b/contrib/dlz/modules/ldap/dlz_ldap_dynamic.c index c854ea1c6a..543a95d7a8 100644 --- a/contrib/dlz/modules/ldap/dlz_ldap_dynamic.c +++ b/contrib/dlz/modules/ldap/dlz_ldap_dynamic.c @@ -79,7 +79,7 @@ #define LOOKUP 5 /*% - * Structure to hold everthing needed by this "instance" of the LDAP + * Structure to hold everything needed by this "instance" of the LDAP * driver remember, the driver code is only loaded once, but may have * many separate instances. */ @@ -388,7 +388,7 @@ ldap_process_results(ldap_instance_t *db, LDAP *dbc, LDAPMessage *msg, /* skip empty attributes. */ if (vals == NULL || vals[0] == NULL) { - /* increment attibute pointer */ + /* increment attribute pointer */ attribute = attrs[++i]; /* start loop over */ continue; @@ -410,7 +410,7 @@ ldap_process_results(ldap_instance_t *db, LDAP *dbc, LDAPMessage *msg, if (*endp != '\0' || ttl < 0) { db->log(ISC_LOG_ERROR, "LDAP driver " "ttl must " - "be a postive " + "be a positive " "number"); goto cleanup; } @@ -446,7 +446,7 @@ ldap_process_results(ldap_instance_t *db, LDAP *dbc, LDAPMessage *msg, ldap_value_free(vals); vals = NULL; - /* increment attibute pointer */ + /* increment attribute pointer */ attribute = attrs[++i]; } @@ -707,7 +707,7 @@ ldap_get_results(const char *zone, const char *record, const char *client, } } - /* perform ldap search syncronously */ + /* perform ldap search synchronously */ ldap_result = ldap_search_s((LDAP *)dbi->dbconn, ldap_url->lud_dn, ldap_url->lud_scope, ldap_url->lud_filter, diff --git a/contrib/dlz/modules/mysql/dlz_mysql_dynamic.c b/contrib/dlz/modules/mysql/dlz_mysql_dynamic.c index f8762cf406..60f39c0880 100644 --- a/contrib/dlz/modules/mysql/dlz_mysql_dynamic.c +++ b/contrib/dlz/modules/mysql/dlz_mysql_dynamic.c @@ -69,7 +69,7 @@ #define safeGet(in) in == NULL ? "" : in /*% - * Structure to hold everthing needed by this "instance" of the MySQL + * Structure to hold everything needed by this "instance" of the MySQL * module remember, the module code is only loaded once, but may have * many separate instances. */ @@ -479,7 +479,7 @@ mysql_process_rs(mysql_instance_t *db, dns_sdlzlookup_t *lookup, if (*endp != '\0' || ttl < 0) { db->log(ISC_LOG_ERROR, "MySQL module ttl must " "be " - "a postive number"); + "a positive number"); return (ISC_R_FAILURE); } @@ -519,7 +519,7 @@ mysql_process_rs(mysql_instance_t *db, dns_sdlzlookup_t *lookup, if (*endp != '\0' || ttl < 0) { db->log(ISC_LOG_ERROR, "MySQL module ttl must " "be " - "a postive number"); + "a positive number"); free(tmpString); return (ISC_R_FAILURE); } @@ -676,7 +676,7 @@ dlz_allnodes(const char *zone, void *dbdata, dns_sdlzallnodes_t *allnodes) { ttl = strtol(safeGet(row[0]), &endp, 10); if (*endp != '\0' || ttl < 0) { db->log(ISC_LOG_ERROR, "MySQL module ttl must be " - "a postive number"); + "a positive number"); result = ISC_R_FAILURE; goto cleanup; } diff --git a/contrib/dlz/modules/sqlite3/dlz_sqlite3_dynamic.c b/contrib/dlz/modules/sqlite3/dlz_sqlite3_dynamic.c index 220dc07f59..a60cc3071f 100644 --- a/contrib/dlz/modules/sqlite3/dlz_sqlite3_dynamic.c +++ b/contrib/dlz/modules/sqlite3/dlz_sqlite3_dynamic.c @@ -69,7 +69,7 @@ #define safeGet(in) in == NULL ? "" : in /*% - * Structure to hold everthing needed by this "instance" of the SQLite3 + * Structure to hold everything needed by this "instance" of the SQLite3 * module remember, the module code is only loaded once, but may have * many separate instances. */ @@ -553,7 +553,7 @@ sqlite3_process_rs(sqlite3_instance_t *db, dns_sdlzlookup_t *lookup, if (*endp != '\0' || ttl < 0) { db->log(ISC_LOG_ERROR, "SQLite3 module: TTL " "must be " - "a postive number"); + "a positive number"); return (ISC_R_FAILURE); } @@ -593,7 +593,7 @@ sqlite3_process_rs(sqlite3_instance_t *db, dns_sdlzlookup_t *lookup, if (*endp != '\0' || ttl < 0) { db->log(ISC_LOG_ERROR, "SQLite3 module: TTL " "must be " - "a postive number"); + "a positive number"); free(tmpString); return (ISC_R_FAILURE); } @@ -752,7 +752,7 @@ dlz_allnodes(const char *zone, void *dbdata, dns_sdlzallnodes_t *allnodes) { ttl = strtol(safeGet(row[0]), &endp, 10); if (*endp != '\0' || ttl < 0) { db->log(ISC_LOG_ERROR, "SQLite3 module: TTL must be " - "a postive number"); + "a positive number"); result = ISC_R_FAILURE; goto cleanup; } diff --git a/contrib/dlz/modules/wildcard/README b/contrib/dlz/modules/wildcard/README index b19009bed3..ffc2e684b9 100644 --- a/contrib/dlz/modules/wildcard/README +++ b/contrib/dlz/modules/wildcard/README @@ -20,7 +20,7 @@ as "thisexample.com", "exampleofthat.com", or "anexampleoftheotherthing.com". * 86400 A 192.0.0.100"; }; -For any zone name matchin the wildcard, it would return the data from +For any zone name matching the wildcard, it would return the data from the template. "$zone$" is replaced with zone name: i.e., the shortest possible string of labels in the query name that matches the wildcard. "$record$" is replaced with the remainder of the query name. In the diff --git a/doc/arm/Bv9ARM-book.xml b/doc/arm/Bv9ARM-book.xml index ba3df88dfd..135b32086d 100644 --- a/doc/arm/Bv9ARM-book.xml +++ b/doc/arm/Bv9ARM-book.xml @@ -415,7 +415,7 @@ checking whether the SERIAL field has been updated; if so, a new transfer request is initiated. The timing of these refresh queries is controlled by the SOA REFRESH and RETRY - fields, but can be overrridden with the + fields, but can be overridden with the max-refresh-time, min-refresh-time, max-retry-time, and @@ -10957,7 +10957,7 @@ example.com CNAME rpz-tcp-only. If the anchor type is static-ds or initial-ds, then it is followed with the - key tag, algorithm, digest type, and the hexidecimal + key tag, algorithm, digest type, and the hexadecimal representation of the key digest. This is identical to the text representation of a DS record. Spaces, tabs, newlines and carriage returns are ignored. @@ -11254,7 +11254,7 @@ example.com CNAME rpz-tcp-only. A margin that is added to the pre-publication - interval in rollover timing calcuations to give some + interval in rollover timing calculations to give some extra time to cover unforeseen events. This increases the time that keys are published before becoming active. The default is PT1H (1 hour). @@ -11998,7 +11998,7 @@ view "external" { If a redirect zone is configured with a option, then it is - transfered in as if it were a slave zone. + transferred in as if it were a slave zone. Otherwise, it is loaded from a file as if it were a master zone. diff --git a/doc/arm/Bv9ARM.ch01.html b/doc/arm/Bv9ARM.ch01.html index bd99aed029..f572980839 100644 --- a/doc/arm/Bv9ARM.ch01.html +++ b/doc/arm/Bv9ARM.ch01.html @@ -448,7 +448,7 @@ checking whether the SERIAL field has been updated; if so, a new transfer request is initiated. The timing of these refresh queries is controlled by the SOA REFRESH and RETRY - fields, but can be overrridden with the + fields, but can be overridden with the max-refresh-time, min-refresh-time, max-retry-time, and diff --git a/doc/arm/Bv9ARM.ch05.html b/doc/arm/Bv9ARM.ch05.html index 6ffdef48bb..da052ebdbe 100644 --- a/doc/arm/Bv9ARM.ch05.html +++ b/doc/arm/Bv9ARM.ch05.html @@ -8942,7 +8942,7 @@ example.com CNAME rpz-tcp-only.

If the anchor type is static-ds or initial-ds, then it is followed with the - key tag, algorithm, digest type, and the hexidecimal + key tag, algorithm, digest type, and the hexadecimal representation of the key digest. This is identical to the text representation of a DS record. Spaces, tabs, newlines and carriage returns are ignored. @@ -10141,7 +10141,7 @@ view "external" {

If a redirect zone is configured with a masters option, then it is - transfered in as if it were a slave zone. + transferred in as if it were a slave zone. Otherwise, it is loaded from a file as if it were a master zone.

diff --git a/doc/arm/man.dnssec-cds.html b/doc/arm/man.dnssec-cds.html index a3102d4641..357efef188 100644 --- a/doc/arm/man.dnssec-cds.html +++ b/doc/arm/man.dnssec-cds.html @@ -96,7 +96,7 @@ The dnssec-cds command uses special DNSSEC validation logic specified by RFC 7344. It requires that the CDS and/or CDNSKEY records are validly signed by a key represented in the - existing DS records. This will typicially be the pre-existing + existing DS records. This will typically be the pre-existing key-signing key (KSK).

diff --git a/doc/arm/man.dnssec-signzone.html b/doc/arm/man.dnssec-signzone.html index de98d1c014..865e1581df 100644 --- a/doc/arm/man.dnssec-signzone.html +++ b/doc/arm/man.dnssec-signzone.html @@ -371,7 +371,7 @@

"increment"

Increment the SOA serial number using RFC 1982 - arithmetics.

+ arithmetic.

"unixtime"
diff --git a/doc/design/decompression b/doc/design/decompression index 3c4f6b1df7..47f7621606 100644 --- a/doc/design/decompression +++ b/doc/design/decompression @@ -14,7 +14,7 @@ Overview. send it. This fits with the priciple of being liberal with what you accept and strict with what you send. - There are a few cases where it does not make sence to accept + There are a few cases where it does not make sense to accept compression pointers of a given type. i.e. the first domain name in a message, local compression pointers in the ownername of a RR or in a question. diff --git a/doc/design/dispatch b/doc/design/dispatch index 0729f62395..5764d0497c 100644 --- a/doc/design/dispatch +++ b/doc/design/dispatch @@ -34,7 +34,7 @@ UDP restart: /* * If too many recv()'s are already running, just return. * - * If noone is attached to us, just return. + * If no one is attached to us, just return. * * Allocate a new buffer to receive into. * If no more buffers: diff --git a/doc/design/tasks b/doc/design/tasks index 202876811f..dbc7973022 100644 --- a/doc/design/tasks +++ b/doc/design/tasks @@ -14,7 +14,7 @@ When a task is shutdown: Any attempts to add shutdown events with isc_task_onshutdown() will fail, since the task is already shutting down -Task shutdown can be initiated explicity, via a call to isc_task_shutdown(), +Task shutdown can be initiated explicitly, via a call to isc_task_shutdown(), or implicitly, when the following conditions occur: The "shutting down" attribute of the task is not set @@ -60,7 +60,7 @@ to the task queue. Event action (callback) rules: * no locks held on your behald when entering a callback. - * not allowed to block, except when aquiring a lock. + * not allowed to block, except when acquiring a lock. * not allowed to hold a lock when exiting the callback. diff --git a/doc/design/zone b/doc/design/zone index 55c3484bba..b3ac007ca6 100644 --- a/doc/design/zone +++ b/doc/design/zone @@ -100,7 +100,7 @@ Overview configurations to be identified earlier providing for a more stable DNS. -Compatability: +Compatibility: Zones are required to be configuration file compatable with BIND 8.x. diff --git a/doc/dev/dev.md b/doc/dev/dev.md index 7fbbc8ac86..3114b06f37 100644 --- a/doc/dev/dev.md +++ b/doc/dev/dev.md @@ -374,7 +374,7 @@ on failure (setting `errno` to indicate what the nature of the problem was), BIND style always keeps indication of the function's success or failure separate from its returned data. Similarly, the C library function `fread()` returns the number of characters read and then -depends on `feof()` and `ferror()` to determine whether an error occured +depends on `feof()` and `ferror()` to determine whether an error occurred or the end of file was reached, but BIND's version uses result codes: char buffer[BUFSIZ]; diff --git a/doc/dev/rdata.md b/doc/dev/rdata.md index 4ea04b532c..5daca7d94f 100644 --- a/doc/dev/rdata.md +++ b/doc/dev/rdata.md @@ -144,7 +144,7 @@ type name. |Parameter|Description | |---------|-----------------------| |`class`|This argument should be ignored when used with a class-generic RR type, otherwise `REQUIRE(class == )` should be present at the start of the function.| -|`type`|This should be tested with a `REQUIRE(type == )` statement at the begining of the function.| +|`type`|This should be tested with a `REQUIRE(type == )` statement at the beginning of the function.| |`lexer`|This is used to read the input text stream.| |`origin`|This is a absolute name used to qualify unqualified / partially qualified domain names in the text stream. It is passed to the name parsing routines.| |`downcase`|This is passed to the name parsing routines to determine whether to downcase the names it generates or leave them in the case they are presented in.| @@ -210,7 +210,7 @@ decompression methods if there is a domain name in the rdata. |Parameter|Description | |---------|-----------------------| |`class`|This argument should be ignored when used with a class-generic RR type otherwise `REQUIRE(class == )` should be present at the start of the function.| -|`type`|This should be tested with a `REQUIRE(type == )` statement at the begining of the function.| +|`type`|This should be tested with a `REQUIRE(type == )` statement at the beginning of the function.| |`source`|This is a `BINARY` buffer with the `active` region containing a resource record in wire format.| |`dctx`|This is the decompression context and is passed to `dns_name_fromwire()`, along with `downcase`, to enable a compressed domain name to be extracted from the source.| |`downcase`|This is passed to `dns_name_fromwire()` to say whether the extracted domain name should be downcased during the extraction.| diff --git a/doc/doxygen/mainpage b/doc/doxygen/mainpage index d3dcf9708e..df31f5d93a 100644 --- a/doc/doxygen/mainpage +++ b/doc/doxygen/mainpage @@ -77,7 +77,7 @@ /// critical. /// /// \li If we ever get really ambitious, we might try processing -/// Doxygen's XML output, which is basicly a dump of what Doxygen +/// Doxygen's XML output, which is basically a dump of what Doxygen /// was able to scrape from the sources. This would be a major /// project, just something to think about if there's something we /// really don't like about the output Doxygen generates. Punt diff --git a/doc/misc/ipv6 b/doc/misc/ipv6 index 95cf9bb4e3..7a25b23c70 100644 --- a/doc/misc/ipv6 +++ b/doc/misc/ipv6 @@ -46,7 +46,7 @@ ipv6 addresses separately. In any case, bind9 named binds to specific addresses for ipv4 sockets. -The followings are historical notes when we always bound to the ipv6 +The following are historical notes when we always bound to the ipv6 wildcard port regardless of the availability of the API support. These problems should not happen with the closer checks above. diff --git a/doc/misc/rfc-compliance b/doc/misc/rfc-compliance index 55fa1c0f7b..8398d8b25e 100644 --- a/doc/misc/rfc-compliance +++ b/doc/misc/rfc-compliance @@ -154,8 +154,8 @@ everywhere with or without --with-idn. used. [12] Section 5.5 does not match reality. Named uses the presence -of DO=1 to detect if validation may be occuring. CD has no bearing -on whether validation is occuring or not. +of DO=1 to detect if validation may be occurring. CD has no bearing +on whether validation is occurring or not. [13] Conditional on the OpenSSL library being linked against supporting ECDSA. diff --git a/doc/xsl/arm-param.xsl b/doc/xsl/arm-param.xsl index c3014914a0..a124a758c0 100644 --- a/doc/xsl/arm-param.xsl +++ b/doc/xsl/arm-param.xsl @@ -16,7 +16,7 @@ xmlns:db="http://docbook.org/ns/docbook"> - -- +- - - - diff --git a/lib/bind9/check.c b/lib/bind9/check.c index a64e945aad..dbae875c87 100644 --- a/lib/bind9/check.c +++ b/lib/bind9/check.c @@ -2641,14 +2641,14 @@ check_zoneconf(const cfg_obj_t *zconfig, const cfg_obj_t *voptions, /* * Check that a RFC 1918 / ULA reverse zone is not forward first - * unless explictly configured to be so. + * unless explicitly configured to be so. */ if (ztype == CFG_ZONE_FORWARD && (rfc1918 || ula)) { obj = NULL; (void)cfg_map_get(zoptions, "forward", &obj); if (obj == NULL) { /* - * Forward mode not explicity configured. + * Forward mode not explicitly configured. */ if (voptions != NULL) { cfg_map_get(voptions, "forward", &obj); @@ -4669,7 +4669,7 @@ bind9_check_namedconf(const cfg_obj_t *config, bool check_plugins, result = ISC_R_FAILURE; /* - * Use case insensitive comparision as not all file + * Use case insensitive comparison as not all file * systems are case sensitive. This will prevent people * using FOO.DB and foo.db on case sensitive file * systems but that shouldn't be a major issue. @@ -4678,7 +4678,7 @@ bind9_check_namedconf(const cfg_obj_t *config, bool check_plugins, } /* - * Use case insensitive comparision as not all file systems are + * Use case insensitive comparison as not all file systems are * case sensitive. This will prevent people using FOO.DB and foo.db * on case sensitive file systems but that shouldn't be a major issue. */ diff --git a/lib/dns/catz.c b/lib/dns/catz.c index b07dc2180e..265becf7d1 100644 --- a/lib/dns/catz.c +++ b/lib/dns/catz.c @@ -1615,7 +1615,7 @@ dns_catz_generate_zonecfg(dns_catz_zone_t *zone, dns_catz_entry_t *entry, /* * DSCP value has no default, but when it is specified, it is identical - * for all masters and cannot be overriden for a specific master IP, so + * for all masters and cannot be overridden for a specific master IP, so * use the DSCP value set for the first master */ if (entry->opts.masters.count > 0 && entry->opts.masters.dscps[0] >= 0) diff --git a/lib/dns/dispatch.c b/lib/dns/dispatch.c index aa4b363283..0e1ff4369f 100644 --- a/lib/dns/dispatch.c +++ b/lib/dns/dispatch.c @@ -1384,7 +1384,7 @@ tcp_recv(isc_task_t *task, isc_event_t *ev_in) { if (disp->refcount == 0) { /* - * This dispatcher is shutting down. Force cancelation. + * This dispatcher is shutting down. Force cancellation. */ tcpmsg->result = ISC_R_CANCELED; } @@ -2768,7 +2768,7 @@ get_udpsocket(dns_dispatchmgr_t *mgr, dns_dispatch_t *disp, result = open_socket(sockmgr, &localaddr_bound, 0, &sock, NULL, false); /* - * Continue if the port choosen is already in use + * Continue if the port chosen is already in use * or the OS has reserved it. */ if (result == ISC_R_NOPERM || result == ISC_R_ADDRINUSE) @@ -3441,7 +3441,7 @@ do_cancel(dns_dispatch_t *disp) { /* * Search for the first response handler without packets outstanding - * unless a specific hander is given. + * unless a specific handler is given. */ LOCK(&qid->lock); for (resp = linear_first(qid); resp != NULL && resp->item_out; diff --git a/lib/dns/dnsrps.c b/lib/dns/dnsrps.c index 973e9c997c..0080a2fbb3 100644 --- a/lib/dns/dnsrps.c +++ b/lib/dns/dnsrps.c @@ -141,7 +141,7 @@ dns_dnsrps_server_create(void) { /* * Stop now without complaining if librpz is not available. * Complain later if and when librpz is needed for a view with - * "dnsrps-enable yse" (including the default view). + * "dnsrps-enable yes" (including the default view). */ if (librpz == NULL) { return (ISC_R_SUCCESS); diff --git a/lib/dns/dnssec.c b/lib/dns/dnssec.c index a089230229..4501d96ed4 100644 --- a/lib/dns/dnssec.c +++ b/lib/dns/dnssec.c @@ -1349,7 +1349,7 @@ dns_dnssec_get_hints(dns_dnsseckey_t *key, isc_stdtime_t now) { * These two cases are rare enough that we will set hint_publish * anyway when hint_sign is set, because BIND 9 natively does not * support the ZSK Double-RRSIG method, and when introducing a new - * algorihtm, we strive to publish its signatures and DNSKEY records + * algorithm, we strive to publish its signatures and DNSKEY records * at the same time. */ if (key->hint_sign && publish == 0) { @@ -2158,7 +2158,7 @@ dns_dnssec_updatekeys(dns_dnsseckeylist_t *keys, dns_dnsseckeylist_t *newkeys, } } - /* Printable version of key1 (the newly aquired key) */ + /* Printable version of key1 (the newly acquired key) */ dst_key_format(key1->key, keystr1, sizeof(keystr1)); /* No match found in keys; add the new key. */ diff --git a/lib/dns/dnstap.proto b/lib/dns/dnstap.proto index 5280c9b650..af73704365 100644 --- a/lib/dns/dnstap.proto +++ b/lib/dns/dnstap.proto @@ -105,7 +105,7 @@ message Message { enum Type { // AUTH_QUERY is a DNS query message received from a resolver by an - // authoritative name server, from the perspective of the authorative + // authoritative name server, from the perspective of the authoritative // name server. AUTH_QUERY = 1; diff --git a/lib/dns/include/dns/adb.h b/lib/dns/include/dns/adb.h index 3a53a1dce9..5895b5db3a 100644 --- a/lib/dns/include/dns/adb.h +++ b/lib/dns/include/dns/adb.h @@ -742,7 +742,7 @@ void dns_adb_setcookie(dns_adb_t *adb, dns_adbaddrinfo_t *addr, const unsigned char *cookie, size_t len); /*%< - * Record the COOKIE associated with this addresss. If + * Record the COOKIE associated with this address. If * cookie is NULL or len is zero the recorded COOKIE is cleared. * * Requires: @@ -754,7 +754,7 @@ size_t dns_adb_getcookie(dns_adb_t *adb, dns_adbaddrinfo_t *addr, unsigned char *cookie, size_t len); /* - * Retieve the saved COOKIE value and store it in 'cookie' which has + * Retrieve the saved COOKIE value and store it in 'cookie' which has * size 'len'. * * Requires: diff --git a/lib/dns/include/dns/catz.h b/lib/dns/include/dns/catz.h index 941700506e..bb8b1ce379 100644 --- a/lib/dns/include/dns/catz.h +++ b/lib/dns/include/dns/catz.h @@ -46,7 +46,7 @@ ISC_LANG_BEGINDECLS */ struct dns_catz_entry_options { /* - * Options that can be overriden in catalog zone + * Options that can be overridden in catalog zone */ /* default-masters definition */ dns_ipkeylist_t masters; diff --git a/lib/dns/include/dns/client.h b/lib/dns/include/dns/client.h index 5e03fd86dd..71f7ebec45 100644 --- a/lib/dns/include/dns/client.h +++ b/lib/dns/include/dns/client.h @@ -424,7 +424,7 @@ dns_client_startrequest(dns_client_t *client, dns_message_t *qmessage, dns_clientreqtrans_t **transp); /*%< - * Send a DNS request containig a query message 'query' to 'server'. + * Send a DNS request containing a query message 'query' to 'server'. * * 'parseoptions' will be used when the response packet is parsed, and will be * passed to dns_message_parse() via dns_request_getresponse(). See diff --git a/lib/dns/include/dns/db.h b/lib/dns/include/dns/db.h index 9a06f69ff7..a092600274 100644 --- a/lib/dns/include/dns/db.h +++ b/lib/dns/include/dns/db.h @@ -684,7 +684,7 @@ dns_db_findnodeext(dns_db_t *db, const dns_name_t *name, bool create, * * dns_db_findnodeext() (findnode extended) also accepts parameters * 'methods' and 'clientinfo', which, when provided, enable the database to - * retreive information about the client from the caller, and modify its + * retrieve information about the client from the caller, and modify its * response on the basis of that information. * * Notes: @@ -734,7 +734,7 @@ dns_db_findext(dns_db_t *db, const dns_name_t *name, dns_dbversion_t *version, * Find the best match for 'name' and 'type' in version 'version' of 'db'. * * dns_db_findext() (find extended) also accepts parameters 'methods' - * and 'clientinfo', which when provided enable the database to retreive + * and 'clientinfo', which when provided enable the database to retrieve * information about the client from the caller, and modify its response * on the basis of this information. * @@ -1452,7 +1452,7 @@ dns_db_getoriginnode(dns_db_t *db, dns_dbnode_t **nodep); isc_result_t dns_db_getnsec3parameters(dns_db_t *db, dns_dbversion_t *version, dns_hash_t *hash, uint8_t *flags, - uint16_t *interations, unsigned char *salt, + uint16_t *iterations, unsigned char *salt, size_t *salt_length); /*%< * Get the NSEC3 parameters that are associated with this zone. diff --git a/lib/dns/include/dns/dns64.h b/lib/dns/include/dns/dns64.h index 4ebec37c7c..dfd15450ea 100644 --- a/lib/dns/include/dns/dns64.h +++ b/lib/dns/include/dns/dns64.h @@ -57,7 +57,7 @@ dns_dns64_create(isc_mem_t *mctx, const isc_netaddr_t *prefix, * clients apply. 'mapped' defines which A records are candidated for * mapping. If 'mapped' is NULL then all A records will be mapped. * 'excluded' defines which AAAA are to be treated as non-existent for the - * purposed of determining whether to perform syntesis. If 'excluded' is + * purposed of determining whether to perform synthesis. If 'excluded' is * NULL then no AAAA records prevent synthesis. * * If DNS_DNS64_RECURSIVE_ONLY is set then the record will only match if @@ -152,7 +152,7 @@ dns_dns64_aaaaok(const dns_dns64_t *dns64, const isc_netaddr_t *reqaddr, /* * Determine if there are any non-excluded AAAA records in from the * matching dns64 records in the list starting at 'dns64'. If there - * is a non-exluded address return true. If all addresses are + * is a non-excluded address return true. If all addresses are * excluded in the matched records return false. If no records * match then return true. * diff --git a/lib/dns/include/dns/ipkeylist.h b/lib/dns/include/dns/ipkeylist.h index cd5ed1056e..abb2e77d0c 100644 --- a/lib/dns/include/dns/ipkeylist.h +++ b/lib/dns/include/dns/ipkeylist.h @@ -81,8 +81,8 @@ dns_ipkeylist_resize(isc_mem_t *mctx, dns_ipkeylist_t *ipkl, unsigned int n); * \li 'n' >= ipkl->count * * Returns: - * \li #ISC_R_SUCCESS if successs - * \li #ISC_R_NOMEMORY if there's no memory, ipkeylist is left untoched + * \li #ISC_R_SUCCESS if success + * \li #ISC_R_NOMEMORY if there's no memory, ipkeylist is left untouched */ #endif /* ifndef DNS_IPKEYLIST_H */ diff --git a/lib/dns/include/dns/keytable.h b/lib/dns/include/dns/keytable.h index 1144f26bfe..c7ba601077 100644 --- a/lib/dns/include/dns/keytable.h +++ b/lib/dns/include/dns/keytable.h @@ -115,7 +115,7 @@ dns_keytable_add(dns_keytable_t *keytable, bool managed, bool initial, * should only be used when adding managed-keys from configuration. * This indicates the key is in "initializing" state, and has not yet * been confirmed with a key refresh query. Once a key refresh query - * has validated, we update the keynode with inital == false.) + * has validated, we update the keynode with initial == false.) * * Notes: * diff --git a/lib/dns/include/dns/name.h b/lib/dns/include/dns/name.h index 2c1dfe946f..33d49d2148 100644 --- a/lib/dns/include/dns/name.h +++ b/lib/dns/include/dns/name.h @@ -461,7 +461,7 @@ dns_name_equal(const dns_name_t *name1, const dns_name_t *name2); * \li Because it only needs to test for equality, dns_name_equal() can be * significantly faster than dns_name_fullcompare() or dns_name_compare(). * - * \li Offsets tables are not used in the comparision. + * \li Offsets tables are not used in the comparison. * * \li It makes no sense for one of the names to be relative and the * other absolute. If both names are relative, then to be meaningfully diff --git a/lib/dns/include/dns/resolver.h b/lib/dns/include/dns/resolver.h index 79b4886fca..45eccd3147 100644 --- a/lib/dns/include/dns/resolver.h +++ b/lib/dns/include/dns/resolver.h @@ -577,7 +577,7 @@ dns_resolver_getretryinterval(dns_resolver_t *resolver); void dns_resolver_setretryinterval(dns_resolver_t *resolver, unsigned int interval); /*%< - * Sets the amount of time, in millseconds, that is waited for a reply + * Sets the amount of time, in milliseconds, that is waited for a reply * to a server before another server is tried. Interacts with the * value of dns_resolver_getnonbackofftries() by trying that number of times * at this interval, before doing exponential backoff and doubling the interval @@ -716,7 +716,7 @@ dns_resolver_getquotaresponse(dns_resolver_t *resolver, dns_quotatype_t which); * are exceeded. If 'which' is set to quotatype "zone", then the * result specified in 'resp' will be used when the fetches-per-zone * quota is exceeded by a fetch. If 'which' is set to quotatype "server", - * then the reuslt specified in 'resp' will be used when the + * then the result specified in 'resp' will be used when the * fetches-per-server quota has been exceeded for all the * authoritative servers for a zone. Valid choices are * DNS_R_DROP or DNS_R_SERVFAIL. diff --git a/lib/dns/include/dns/zone.h b/lib/dns/include/dns/zone.h index 80ccb22979..4ca41d65e1 100644 --- a/lib/dns/include/dns/zone.h +++ b/lib/dns/include/dns/zone.h @@ -315,7 +315,7 @@ dns_zone_setstream(dns_zone_t *zone, const FILE *stream, void dns_zone_setmaxrecords(dns_zone_t *zone, uint32_t records); /*%< - * Sets the maximim number of records permitted in a zone. + * Sets the maximum number of records permitted in a zone. * 0 implies unlimited. * * Requires: @@ -328,7 +328,7 @@ dns_zone_setmaxrecords(dns_zone_t *zone, uint32_t records); uint32_t dns_zone_getmaxrecords(dns_zone_t *zone); /*%< - * Gets the maximim number of records permitted in a zone. + * Gets the maximum number of records permitted in a zone. * 0 implies unlimited. * * Requires: diff --git a/lib/dns/include/dst/dst.h b/lib/dns/include/dst/dst.h index d98ac6f504..e4ac373709 100644 --- a/lib/dns/include/dst/dst.h +++ b/lib/dns/include/dst/dst.h @@ -387,7 +387,7 @@ dst_key_fromnamedfile(const char *filename, const char *dirname, int type, isc_mem_t *mctx, dst_key_t **keyp); /*%< * Reads a key from permanent storage. The key can either be a public or - * private key, or a key stae. It is specified by filename. If a private key + * private key, or a key state. It is specified by filename. If a private key * or key state is specified, the public key must also be present. * * If 'dirname' is not NULL, and 'filename' is a relative path, diff --git a/lib/dns/master.c b/lib/dns/master.c index 7becbec1e0..59a134611e 100644 --- a/lib/dns/master.c +++ b/lib/dns/master.c @@ -651,9 +651,9 @@ nibbles(char *numbuf, size_t length, unsigned int width, char mode, int value) { } count++; /* - * If width is non zero then we need to add a label seperator. + * If width is non zero then we need to add a label separator. * If value is non zero then we need to add another label and - * that requires a label seperator. + * that requires a label separator. */ if (width > 0 || value != 0) { if (length > 0U) { diff --git a/lib/dns/rbt.c b/lib/dns/rbt.c index 653f71f85c..a9fdf3929f 100644 --- a/lib/dns/rbt.c +++ b/lib/dns/rbt.c @@ -234,7 +234,7 @@ getdata(dns_rbtnode_t *node, file_header_t *header) { * <name_data> contains the name of the node when it was created. * <oldoffsetlen> contains the length of <offsets> when the node * was created. - * <offsets> contains the offets into name for each label when the node + * <offsets> contains the offsets into name for each label when the node * was created. */ diff --git a/lib/dns/rbtdb.c b/lib/dns/rbtdb.c index c51375e8c8..bd35ae3b97 100644 --- a/lib/dns/rbtdb.c +++ b/lib/dns/rbtdb.c @@ -4021,7 +4021,7 @@ found: * DS records live above the zone cut in ordinary zone so * we want to ignore any referral. * - * Stub zones don't have anything "above" the delgation so + * Stub zones don't have anything "above" the delegation so * we always return a referral. */ if (node->find_callback && @@ -9129,7 +9129,7 @@ flush_deletions(rbtdb_dbiterator_t *rbtdbiter) { * Note that "%d node of %d in tree" can report things like * "flush_deletions: 59 nodes of 41 in tree". This means * That some nodes appear on the deletions list more than - * once. Only the last occurence will actually be deleted. + * once. Only the last occurrence will actually be deleted. */ isc_log_write(dns_lctx, DNS_LOGCATEGORY_DATABASE, DNS_LOGMODULE_CACHE, ISC_LOG_DEBUG(1), diff --git a/lib/dns/rdata.c b/lib/dns/rdata.c index f1161d07c8..2a20a2ae01 100644 --- a/lib/dns/rdata.c +++ b/lib/dns/rdata.c @@ -284,7 +284,7 @@ static void generic_freestruct_tlsa(ARGS_FREESTRUCT); #define NS_LOCATORSZ 8 /* - * Active Diretory gc._msdcs. prefix. + * Active Directory gc._msdcs. prefix. */ static unsigned char gc_msdcs_data[] = "\002gc\006_msdcs"; static unsigned char gc_msdcs_offset[] = { 0, 3 }; diff --git a/lib/dns/rdata/generic/cdnskey_60.c b/lib/dns/rdata/generic/cdnskey_60.c index fbcb402168..9f5912018d 100644 --- a/lib/dns/rdata/generic/cdnskey_60.c +++ b/lib/dns/rdata/generic/cdnskey_60.c @@ -155,7 +155,7 @@ checknames_cdnskey(ARGS_CHECKNAMES) { static inline int casecompare_cdnskey(ARGS_COMPARE) { /* - * Treat ALG 253 (private DNS) subtype name case sensistively. + * Treat ALG 253 (private DNS) subtype name case sensitively. */ return (compare_cdnskey(rdata1, rdata2)); } diff --git a/lib/dns/rdata/generic/dnskey_48.c b/lib/dns/rdata/generic/dnskey_48.c index 12007e08a6..d78b4c62bd 100644 --- a/lib/dns/rdata/generic/dnskey_48.c +++ b/lib/dns/rdata/generic/dnskey_48.c @@ -156,7 +156,7 @@ checknames_dnskey(ARGS_CHECKNAMES) { static inline int casecompare_dnskey(ARGS_COMPARE) { /* - * Treat ALG 253 (private DNS) subtype name case sensistively. + * Treat ALG 253 (private DNS) subtype name case sensitively. */ return (compare_dnskey(rdata1, rdata2)); } diff --git a/lib/dns/rdata/generic/naptr_35.c b/lib/dns/rdata/generic/naptr_35.c index 6544bc399d..5a3068b7ea 100644 --- a/lib/dns/rdata/generic/naptr_35.c +++ b/lib/dns/rdata/generic/naptr_35.c @@ -20,7 +20,7 @@ /* * Check the wire format of the Regexp field. - * Don't allow embeded NUL's. + * Don't allow embedded NUL's. */ static inline isc_result_t txt_valid_regex(const unsigned char *txt) { diff --git a/lib/dns/rdata/generic/rkey_57.c b/lib/dns/rdata/generic/rkey_57.c index caeeed35a7..ba5a5c7ebe 100644 --- a/lib/dns/rdata/generic/rkey_57.c +++ b/lib/dns/rdata/generic/rkey_57.c @@ -152,7 +152,7 @@ checknames_rkey(ARGS_CHECKNAMES) { static inline int casecompare_rkey(ARGS_COMPARE) { /* - * Treat ALG 253 (private DNS) subtype name case sensistively. + * Treat ALG 253 (private DNS) subtype name case sensitively. */ return (compare_rkey(rdata1, rdata2)); } diff --git a/lib/dns/rdata/in_1/a_1.c b/lib/dns/rdata/in_1/a_1.c index aa41818753..bc34aeeba9 100644 --- a/lib/dns/rdata/in_1/a_1.c +++ b/lib/dns/rdata/in_1/a_1.c @@ -215,7 +215,7 @@ checkowner_in_a(ARGS_CHECKOWNER) { UNUSED(rdclass); /* - * Handle Active Diretory gc._msdcs. name. + * Handle Active Directory gc._msdcs. name. */ if (dns_name_countlabels(name) > 2U) { dns_name_init(&prefix, NULL); diff --git a/lib/dns/rdata/in_1/aaaa_28.c b/lib/dns/rdata/in_1/aaaa_28.c index 384b8dd0b8..9ac9c40e05 100644 --- a/lib/dns/rdata/in_1/aaaa_28.c +++ b/lib/dns/rdata/in_1/aaaa_28.c @@ -227,7 +227,7 @@ checkowner_in_aaaa(ARGS_CHECKOWNER) { UNUSED(rdclass); /* - * Handle Active Diretory gc._msdcs. name. + * Handle Active Directory gc._msdcs. name. */ if (dns_name_countlabels(name) > 2U) { dns_name_init(&prefix, NULL); diff --git a/lib/dns/rdataslab.c b/lib/dns/rdataslab.c index 6398283723..b3487de0cc 100644 --- a/lib/dns/rdataslab.c +++ b/lib/dns/rdataslab.c @@ -114,7 +114,7 @@ isc_result_t dns_rdataslab_fromrdataset(dns_rdataset_t *rdataset, isc_mem_t *mctx, isc_region_t *region, unsigned int reservelen) { /* - * Use &removed as a sentinal pointer for duplicate + * Use &removed as a sentinel pointer for duplicate * rdata as rdata.data == NULL is valid. */ static unsigned char removed; diff --git a/lib/dns/resolver.c b/lib/dns/resolver.c index a7e35754fd..51bc368bf6 100644 --- a/lib/dns/resolver.c +++ b/lib/dns/resolver.c @@ -956,7 +956,7 @@ fix_mustbedelegationornxdomain(dns_message_t *message, fetchctx_t *fctx) { * zone. So a response to an explicit query for this type should be * excluded from delegation-only fixup. * - * SOA, NS, and DNSKEY can only exist at a zone apex, so a postive + * SOA, NS, and DNSKEY can only exist at a zone apex, so a positive * response to a query for these types can never violate the * delegation-only assumption: if the query name is below a * zone cut, the response should normally be a referral, which should @@ -2782,7 +2782,7 @@ resquery_send(resquery_t *query) { } /* - * Record the UDP EDNS size choosen. + * Record the UDP EDNS size chosen. */ query->udpsize = udpsize; @@ -4804,7 +4804,7 @@ fctx_start(isc_task_t *task, isc_event_t *event) { } /* - * Fetch Creation, Joining, and Cancelation. + * Fetch Creation, Joining, and Cancellation. */ static inline isc_result_t @@ -5699,7 +5699,7 @@ validated(isc_task_t *task, isc_event_t *event) { inc_stats(res, dns_resstatscounter_valnegsuccess); /* - * Cache DS NXDOMAIN seperately to other types. + * Cache DS NXDOMAIN separately to other types. */ if (fctx->rmessage->rcode == dns_rcode_nxdomain && fctx->type != dns_rdatatype_ds) @@ -9121,7 +9121,7 @@ rctx_ncache(respctx_t *rctx) { } /* - * Cache DS NXDOMAIN seperately to other types. + * Cache DS NXDOMAIN separately to other types. */ if (fctx->rmessage->rcode == dns_rcode_nxdomain && fctx->type != dns_rdatatype_ds) diff --git a/lib/dns/rrl.c b/lib/dns/rrl.c index 78884f96a4..3f38414fa9 100644 --- a/lib/dns/rrl.c +++ b/lib/dns/rrl.c @@ -555,7 +555,7 @@ get_entry(dns_rrl_t *rrl, const isc_sockaddr_t *client_addr, } /* - * Discard prevous hash table when all of its entries are old. + * Discard previous hash table when all of its entries are old. */ age = delta_rrl_time(rrl->old_hash->check_time, now); if (age > rrl->window) { @@ -1205,7 +1205,7 @@ dns_rrl(dns_view_t *view, const isc_sockaddr_t *client_addr, bool is_tcp, } /* - * Log occassionally in the rate-limit category. + * Log occasionally in the rate-limit category. */ if ((!e->logged || e->log_secs >= DNS_RRL_MAX_LOG_SECS) && isc_log_wouldlog(dns_lctx, DNS_RRL_LOG_DROP)) diff --git a/lib/dns/tests/db_test.c b/lib/dns/tests/db_test.c index 9d918a33a8..2164df760e 100644 --- a/lib/dns/tests/db_test.c +++ b/lib/dns/tests/db_test.c @@ -370,7 +370,7 @@ version_test(void **state) { result = dns_db_newversion(db, &new); assert_int_equal(result, ISC_R_SUCCESS); - /* Delete the rdataset from the new verison */ + /* Delete the rdataset from the new version */ result = dns_db_deleterdataset(db, node, new, dns_rdatatype_a, 0); assert_int_equal(result, ISC_R_SUCCESS); diff --git a/lib/dns/tests/dbversion_test.c b/lib/dns/tests/dbversion_test.c index a34d193660..b725d66ca5 100644 --- a/lib/dns/tests/dbversion_test.c +++ b/lib/dns/tests/dbversion_test.c @@ -45,7 +45,7 @@ static dns_dbversion_t *v1 = NULL, *v2 = NULL; * The code below enables us to trap assertion failures for testing * purposes. local_callback() is set as the callback function for * isc_assertion_failed(). It calls mock_assert() so that CMOCKA - * will be able to see it, then returns to the calling functon via + * will be able to see it, then returns to the calling function via * longjmp() so that the abort() call in isc_assertion_failed() will * never be reached. Use check_assertion() to check for assertions * instead of expect_assert_failure(). diff --git a/lib/dns/tests/rdata_test.c b/lib/dns/tests/rdata_test.c index a24ab393ec..96f419b6b9 100644 --- a/lib/dns/tests/rdata_test.c +++ b/lib/dns/tests/rdata_test.c @@ -211,7 +211,7 @@ rdata_additionadata(dns_rdata_t *rdata) { * We are currently only checking that the calls do not trigger * assertion failures. * - * XXXMPA A future extention could be to record the expected + * XXXMPA A future extension could be to record the expected * result and the expected value of 'bad'. */ static void @@ -883,25 +883,25 @@ static void amtrelay(void **state) { text_ok_t text_ok[] = { TEXT_INVALID(""), TEXT_INVALID("0"), TEXT_INVALID("0 0"), - /* gatway type 0 */ + /* gateway type 0 */ TEXT_VALID("0 0 0"), TEXT_VALID("0 1 0"), TEXT_INVALID("0 2 0"), /* discovery out of range */ - TEXT_VALID("255 1 0"), /* max precendence */ + TEXT_VALID("255 1 0"), /* max precedence */ TEXT_INVALID("256 1 0"), /* precedence out of range */ /* IPv4 gateway */ - TEXT_INVALID("0 0 1"), /* no addresss */ + TEXT_INVALID("0 0 1"), /* no address */ TEXT_VALID("0 0 1 0.0.0.0"), TEXT_INVALID("0 0 1 0.0.0.0 x"), /* extra */ - TEXT_INVALID("0 0 1 0.0.0.0.0"), /* bad addresss */ - TEXT_INVALID("0 0 1 ::"), /* bad addresss */ - TEXT_INVALID("0 0 1 ."), /* bad addresss */ + TEXT_INVALID("0 0 1 0.0.0.0.0"), /* bad address */ + TEXT_INVALID("0 0 1 ::"), /* bad address */ + TEXT_INVALID("0 0 1 ."), /* bad address */ /* IPv6 gateway */ - TEXT_INVALID("0 0 2"), /* no addresss */ + TEXT_INVALID("0 0 2"), /* no address */ TEXT_VALID("0 0 2 ::"), TEXT_INVALID("0 0 2 :: xx"), /* extra */ - TEXT_INVALID("0 0 2 0.0.0.0"), /* bad addresss */ - TEXT_INVALID("0 0 2 ."), /* bad addresss */ + TEXT_INVALID("0 0 2 0.0.0.0"), /* bad address */ + TEXT_INVALID("0 0 2 ."), /* bad address */ /* hostname gateway */ TEXT_INVALID("0 0 3"), /* no name */ diff --git a/lib/dns/tests/testdata/dst/test1.data b/lib/dns/tests/testdata/dst/test1.data index b1a9bf5a94..cf84e9f8a0 100644 --- a/lib/dns/tests/testdata/dst/test1.data +++ b/lib/dns/tests/testdata/dst/test1.data @@ -1120,7 +1120,7 @@ RFC 1035 Domain Implementation and Specification November 1987 A records cause no additional section processing. The RDATA section of an A line in a master file is an Internet address expressed as four -decimal numbers separated by dots without any imbedded spaces (e.g., +decimal numbers separated by dots without any embedded spaces (e.g., "10.2.0.52" or "192.0.5.6"). 3.4.2. WKS RDATA format @@ -1636,7 +1636,7 @@ RDATA a variable length string of octets that describes the In order to reduce the size of messages, the domain system utilizes a compression scheme which eliminates the repetition of domain names in a message. In this scheme, an entire domain name or a list of labels at -the end of a domain name is replaced with a pointer to a prior occurance +the end of a domain name is replaced with a pointer to a prior occurrence of the same name. The pointer takes the form of a two octet sequence: @@ -1662,7 +1662,7 @@ represented as either: - a sequence of labels ending with a pointer -Pointers can only be used for occurances of a domain name where the +Pointers can only be used for occurrences of a domain name where the format is not class specific. If this were not the case, a name server or resolver would be required to know the format of all RRs it handled. As yet, there are no such cases, but they may occur in future RDATA @@ -2825,13 +2825,13 @@ RFC 1035 Domain Implementation and Specification November 1987 Facilities," RFC-882, USC/Information Sciences Institute, November 1983. - Superceeded by this memo. + Superseded by this memo. [RFC-883] P. Mockapetris, "Domain names - Implementation and Specification," RFC-883, USC/Information Sciences Institute, November 1983. - Superceeded by this memo. + Superseded by this memo. [RFC-920] J. Postel and J. Reynolds, "Domain Requirements", RFC-920, USC/Information Sciences Institute, diff --git a/lib/dns/tests/testdata/dst/test2.data b/lib/dns/tests/testdata/dst/test2.data index 7b0e35d1cd..a323bb3b2a 100644 --- a/lib/dns/tests/testdata/dst/test2.data +++ b/lib/dns/tests/testdata/dst/test2.data @@ -1120,7 +1120,7 @@ RFC 1035 Domain Implementation and Specification November 1987 A records cause no additional section processing. The RDATA section of an A line in a master file is an Internet address expressed as four -decimal numbers separated by dots without any imbedded spaces (e.g., +decimal numbers separated by dots without any embedded spaces (e.g., "10.2.0.52" or "192.0.5.6"). 3.4.2. WKS RDATA format @@ -1636,7 +1636,7 @@ RDATA a variable length string of octets that describes the In order to reduce the size of messages, the domain system utilizes a compression scheme which eliminates the repetition of domain names in a message. In this scheme, an entire domain name or a list of labels at -the end of a domain name is replaced with a pointer to a prior occurance +the end of a domain name is replaced with a pointer to a prior occurrence of the same name. The pointer takes the form of a two octet sequence: @@ -1662,7 +1662,7 @@ represented as either: - a sequence of labels ending with a pointer -Pointers can only be used for occurances of a domain name where the +Pointers can only be used for occurrences of a domain name where the format is not class specific. If this were not the case, a name server or resolver would be required to know the format of all RRs it handled. As yet, there are no such cases, but they may occur in future RDATA @@ -2825,13 +2825,13 @@ RFC 1035 Domain Implementation and Specification November 1987 Facilities," RFC-882, USC/Information Sciences Institute, November 1983. - Superceeded by this memo. + Superseded by this memo. [RFC-883] P. Mockapetris, "Domain names - Implementation and Specification," RFC-883, USC/Information Sciences Institute, November 1983. - Superceeded by this memo. + Superseded by this memo. [RFC-920] J. Postel and J. Reynolds, "Domain Requirements", RFC-920, USC/Information Sciences Institute, diff --git a/lib/dns/tsig.c b/lib/dns/tsig.c index 28368811af..94787c970a 100644 --- a/lib/dns/tsig.c +++ b/lib/dns/tsig.c @@ -188,7 +188,7 @@ adjust_lru(dns_tsigkey_t *tkey) { RWLOCK(&tkey->ring->lock, isc_rwlocktype_write); /* * We may have been removed from the LRU list between - * removing the read lock and aquiring the write lock. + * removing the read lock and acquiring the write lock. */ if (ISC_LINK_LINKED(tkey, link) && tkey->ring->lru.tail != tkey) { diff --git a/lib/dns/validator.c b/lib/dns/validator.c index 42ce6a3b0d..0c48600397 100644 --- a/lib/dns/validator.c +++ b/lib/dns/validator.c @@ -890,7 +890,7 @@ validator_callback_nsec(isc_task_t *task, isc_event_t *event) { /* * If we are validating a wildcard response * clabels will not be zero. We then need - * to check if the generated wilcard from + * to check if the generated wildcard from * dns_nsec_noexistnodata is consistent with * the wildcard used to generate the response. */ diff --git a/lib/dns/view.c b/lib/dns/view.c index 0758ae4225..719aa6850d 100644 --- a/lib/dns/view.c +++ b/lib/dns/view.c @@ -2009,7 +2009,7 @@ dns_view_untrust(dns_view_t *view, const dns_name_t *keyname, } /* - * Create path to a directory and a filename contructed from viewname. + * Create path to a directory and a filename constructed from viewname. * This is a front-end to isc_file_sanitize(), allowing backward * compatibility to older versions when a file couldn't be expected * to be in the specified directory but might be in the current working diff --git a/lib/dns/xfrin.c b/lib/dns/xfrin.c index 07050ffd09..4c5f2e820c 100644 --- a/lib/dns/xfrin.c +++ b/lib/dns/xfrin.c @@ -899,7 +899,7 @@ xfrin_create(isc_mem_t *mctx, dns_zone_t *zone, dns_db_t *db, isc_task_t *task, isc_sockaddr_setport(&xfr->sourceaddr, 0); /* - * Reserve 2 bytes for TCP length at the begining of the buffer. + * Reserve 2 bytes for TCP length at the beginning of the buffer. */ isc_buffer_init(&xfr->qbuffer, &xfr->qbuffer_data[2], sizeof(xfr->qbuffer_data) - 2); diff --git a/lib/dns/zone.c b/lib/dns/zone.c index b0161c3311..2009b9228b 100644 --- a/lib/dns/zone.c +++ b/lib/dns/zone.c @@ -467,7 +467,7 @@ typedef enum { DNS_ZONEFLG_EXPIRED = 0x00000080U, /*%< zone has expired */ DNS_ZONEFLG_NEEDREFRESH = 0x00000100U, /*%< refresh check needed */ DNS_ZONEFLG_UPTODATE = 0x00000200U, /*%< zone contents are - * uptodate */ + * up-to-date */ DNS_ZONEFLG_NEEDNOTIFY = 0x00000400U, /*%< need to send out notify * messages */ DNS_ZONEFLG_DIFFONRELOAD = 0x00000800U, /*%< generate a journal diff on @@ -6351,7 +6351,7 @@ dns_zone_setdb(dns_zone_t *zone, dns_db_t *db) { } /* - * Co-ordinates the starting of routine jobs. + * Coordinates the starting of routine jobs. */ void dns_zone_maintenance(dns_zone_t *zone) { @@ -11127,7 +11127,7 @@ zone_expire(dns_zone_t *zone) { * An RPZ zone has expired; before unloading it, we must * first remove it from the RPZ summary database. The * easiest way to do this is "update" it with an empty - * database so that the update callback synchonizes + * database so that the update callback synchronizes * the diff automatically. */ if (zone->rpzs != NULL && zone->rpz_num != DNS_RPZ_INVALID_NUM) { @@ -15807,10 +15807,10 @@ save_nsec3param(dns_zone_t *zone, nsec3paramlist_t *nsec3list) { } /* - * walk nsec3param rdataset making a list of parameters (note that + * Walk nsec3param rdataset making a list of parameters (note that * multiple simultaneous nsec3 chains are annoyingly legal -- this - * is why we use an nsec3list, even tho we will usually only have - * one) + * is why we use an nsec3list, even though we will usually only + * have one). */ for (result = dns_rdataset_first(&rdataset); result == ISC_R_SUCCESS; result = dns_rdataset_next(&rdataset)) @@ -18201,7 +18201,7 @@ dns_zonemgr_setserialqueryrate(dns_zonemgr_t *zmgr, unsigned int value) { REQUIRE(DNS_ZONEMGR_VALID(zmgr)); setrl(zmgr->refreshrl, &zmgr->serialqueryrate, value); - /* XXXMPA seperate out once we have the code to support this. */ + /* XXXMPA separate out once we have the code to support this. */ setrl(zmgr->startuprefreshrl, &zmgr->startupserialqueryrate, value); } diff --git a/lib/dns/zoneverify.c b/lib/dns/zoneverify.c index d0644348cb..3a4cb2f729 100644 --- a/lib/dns/zoneverify.c +++ b/lib/dns/zoneverify.c @@ -739,7 +739,7 @@ verifynsec3(const vctx_t *vctx, const dns_name_t *name, } /* - * We don't use dns_db_find() here as it works with the choosen + * We don't use dns_db_find() here as it works with the chosen * nsec3 chain and we may also be called with uncommitted data * from dnssec-signzone so the secure status of the zone may not * be up to date. diff --git a/lib/irs/getaddrinfo.c b/lib/irs/getaddrinfo.c index ff8bfab3e0..9b9645caf1 100644 --- a/lib/irs/getaddrinfo.c +++ b/lib/irs/getaddrinfo.c @@ -1261,7 +1261,7 @@ get_local(const char *name, int socktype, struct addrinfo **res) { /*! * Allocate an addrinfo structure, and a sockaddr structure - * of the specificed length. We initialize: + * of the specified length. We initialize: * ai_addrlen * ai_family * ai_addr diff --git a/lib/isc/include/isc/buffer.h b/lib/isc/include/isc/buffer.h index 5ebdff969e..46931a44bf 100644 --- a/lib/isc/include/isc/buffer.h +++ b/lib/isc/include/isc/buffer.h @@ -126,7 +126,7 @@ ISC_LANG_BEGINDECLS /*@}*/ /*! - * Size granularity for dynamically resizeable buffers; when reserving + * Size granularity for dynamically resizable buffers; when reserving * space in a buffer, we round the allocated buffer length up to the * nearest * multiple of this value. */ diff --git a/lib/isc/include/isc/fsaccess.h b/lib/isc/include/isc/fsaccess.h index b4d79e25d7..44106b2b64 100644 --- a/lib/isc/include/isc/fsaccess.h +++ b/lib/isc/include/isc/fsaccess.h @@ -93,7 +93,7 @@ * probable that something could be cobbled together in NT 5 with inheritance, * it can't really be done in NT 4 as a single property that you could * set on a directory. You'd need to coordinate something with file creation - * so that every file created had DELETE set for the owner but noone else. + * so that every file created had DELETE set for the owner but no one else. * * On Unix systems, setting #ISC_FSACCESS_LISTDIRECTORY sets READ. * ... setting either #ISC_FSACCESS_CREATECHILD or #ISC_FSACCESS_DELETECHILD diff --git a/lib/isc/include/isc/hmac.h b/lib/isc/include/isc/hmac.h index 8fdc1a45b9..6bff1c6b25 100644 --- a/lib/isc/include/isc/hmac.h +++ b/lib/isc/include/isc/hmac.h @@ -106,7 +106,7 @@ isc_hmac_update(isc_hmac_t *hmac, const unsigned char *buf, const size_t len); * isc_hmac_final: * @hmac: HMAC context * @digest: the output buffer - * @digestlen: the lenth of the data written to @digest + * @digestlen: the length of the data written to @digest * * This function retrieves the message authentication code from @hmac and places * it in @digest, which must have space for the hash function output. If the diff --git a/lib/isc/include/isc/lex.h b/lib/isc/include/isc/lex.h index 8ef0dff753..ee21adcdd4 100644 --- a/lib/isc/include/isc/lex.h +++ b/lib/isc/include/isc/lex.h @@ -176,7 +176,7 @@ isc_lex_getcomments(isc_lex_t *lex); *\li 'lex' is a valid lexer. * * Returns: - *\li The commenting sytles which are currently allowed. + *\li The commenting styles which are currently allowed. */ void diff --git a/lib/isc/include/isc/log.h b/lib/isc/include/isc/log.h index 18784ee35b..9797a4ce1b 100644 --- a/lib/isc/include/isc/log.h +++ b/lib/isc/include/isc/log.h @@ -520,7 +520,7 @@ isc_log_usechannel(isc_logconfig_t *lcfg, const char *name, *\li #ISC_R_NOMEMORY Resource limit: Out of memory */ -/* Attention: next four comments PRECEED code */ +/* Attention: next four comments PRECEDE code */ /*! * \brief * Write a message to the log channels. diff --git a/lib/isc/include/isc/netaddr.h b/lib/isc/include/isc/netaddr.h index 39129f8b54..aa6efe06a0 100644 --- a/lib/isc/include/isc/netaddr.h +++ b/lib/isc/include/isc/netaddr.h @@ -171,7 +171,7 @@ isc_netaddr_fromv4mapped(isc_netaddr_t *t, const isc_netaddr_t *s); isc_result_t isc_netaddr_prefixok(const isc_netaddr_t *na, unsigned int prefixlen); /* - * Test whether the netaddr 'na' and 'prefixlen' are consistant. + * Test whether the netaddr 'na' and 'prefixlen' are consistent. * e.g. prefixlen within range. * na does not have bits set which are not covered by the prefixlen. * diff --git a/lib/isc/include/isc/refcount.h b/lib/isc/include/isc/refcount.h index 647df64a1f..42a0c51ca2 100644 --- a/lib/isc/include/isc/refcount.h +++ b/lib/isc/include/isc/refcount.h @@ -47,7 +47,7 @@ typedef atomic_uint_fast32_t isc_refcount_t; * \param[in] ref pointer to reference counter. * \returns current value of reference counter. * - * Undo implict promotion to 64 bits in our Windows implementation of + * Undo implicit promotion to 64 bits in our Windows implementation of * atomic_load_explicit() by casting to uint_fast32_t. */ diff --git a/lib/isc/include/isc/socket.h b/lib/isc/include/isc/socket.h index 4e8c0bba08..1a04d922d1 100644 --- a/lib/isc/include/isc/socket.h +++ b/lib/isc/include/isc/socket.h @@ -285,7 +285,7 @@ isc_socket_cancel(isc_socket_t *sock, isc_task_t *task, unsigned int how); * * \li "task" is NULL or a valid task * - * "how" is a bitmask describing the type of cancelation to perform. + * "how" is a bitmask describing the type of cancellation to perform. * The type ISC_SOCKCANCEL_ALL will cancel all pending I/O on this * socket. * diff --git a/lib/isc/include/isc/stats.h b/lib/isc/include/isc/stats.h index b24f4d5c5e..f297010e1f 100644 --- a/lib/isc/include/isc/stats.h +++ b/lib/isc/include/isc/stats.h @@ -198,7 +198,7 @@ isc_stats_dump(isc_stats_t *stats, isc_stats_dumper_t dump_fn, void *arg, void isc_stats_set(isc_stats_t *stats, uint64_t val, isc_statscounter_t counter); /*%< - * Set the given counter to the specfied value. + * Set the given counter to the specified value. * * Requires: *\li 'stats' is a valid isc_stats_t. @@ -207,7 +207,7 @@ isc_stats_set(isc_stats_t *stats, uint64_t val, isc_statscounter_t counter); void isc_stats_set(isc_stats_t *stats, uint64_t val, isc_statscounter_t counter); /*%< - * Set the given counter to the specfied value. + * Set the given counter to the specified value. * * Requires: *\li 'stats' is a valid isc_stats_t. diff --git a/lib/isc/include/pk11/constants.h b/lib/isc/include/pk11/constants.h index b1eef95917..a8ae4508d4 100644 --- a/lib/isc/include/pk11/constants.h +++ b/lib/isc/include/pk11/constants.h @@ -17,7 +17,7 @@ /*! \file pk11/constants.h */ /*% - * Static arrays of data used for key template initalization + * Static arrays of data used for key template initialization */ static CK_BYTE pk11_ecc_prime256v1[] = { 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07 }; diff --git a/lib/isc/netmgr/netmgr-int.h b/lib/isc/netmgr/netmgr-int.h index 2c78800406..e233208d6f 100644 --- a/lib/isc/netmgr/netmgr-int.h +++ b/lib/isc/netmgr/netmgr-int.h @@ -292,7 +292,7 @@ struct isc_nm { atomic_bool paused; /* - * Acive connections are being closed and new connections are + * Active connections are being closed and new connections are * no longer allowed. */ atomic_bool closing; @@ -306,7 +306,7 @@ struct isc_nm { atomic_bool interlocked; /* - * Timeout values for TCP connections, coresponding to + * Timeout values for TCP connections, corresponding to * tcp-intiial-timeout, tcp-idle-timeout, tcp-keepalive-timeout, * and tcp-advertised-timeout. Note that these are stored in * milliseconds so they can be used directly with the libuv timer, @@ -438,7 +438,7 @@ struct isc_nmsocket { /*% * TCPDNS socket has exceeded the maximum number of - * simultaneous requests per connecton, so will be temporarily + * simultaneous requests per connection, so will be temporarily * restricted from pipelining. */ atomic_bool overlimit; @@ -571,7 +571,7 @@ isc__nmhandle_get(isc_nmsocket_t *sock, isc_sockaddr_t *peer, isc_sockaddr_t *local); /*%< * Get a handle for the socket 'sock', allocating a new one - * if there isn't one availbale in 'sock->inactivehandles'. + * if there isn't one available in 'sock->inactivehandles'. * * If 'peer' is not NULL, set the handle's peer address to 'peer', * otherwise set it to 'sock->peer'. @@ -584,7 +584,7 @@ isc__nm_uvreq_t * isc__nm_uvreq_get(isc_nm_t *mgr, isc_nmsocket_t *sock); /*%< * Get a UV request structure for the socket 'sock', allocating a - * new one if there isn't one availbale in 'sock->inactivereqs'. + * new one if there isn't one available in 'sock->inactivereqs'. */ void @@ -635,7 +635,7 @@ isc_result_t isc__nm_udp_send(isc_nmhandle_t *handle, isc_region_t *region, isc_nm_cb_t cb, void *cbarg); /*%< - * Back-end implemenation of isc_nm_send() for UDP handles. + * Back-end implementation of isc_nm_send() for UDP handles. */ void @@ -653,7 +653,7 @@ isc_result_t isc__nm_tcp_send(isc_nmhandle_t *handle, isc_region_t *region, isc_nm_cb_t cb, void *cbarg); /*%< - * Back-end implemenation of isc_nm_send() for TCP handles. + * Back-end implementation of isc_nm_send() for TCP handles. */ void @@ -695,7 +695,7 @@ isc_result_t isc__nm_tcpdns_send(isc_nmhandle_t *handle, isc_region_t *region, isc_nm_cb_t cb, void *cbarg); /*%< - * Back-end implemenation of isc_nm_send() for TCPDNS handles. + * Back-end implementation of isc_nm_send() for TCPDNS handles. */ void diff --git a/lib/isc/netmgr/tcp.c b/lib/isc/netmgr/tcp.c index 6abffa3ce5..6e6cee5a40 100644 --- a/lib/isc/netmgr/tcp.c +++ b/lib/isc/netmgr/tcp.c @@ -164,7 +164,7 @@ isc_nm_listentcp(isc_nm_t *mgr, isc_nmiface_t *iface, isc_nm_cb_t cb, if (quota != NULL) { /* * We don't attach to quota, just assign - to avoid - * increasing quota unnecesarily. + * increasing quota unnecessarily. */ nsock->pquota = quota; } diff --git a/lib/isc/regex.c b/lib/isc/regex.c index 2f257b4c14..be07ebbd77 100644 --- a/lib/isc/regex.c +++ b/lib/isc/regex.c @@ -152,7 +152,7 @@ isc_regex_validate(const char *c) { } ++c; break; - case '|': /* alternative seperator */ + case '|': /* alternative separator */ if (!have_atom) { FAIL("no atom"); } diff --git a/lib/isc/task.c b/lib/isc/task.c index 1532d70ed9..859b507826 100644 --- a/lib/isc/task.c +++ b/lib/isc/task.c @@ -290,7 +290,7 @@ isc_task_create_bound(isc_taskmgr_t *manager0, unsigned int quantum, if (threadid == -1) { /* * Task is not pinned to a queue, it's threadid will be - * choosen when first task will be sent to it - either + * chosen when first task will be sent to it - either * randomly or specified by isc_task_sendto. */ task->bound = false; @@ -1076,7 +1076,7 @@ dispatch(isc__taskmgr_t *manager, unsigned int threadid) { * bit. * * Broadcasting on halt_cond seems suboptimal, but - * exclusive tasks are rare enought that we don't + * exclusive tasks are rare enough that we don't * care. */ LOCK(&manager->halt_lock); diff --git a/lib/isc/unix/include/isc/time.h b/lib/isc/unix/include/isc/time.h index 6e7afeb13a..98d0ae82f7 100644 --- a/lib/isc/unix/include/isc/time.h +++ b/lib/isc/unix/include/isc/time.h @@ -387,7 +387,7 @@ void isc_time_formatshorttimestamp(const isc_time_t *t, char *buf, unsigned int len); /*%< * Format the time 't' into the buffer 'buf' of length 'len', - * using the format "yyyymmddhhmmsssss" userful for file timestamping. + * using the format "yyyymmddhhmmsssss" useful for file timestamping. * If the text does not fit in the buffer, the result is indeterminate, * but is always guaranteed to be null terminated. * diff --git a/lib/isc/unix/socket.c b/lib/isc/unix/socket.c index 1883cdec49..f549f6c887 100644 --- a/lib/isc/unix/socket.c +++ b/lib/isc/unix/socket.c @@ -4477,7 +4477,7 @@ bind_socket: /* * Enable this only for specific OS versions, and only when they have repaired * their problems with it. Until then, this is is broken and needs to be - * diabled by default. See RT22589 for details. + * disabled by default. See RT22589 for details. */ #undef ENABLE_ACCEPTFILTER diff --git a/lib/isc/win32/include/isc/bindevt.h b/lib/isc/win32/include/isc/bindevt.h index 3adcfbf377..4709bda076 100644 --- a/lib/isc/win32/include/isc/bindevt.h +++ b/lib/isc/win32/include/isc/bindevt.h @@ -18,7 +18,7 @@ */ /* - * Values are 32 bit values layed out as follows: + * Values are 32 bit values laid out as follows: * * 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1 * 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 diff --git a/lib/isc/win32/include/isc/time.h b/lib/isc/win32/include/isc/time.h index 2eb83e4198..7745e54874 100644 --- a/lib/isc/win32/include/isc/time.h +++ b/lib/isc/win32/include/isc/time.h @@ -350,7 +350,7 @@ void isc_time_formatshorttimestamp(const isc_time_t *t, char *buf, unsigned int len); /*%< * Format the time 't' into the buffer 'buf' of length 'len', - * using the format "yyyymmddhhmmsssss" userful for file timestamping. + * using the format "yyyymmddhhmmsssss" useful for file timestamping. * If the text does not fit in the buffer, the result is indeterminate, * but is always guaranteed to be null terminated. * diff --git a/lib/isc/win32/pk11_api.c b/lib/isc/win32/pk11_api.c index bfd0359905..d6e2eb9e02 100644 --- a/lib/isc/win32/pk11_api.c +++ b/lib/isc/win32/pk11_api.c @@ -75,7 +75,7 @@ pkcs_C_Initialize(CK_VOID_PTR pReserved) { if (lib_name == NULL) { return (CKR_LIBRARY_FAILED_TO_LOAD); } - /* Visual Studio convertion issue... */ + /* Visual Studio conversion issue... */ if (*lib_name == ' ') { lib_name++; } diff --git a/lib/isc/win32/socket.c b/lib/isc/win32/socket.c index ad10f8344e..c93a635654 100644 --- a/lib/isc/win32/socket.c +++ b/lib/isc/win32/socket.c @@ -1470,7 +1470,7 @@ consistent(isc_socket_t *sock) { /* * Maybe free the socket. * - * This function will verify tht the socket is no longer in use in any way, + * This function will verify that the socket is no longer in use in any way, * either internally or externally. This is the only place where this * check is to be made; if some bit of code believes that IT is done with * the socket (e.g., some reference counter reaches zero), it should call @@ -2300,7 +2300,7 @@ connectdone_is_active(isc_socket_t *sock, isc_socket_connev_t *dev) { /* */ /* One specific one is when a TCP SYN scan is used. In this situation, */ /* Windows responds with the SYN-ACK, but the scanner never responds with */ -/* the 3rd packet, the ACK. Windows consiers this a partially open connection. +/* the 3rd packet, the ACK. Windows considers this a partially open connection. */ /* Most Unix networking stacks, and Windows without McAfee installed, will */ /* not return this to the caller. However, with this product installed, */ @@ -2338,7 +2338,7 @@ restart_accept(isc_socket_t *parent, IoCompletionInfo *lpo) { 0, /* Length of Buffer */ sizeof(SOCKADDR_STORAGE) + 16, /* Local address length + 16 */ - sizeof(SOCKADDR_STORAGE) + 16, /* Remote address lengh + 16 + sizeof(SOCKADDR_STORAGE) + 16, /* Remote address length + 16 */ (LPDWORD)&lpo->received_bytes, /* Bytes Recved */ (LPOVERLAPPED)lpo /* Overlapped structure */ @@ -3195,7 +3195,7 @@ isc_socket_accept(isc_socket_t *sock, isc_task_t *task, isc_taskaction_t action, 0, /* Length of Buffer */ sizeof(SOCKADDR_STORAGE) + 16, /* Local address length + 16 */ - sizeof(SOCKADDR_STORAGE) + 16, /* Remote address lengh + 16 + sizeof(SOCKADDR_STORAGE) + 16, /* Remote address length + 16 */ (LPDWORD)&lpo->received_bytes, /* Bytes Recved */ (LPOVERLAPPED)lpo /* Overlapped structure */ diff --git a/lib/isccfg/namedconf.c b/lib/isccfg/namedconf.c index a80bb25357..516be5cc2b 100644 --- a/lib/isccfg/namedconf.c +++ b/lib/isccfg/namedconf.c @@ -2806,7 +2806,7 @@ doc_minimal(cfg_printer_t *pctx, const cfg_type_t *type) { cfg_doc_enum_or_other(pctx, type, &cfg_type_boolean); } static cfg_type_t cfg_type_minimal = { - "mimimal", parse_minimal, cfg_print_ustring, + "minimal", parse_minimal, cfg_print_ustring, doc_minimal, &cfg_rep_string, minimal_enums, }; @@ -3148,7 +3148,7 @@ static cfg_type_t cfg_type_querysource = { "querysource", NULL, /*% * The socket address syntax in the "controls" statement is silly. * It allows both socket address families, but also allows "*", - * whis is gratuitously interpreted as the IPv4 wildcard address. + * which is gratuitously interpreted as the IPv4 wildcard address. */ static unsigned int controls_sockaddr_flags = CFG_ADDR_V4OK | CFG_ADDR_V6OK | CFG_ADDR_WILDOK; diff --git a/lib/isccfg/parser.c b/lib/isccfg/parser.c index 8bc7a66061..7c80f214bd 100644 --- a/lib/isccfg/parser.c +++ b/lib/isccfg/parser.c @@ -3745,10 +3745,10 @@ parser_complain(cfg_parser_t *pctx, bool is_warning, unsigned int flags, } len = vsnprintf(message, sizeof(message), format, args); -#define ELIPSIS " ... " +#define ELLIPSIS " ... " if (len >= sizeof(message)) { - message[sizeof(message) - sizeof(ELIPSIS)] = 0; - strlcat(message, ELIPSIS, sizeof(message)); + message[sizeof(message) - sizeof(ELLIPSIS)] = 0; + strlcat(message, ELLIPSIS, sizeof(message)); } if ((flags & (CFG_LOG_NEAR | CFG_LOG_BEFORE | CFG_LOG_NOPREP)) != 0) { diff --git a/lib/ns/include/ns/query.h b/lib/ns/include/ns/query.h index 0831d0785c..18e74dec15 100644 --- a/lib/ns/include/ns/query.h +++ b/lib/ns/include/ns/query.h @@ -142,7 +142,7 @@ struct query_ctx { bool authoritative; /* authoritative query? */ bool want_restart; /* CNAME chain or other * restart needed */ - bool need_wildcardproof; /* wilcard proof needed */ + bool need_wildcardproof; /* wildcard proof needed */ bool nxrewrite; /* negative answer from RPZ */ bool findcoveringnsec; /* lookup covering NSEC */ bool answer_has_ns; /* NS is in answer */ diff --git a/lib/ns/query.c b/lib/ns/query.c index 3e4d86d761..482b3f3b01 100644 --- a/lib/ns/query.c +++ b/lib/ns/query.c @@ -2903,7 +2903,7 @@ rpz_get_p_name(ns_client_t *client, dns_name_t *p_name, dns_rpz_zone_t *rpz, */ if (labels - first < 2) { rpz_log_fail(client, DNS_RPZ_ERROR_LEVEL, suffix, - rpz_type, "concatentate()", result); + rpz_type, "concatenate()", result); return (ISC_R_FAILURE); } /* @@ -2911,7 +2911,7 @@ rpz_get_p_name(ns_client_t *client, dns_name_t *p_name, dns_rpz_zone_t *rpz, */ if (first == 0) { rpz_log_fail(client, DNS_RPZ_DEBUG_LEVEL1, suffix, - rpz_type, "concatentate()", result); + rpz_type, "concatenate()", result); } ++first; } @@ -4089,7 +4089,7 @@ rpz_rewrite(ns_client_t *client, dns_rdatatype_t qtype, isc_result_t qresult, * 2nd zone matters until after recursing to get the A RRs and * testing them in the first zone. * Do not bother saving the work from this attempt, - * because recusion is so slow. + * because recursion is so slow. */ if (qresult_type == qresult_type_recurse) { goto cleanup; @@ -4121,7 +4121,7 @@ rpz_rewrite(ns_client_t *client, dns_rdatatype_t qtype, isc_result_t qresult, } /* * We are finished checking the IP addresses for the qname. - * Start with IPv4 if we will check NS IP addesses. + * Start with IPv4 if we will check NS IP addresses. */ st->state |= DNS_RPZ_DONE_QNAME_IP; st->state &= ~DNS_RPZ_DONE_IPv4; @@ -5245,7 +5245,7 @@ root_key_sentinel_detect(query_ctx_t *qctx) { } qctx->client->query.root_key_sentinel_is_ta = true; /* - * Simplify processing by disabling agressive + * Simplify processing by disabling aggressive * negative caching. */ qctx->findcoveringnsec = false; @@ -5260,7 +5260,7 @@ root_key_sentinel_detect(query_ctx_t *qctx) { } qctx->client->query.root_key_sentinel_not_ta = true; /* - * Simplify processing by disabling agressive + * Simplify processing by disabling aggressive * negative caching. */ qctx->findcoveringnsec = false; @@ -6521,7 +6521,7 @@ query_checkrpz(query_ctx_t *qctx, isc_result_t result) { } case DNS_RPZ_POLICY_CNAME: /* - * Add overridding CNAME from a named.conf + * Add overriding CNAME from a named.conf * response-policy statement */ result = query_rpzcname(qctx, @@ -7304,7 +7304,7 @@ cleanup: } /*% - * Build a repsonse for a "normal" query, for a type other than ANY, + * Build a response for a "normal" query, for a type other than ANY, * for which we have an answer (either positive or negative). */ static isc_result_t @@ -8825,7 +8825,7 @@ query_synthnodata(query_ctx_t *qctx, const dns_name_t *signer, isc_result_t result; /* - * Detemine the correct TTL to use for the SOA and RRSIG + * Determine the correct TTL to use for the SOA and RRSIG */ ttl = query_synthttl(*soardatasetp, *sigsoardatasetp, qctx->rdataset, qctx->sigrdataset, NULL, NULL); @@ -9043,7 +9043,7 @@ query_synthnxdomain(query_ctx_t *qctx, dns_name_t *nowild, CCTRACE(ISC_LOG_DEBUG(3), "query_synthnxdomain"); /* - * Detemine the correct TTL to use for the SOA and RRSIG + * Determine the correct TTL to use for the SOA and RRSIG */ ttl = query_synthttl(*soardatasetp, *sigsoardatasetp, qctx->rdataset, qctx->sigrdataset, nowildrdataset, @@ -9167,7 +9167,7 @@ checksignames(dns_name_t *signer, dns_rdataset_t *sigrdataset) { /*% * Handle covering NSEC responses. * - * Verify the NSEC record is apropriate for the QNAME; if not, + * Verify the NSEC record is appropriate for the QNAME; if not, * redo the initial query without DNS_DBFIND_COVERINGNSEC. * * If the covering NSEC proves that the name exists but not the type, @@ -9797,7 +9797,7 @@ cleanup: } /*% - * Add CNAME to repsonse. + * Add CNAME to response. */ static isc_result_t query_addcname(query_ctx_t *qctx, dns_trust_t trust, dns_ttl_t ttl) { diff --git a/lib/ns/update.c b/lib/ns/update.c index 0377a44949..821f857e87 100644 --- a/lib/ns/update.c +++ b/lib/ns/update.c @@ -1688,38 +1688,38 @@ static isc_result_t remove_orphaned_ds(dns_db_t *db, dns_dbversion_t *newver, dns_diff_t *diff) { isc_result_t result; bool ns_exists; - dns_difftuple_t *tupple; + dns_difftuple_t *tuple; dns_diff_t temp_diff; dns_diff_init(diff->mctx, &temp_diff); - for (tupple = ISC_LIST_HEAD(diff->tuples); tupple != NULL; - tupple = ISC_LIST_NEXT(tupple, link)) + for (tuple = ISC_LIST_HEAD(diff->tuples); tuple != NULL; + tuple = ISC_LIST_NEXT(tuple, link)) { - if (!((tupple->op == DNS_DIFFOP_DEL && - tupple->rdata.type == dns_rdatatype_ns) || - (tupple->op == DNS_DIFFOP_ADD && - tupple->rdata.type == dns_rdatatype_ds))) + if (!((tuple->op == DNS_DIFFOP_DEL && + tuple->rdata.type == dns_rdatatype_ns) || + (tuple->op == DNS_DIFFOP_ADD && + tuple->rdata.type == dns_rdatatype_ds))) { continue; } - CHECK(rrset_exists(db, newver, &tupple->name, dns_rdatatype_ns, + CHECK(rrset_exists(db, newver, &tuple->name, dns_rdatatype_ns, 0, &ns_exists)); if (ns_exists && - !dns_name_equal(&tupple->name, dns_db_origin(db))) { + !dns_name_equal(&tuple->name, dns_db_origin(db))) { continue; } - CHECK(delete_if(true_p, db, newver, &tupple->name, + CHECK(delete_if(true_p, db, newver, &tuple->name, dns_rdatatype_ds, 0, NULL, &temp_diff)); } result = ISC_R_SUCCESS; failure: - for (tupple = ISC_LIST_HEAD(temp_diff.tuples); tupple != NULL; - tupple = ISC_LIST_HEAD(temp_diff.tuples)) + for (tuple = ISC_LIST_HEAD(temp_diff.tuples); tuple != NULL; + tuple = ISC_LIST_HEAD(temp_diff.tuples)) { - ISC_LIST_UNLINK(temp_diff.tuples, tupple, link); - dns_diff_appendminimal(diff, &tupple); + ISC_LIST_UNLINK(temp_diff.tuples, tuple, link); + dns_diff_appendminimal(diff, &tuple); } return (result); } @@ -2159,7 +2159,7 @@ add_nsec3param_records(ns_client_t *client, dns_zone_t *zone, dns_db_t *db, next = ISC_LIST_NEXT(tuple, link); if ((tuple->rdata.data[1] & ~DNS_NSEC3FLAG_OPTOUT) != 0) { /* - * If we havn't had any adds then the tuple->ttl must + * If we haven't had any adds then the tuple->ttl must * be the original ttl and should be used for any * future changes. */ @@ -2185,7 +2185,7 @@ add_nsec3param_records(ns_client_t *client, dns_zone_t *zone, dns_db_t *db, for (tuple = ISC_LIST_HEAD(temp_diff.tuples); tuple != NULL; tuple = next) { /* - * If we havn't had any adds then the tuple->ttl must be the + * If we haven't had any adds then the tuple->ttl must be the * original ttl and should be used for any future changes. */ if (!ttl_good) { @@ -2197,7 +2197,7 @@ add_nsec3param_records(ns_client_t *client, dns_zone_t *zone, dns_db_t *db, /* * Look for any deletes which match this ADD ignoring - * flags. We don't need to explictly remove them as + * flags. We don't need to explicitly remove them as * they will be removed a side effect of processing * the add. */ @@ -2254,7 +2254,7 @@ add_nsec3param_records(ns_client_t *client, dns_zone_t *zone, dns_db_t *db, /* * Remove any existing CREATE request to add an - * otherwise indentical chain with a reversed + * otherwise identical chain with a reversed * OPTOUT state. */ buf[2] ^= DNS_NSEC3FLAG_OPTOUT; diff --git a/util/update_copyrights b/util/update_copyrights index 5ba9209876..c3d44da19e 100644 --- a/util/update_copyrights +++ b/util/update_copyrights @@ -150,7 +150,7 @@ foreach $file (keys %file_types) { s/^(\s{0,3}\d*\.)\s(\[\w{1,5}\])\s+(\S+)/$1\t$2\t\t$3/; s/^(\s{0,3}\d*\.)\s(\[\w{6,}\])\s+(\S+)/$1\t$2\t$3/; # Convert 8 spaces into tabs if at start of line - # or preceeded by tabs. + # or preceded by tabs. s/^(\t*) /$1\t/ while (/^\t* /); # Remove trailing white space. s/[ \t]*$//; @@ -523,7 +523,7 @@ foreach $file (keys %file_types) { # tab if at start of line or proceeded by tabs. # s/^(\t*) {1,7}\t/$1\t/ while (/^\t* {1,7}\t/); # Convert 8 spaces into tabs if at start of line - # or preceeded by tabs. + # or preceded by tabs. # s/^(\t*) {8}/$1\t/ while (/^\t* {8}/); # Remove trailing white space. s/[ \t]*$//; diff --git a/win32utils/Configure b/win32utils/Configure index d95e70e1e8..137f8beaf1 100644 --- a/win32utils/Configure +++ b/win32utils/Configure @@ -412,7 +412,7 @@ my @help = ( " clean (command) clean up generated files\n", " (command) print a summary of the configuration\n", "\nOptional Features:\n", -" enable-intrinsics enable instrinsic/atomic functions [default=yes]\n", +" enable-intrinsics enable intrinsic/atomic functions [default=yes]\n", " enable-native-pkcs11 use native PKCS#11 for all crypto [default=no]\n", " enable-openssl-hash use OpenSSL for hash functions [default=yes]\n", " enable-isc-spnego use SPNEGO from lib/dns [default=yes]\n",