]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
spelling: an
authorJosh Soref <2119212+jsoref@users.noreply.github.com>
Wed, 19 Nov 2025 18:44:50 +0000 (13:44 -0500)
committerJosh Soref <2119212+jsoref@users.noreply.github.com>
Thu, 20 Nov 2025 12:31:10 +0000 (07:31 -0500)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
41 files changed:
.github/workflows/build-docker-images.yml
.github/workflows/formatting.yml
.github/workflows/secpoll.yml
CODING_GUIDELINES.md
docs/backends/generic-sql.rst
docs/backends/lua2.rst
docs/manpages/pdnsutil.1.rst
docs/modes-of-operation.rst
modules/geoipbackend/regression-tests/apex-record/description
modules/remotebackend/test-remotebackend-http.cc
modules/remotebackend/test-remotebackend-json.cc
modules/remotebackend/test-remotebackend-pipe.cc
modules/remotebackend/test-remotebackend-post.cc
modules/remotebackend/test-remotebackend-unix.cc
modules/remotebackend/test-remotebackend-zeromq.cc
pdns/backends/gsql/gsqlbackend.cc
pdns/dnsbackend.hh
pdns/dnsdistdist/dnsdist-idstate.hh
pdns/dnsdistdist/dnsdist-snmp.cc
pdns/dnsdistdist/docs/changelog.rst
pdns/dnsdistdist/docs/guides/downstreams.rst
pdns/dnsdistdist/docs/guides/webserver.rst
pdns/dnsdistdist/docs/reference/logging.rst
pdns/dnsdistdist/test-dnsdistserverpool.cc
pdns/lock.hh
pdns/recursordist/docs/changelog/4.6.rst
pdns/recursordist/docs/security-advisories/powerdns-advisory-2023-01.rst
pdns/recursordist/negcache.cc
pdns/recursordist/rec-eventtrace.hh
pdns/recursordist/rec-rust-lib/README.md
pdns/recursordist/rec-rust-lib/docs-new-preamble-in.rst
pdns/recursordist/rec-rust-lib/rust-bridge-in.rs
pdns/recursordist/rec-rust-lib/table.py
pdns/recursordist/rec-snmp.cc
pdns/recursordist/rec-system-resolve.cc
pdns/recursordist/recursor_cache.cc
pdns/recursordist/test-aggressive_nsec_cc.cc
pdns/rfc2136handler.cc
regression-tests.recursor-dnssec/test_Cookies.py
regression-tests.recursor-dnssec/test_RoutingTag.py
regression-tests.recursor-dnssec/test_ServerNames.py

index 6fb24c92420e908f892826acbe751f4ef9fbbefc..f9f1e2ed82cabbe4eb378795775a2805b88a5608 100644 (file)
@@ -241,7 +241,7 @@ jobs:
         run: |
           for tag in `echo "${INPUT_IMAGE_TAGS}" | tr '\n' ' '`; do
             echo 'Testing: '${IMAGE_NAME}':'${tag};
-            # recent pdns-auth images of tags older than 4.9.x image return a exit code 99
+            # recent pdns-auth images of tags older than 4.9.x image return an exit code 99
             docker run ${IMAGE_NAME}:${tag} --version || [ "$?" == "99" ]
           done
       - name: Check image digest matches
index 1500c64d7bf412fd421689aec71fc6de64ed97dd..baad58721e72a5736a7f490d49073e4aeeb2ba2e 100644 (file)
@@ -11,7 +11,7 @@ permissions: # least privileges, see https://docs.github.com/en/actions/using-wo
 jobs:
   build:
     name: Verify source code formatting; check Makefile.am sort order
-    # on a ubuntu-24.04 VM
+    # on an ubuntu-24.04 VM
     runs-on: ubuntu-24.04
     steps:
       - uses: actions/checkout@v5
index b996db22a9d0fd5941704a286b0b73eb86bab2a5..9854a088b5f92c48776abace89489bbde45b5f73 100644 (file)
@@ -11,7 +11,7 @@ permissions: # least privileges, see https://docs.github.com/en/actions/using-wo
 jobs:
   build:
     name: check secpoll zone
-    # on a ubuntu-24.04 VM
+    # on an ubuntu-24.04 VM
     runs-on: ubuntu-24.04
     steps:
       - uses: PowerDNS/pdns/set-ubuntu-mirror@meta
index a57063b7a063c168af909f63bd66e8c4e0005842..9febe5a079afc14c9c62e2028c155633c3eea843 100644 (file)
@@ -68,7 +68,7 @@ It means that if an object is correctly designed, the resources associated with
 Since stack-allocated objects, like local variables in a function, are automatically destroyed when a function exits, be it by reaching the last line, calling return or throwing an exception, it makes it possible to ensure that resources are always properly destroyed by wrapping them in an object.
 
 We describe the use of smart pointers, containers and other wrappers for that purpose below, but first a few words of caution.
-Resources stored in a object are only tied to this object if the constructor executes fully and completes properly.
+Resources stored in an object are only tied to this object if the constructor executes fully and completes properly.
 If an exception is raised in the constructor's body, the object is not created and therefore the destructor will not be called.
 This means that if the object has non-object members holding resources, like raw file descriptors or raw C-style pointers, they need to be explicitly released before raising the exception; otherwise, they are lost or leaked.
 
index c2cea298ee9848ec9cf8a3ea022ae53fedd82bf3..f84f3dec6648cadbcc3c8d4b36d2a905c99aee64 100644 (file)
@@ -351,8 +351,8 @@ On secondaries
 On autoprimary
 ~~~~~~~~~~~~~~
 
--  ``autoprimary-query``: Called to determine if a certain host is a autoprimary for a certain domain name.
--  ``autoprimary-name-to-ips``: Called to the IP and account for a autoprimary.
+-  ``autoprimary-query``: Called to determine if a certain host is an autoprimary for a certain domain name.
+-  ``autoprimary-name-to-ips``: Called to the IP and account for an autoprimary.
 
 TSIG
 ^^^^
index a35b91605f93cc27e9d9767e9788f536f99b5a93..00a14729e5d454c4a30cf3451eee4547c04f701b 100644 (file)
@@ -54,7 +54,7 @@ INPUT:
  - table ctx - Query context table, contains ``source_address`` and ``real_source_address``.
 
 OUTPUT:
- Expects a array which has tables with following keys:
+ Expects an array which has tables with following keys:
 
  - DNSName name - resource record name (can also be string)
  - string type - type of resource record (can also be QType or valid integer)
index deeec130bd5569ca5cbfcf8040f9e625b9d8d26c..6d9efe6bc75ef1b5b52914e1aedc5a95c33ba00d 100644 (file)
@@ -37,7 +37,7 @@ AUTOPRIMARY COMMANDS
 
 autoprimary add *IP* *NAMESERVER* [*ACCOUNT*]
 
-    Add a autoprimary entry into the backend. This enables receiving zone
+    Add an autoprimary entry into the backend. This enables receiving zone
     updates from other servers.
 
 autoprimary list
index b2b6f57b49e57aa08c4d7727e7506c15215bc0a1..f32b08691db035cba494dd0b2b8e337da9d3416f 100644 (file)
@@ -263,7 +263,7 @@ of NS records remotely, and the 'account' name of your autoprimary.
 There is no need to fill the account name out but it does help keep
 track of where a domain comes from.
 Additionally, if a secondary selects multiple autoprimaries for a zone based on the name of the primary, it also checks that the ``account`` field is the same for all.
-Adding a autoprimary can be done either directly in the database,
+Adding an autoprimary can be done either directly in the database,
 or by using the ``pdnsutil autoprimary add`` command (``pdnsutil
 add-autoprimary`` prior to version 5.0).
 
index b1ecc211c929a86d850dcdc3cc5c53cb981b941a..4d07b939a271dbaa9cc93c3eaa22ce02f747b79d 100644 (file)
@@ -1 +1 @@
-This test checks that you can have a apex record as both service record and static record.
+This test checks that you can have an apex record as both service record and static record.
index b103fb64ba8673477fcfb81b6d665291dc174296..f4b371c5f9379527413ae46b1e82be4a469e4db4 100644 (file)
@@ -77,7 +77,7 @@ struct RemotebackendSetup
       ::arg().set("module-dir") = "./.libs";
       auto loader = std::make_unique<RemoteLoader>();
       BackendMakers().launch("remote");
-      // then get us a instance of it
+      // then get us an instance of it
       ::arg().set("remote-connection-string") = "http:url=http://localhost:62434/dns";
       ::arg().set("remote-dnssec") = "yes";
       backendUnderTest = std::move(BackendMakers().all()[0]);
index 88f7c183d94f579a1a9c20fbfac7771dbe0a59e9..5dc7a7f32332a3dfed3d8f3d7cb04d59224e8c51 100644 (file)
@@ -75,7 +75,7 @@ struct RemotebackendSetup
       ::arg().set("module-dir") = "./.libs";
       auto loader = std::make_unique<RemoteLoader>();
       BackendMakers().launch("remote");
-      // then get us a instance of it
+      // then get us an instance of it
       ::arg().set("remote-connection-string") = "http:url=http://localhost:62434/dns/endpoint.json,post=1,post_json=1";
       ::arg().set("remote-dnssec") = "yes";
       backendUnderTest = std::move(BackendMakers().all()[0]);
index 5687fd6a5538bffd41f21124c88e9fdff308b728..f09df99ac708d86bb5f5f2eb3c194370c4a46b3b 100644 (file)
@@ -75,7 +75,7 @@ struct RemotebackendSetup
       ::arg().set("module-dir") = "./.libs";
       auto loader = std::make_unique<RemoteLoader>();
       BackendMakers().launch("remote");
-      // then get us a instance of it
+      // then get us an instance of it
       ::arg().set("remote-connection-string") = "pipe:command=unittest_pipe.py";
       ::arg().set("remote-dnssec") = "yes";
       backendUnderTest = std::move(BackendMakers().all()[0]);
index 3db16dfddd045b4d984ef18155067a9cbe028142..b1f55f6047747133b610fdc0cac114f86474ea1c 100644 (file)
@@ -75,7 +75,7 @@ struct RemotebackendSetup
       ::arg().set("module-dir") = "./.libs";
       auto loader = std::make_unique<RemoteLoader>();
       BackendMakers().launch("remote");
-      // then get us a instance of it
+      // then get us an instance of it
       ::arg().set("remote-connection-string") = "http:url=http://localhost:62434/dns,post=1";
       ::arg().set("remote-dnssec") = "yes";
       backendUnderTest = std::move(BackendMakers().all()[0]);
index b9f6067a76792d36bf4c803f551371e432c95e9d..29c48ee5afa73771db8be6f805ccb22e6d1b8d8b 100644 (file)
@@ -75,7 +75,7 @@ struct RemotebackendSetup
       ::arg().set("module-dir") = "./.libs";
       auto loader = std::make_unique<RemoteLoader>();
       BackendMakers().launch("remote");
-      // then get us a instance of it
+      // then get us an instance of it
       ::arg().set("remote-connection-string") = "unix:path=/tmp/remotebackend.sock";
       ::arg().set("remote-dnssec") = "yes";
       backendUnderTest = std::move(BackendMakers().all()[0]);
index df5bd69ca2cf1e7863f2fe63849db88859c1ddea..01f43b3945c7e29a03996a476ba5a1188f4581ac 100644 (file)
@@ -77,7 +77,7 @@ struct RemotebackendSetup
       ::arg().set("module-dir") = "./.libs";
       auto loader = std::make_unique<RemoteLoader>();
       BackendMakers().launch("remote");
-      // then get us a instance of it
+      // then get us an instance of it
       ::arg().set("remote-connection-string") = "zeromq:endpoint=ipc:///tmp/remotebackend.0";
       ::arg().set("remote-dnssec") = "yes";
       backendUnderTest = std::move(BackendMakers().all()[0]);
index 120d216bd3fa688eb7c3e221c7df16050178202d..5826b318c4d54eff2a8fbbc10539bce22fec0bc8 100644 (file)
@@ -1697,7 +1697,7 @@ bool GSQLBackend::autoPrimaryBackend(const string& ipAddress, const ZoneName& do
       // clang-format on
     }
     catch (SSqlException &e) {
-      throw PDNSException("GSQLBackend unable to search for a autoprimary with IP " + ipAddress + " and nameserver name '" + i.content + "' for domain '" + domain.toLogString() + "': " + e.txtReason());
+      throw PDNSException("GSQLBackend unable to search for an autoprimary with IP " + ipAddress + " and nameserver name '" + i.content + "' for domain '" + domain.toLogString() + "': " + e.txtReason());
     }
     if(!d_result.empty()) {
       ASSERT_ROW_COLUMNS("autoprimary-query", d_result[0], 1);
index 999559f8ba64bc4b5e7dab74e40d8fb3d79b0208..66d37451773978cbcd230fd8004ebea761796998 100644 (file)
@@ -441,7 +441,7 @@ public:
     return false;
   }
 
-  //! determine if ip is a autoprimary or a domain
+  //! determine if ip is an autoprimary or a domain
   virtual bool autoPrimaryBackend(const string& /* ip */, const ZoneName& /* domain */, const vector<DNSResourceRecord>& /* nsset */, string* /* nameserver */, string* /* account */, DNSBackend** /* db */)
   {
     return false;
@@ -453,7 +453,7 @@ public:
     return false;
   }
 
-  //! called by PowerDNS to create a secondary record for a autoPrimary
+  //! called by PowerDNS to create a secondary record for an autoPrimary
   virtual bool createSecondaryDomain(const string& /* ip */, const ZoneName& /* domain */, const string& /* nameserver */, const string& /* account */)
   {
     return false;
index 25ecbb36c1d624a437cc4f64753dc7b42a4f5a4d..eaa9975f9783cd5014273ef63fa7f5e470c0c88b 100644 (file)
@@ -302,7 +302,7 @@ struct IDState
        mostly to keep some counters like the 'outstanding' one sane.
 
      We have two flags:
-     - inUse tells us if there currently is a in-flight query whose state is stored
+     - inUse tells us if there currently is an in-flight query whose state is stored
        in this state
      - locked tells us whether someone currently owns the state, so no-one else can touch
        it
index d870e0b0cdc6734e820f0906a5c16c123c193150..72d67794fee3c95806015cfe10ec9ca6a9b125b9 100644 (file)
@@ -72,7 +72,7 @@ static std::unordered_map<oid, dnsdist::metrics::Stats::entry_t> s_statsMap;
 
 /* We are never called for a GETNEXT if it's registered as a
    "instance", as it's "magically" handled for us.  */
-/* a instance handler also only hands us one request at a time, so
+/* an instance handler also only hands us one request at a time, so
    we don't need to loop over a list of requests; we'll only get one. */
 
 static int handleCounter64Stats(netsnmp_mib_handler* handler,
index 6baa4217f76ec2ce29d4041a7efa70f8e07167f9..60630fea56674d88bf1fd77dea2a7990c89935df 100644 (file)
@@ -3213,7 +3213,7 @@ Changelog
     :pullreq: 11621
     :tickets: 11604
 
-    Fix a crash on a invalid protocol in DoH forwarded-for header
+    Fix a crash on an invalid protocol in DoH forwarded-for header
 
   .. change::
     :tags: Bug Fixes
@@ -3525,7 +3525,7 @@ Changelog
     :pullreq: 11667
     :tickets: 11621
 
-    Fix a crash on a invalid protocol in DoH forwarded-for header
+    Fix a crash on an invalid protocol in DoH forwarded-for header
 
 .. changelog::
   :version: 1.7.1
index ffa27171226aba0a75e1a4b03dfc879874f85182..8e385c7edfa5a3b3429566edcd9e199274bdd26e 100644 (file)
@@ -83,7 +83,7 @@ Since 1.8.0, dnsdist implements a ``lazy`` mode that can be set via the ``health
    :align: center
    :alt: DNSDist Lazy health checks
 
-The threshold of failed regular queries is configured via ``lazyHealthCheckThreshold``, indicating of percentage of regular queries that should have resulted in a failure over the last recent queries. Only the results of the last ``lazyHealthCheckSampleSize`` queries will be considered, as the results are kept in a in-memory circular buffer. The results of at least ``lazyHealthCheckMinSampleCount`` queries should be present for the threshold to be considered meaningful, to avoid an issue with a too small sample.
+The threshold of failed regular queries is configured via ``lazyHealthCheckThreshold``, indicating of percentage of regular queries that should have resulted in a failure over the last recent queries. Only the results of the last ``lazyHealthCheckSampleSize`` queries will be considered, as the results are kept in an in-memory circular buffer. The results of at least ``lazyHealthCheckMinSampleCount`` queries should be present for the threshold to be considered meaningful, to avoid an issue with a too small sample.
 
 By default both queries that resulted in a timeout and those that received a ``ServFail`` answer are considered failures, but it is possible to set ``lazyHealthCheckMode`` to ``TimeoutOnly`` so that only timeouts are considered failures.
 
index 6b3447cfca16ce9f99726b9085864e5755863c82..f2bcc9e8481ec161e06195a3b7b00f2406e79315 100755 (executable)
@@ -929,7 +929,7 @@ JSON Objects
   :property integer tlsHandshakeFailuresUnknownKeyExchangeType: Amount of TLS connections where the client has tried to negotiate an unknown TLS key-exchange mechanism
   :property integer tlsHandshakeFailuresUnknownProtocol: Amount of TLS connections where the client has tried to negotiate an unknown TLS version
   :property integer tlsHandshakeFailuresUnsupportedEC: Amount of TLS connections where the client has tried to negotiate an unsupported elliptic curve
-  :property integer tlsHandshakeFailuresUnsupportedProtocol: Amount of TLS connections where the client has tried to negotiate a unsupported TLS version
+  :property integer tlsHandshakeFailuresUnsupportedProtocol: Amount of TLS connections where the client has tried to negotiate an unsupported TLS version
   :property integer tlsInactiveTicketKey: Amount of TLS sessions resumed from an inactive key
   :property integer tlsNewSessions: Amount of new TLS sessions negotiated
   :property integer tlsResumptions: Amount of TLS sessions resumed
index c4b0c0a7941db4fa9f68b0fbf7630a17fbf616d7..f6713bcae39053d68c4106e35cff1c2527b09bc4 100755 (executable)
@@ -5,7 +5,7 @@ There are some functions to create log output.
 \r
 .. function:: errlog(line)\r
 \r
-  Writes a error line.\r
+  Writes an error line.\r
 \r
   :param str line: The line to write.\r
 \r
index 07c4ad472b4a70f4b436a282d14d5c9f987acf7c..f9370adacf2d29ff0c88b339d9f282f3e6790df7 100644 (file)
@@ -149,7 +149,7 @@ BOOST_AUTO_TEST_CASE(test_ServerPoolECSConsistency)
   BOOST_CHECK(!pool.isTCPOnly());
   BOOST_CHECK(!pool.isConsistent());
   /* the pool was in a consistent state without ECS,
-     and now is in a inconsistent state so it not automatically
+     and now is in an inconsistent state so it not automatically
      updated */
   BOOST_CHECK(!pool.getECS());
 }
index 13e28d5aaf442dbce9f1e6ff3121a992d7cf5021..d04e4d1b8d5b40f83ccedd92765a53f9343d24a7 100644 (file)
@@ -65,7 +65,7 @@
 
   - ReadLock, WriteLock, TryReadLock and TryWriteLock are there as RAII
   objects allowing to take a lock and be sure that it will always be unlocked
-  when we exit the block, even with a unforeseen exception.
+  when we exit the block, even with an unforeseen exception.
   They are light wrappers around std::unique_lock and std::shared_lock
   since C++17.
 
index 3629c0e265c1feb8dd96cdd2fdb7c3e2ec6ab822..ac63db846e537ba718cbdd4a2fbfb115b5fabaf0 100644 (file)
@@ -156,7 +156,7 @@ Changelogs for 4.6.X
     :pullreq: 11359
     :tickets: 11257
 
-    Initialize isNew before calling a exception throwing function.
+    Initialize isNew before calling an exception throwing function.
 
   .. change::
     :tags: Improvements
index eba0c3189e662ac0a345ce044710d78e9236944c..2b8ca833238e91c7b5427befeb9e8255a404bc94 100644 (file)
@@ -13,7 +13,7 @@ PowerDNS Security Advisory 2023-01: unbounded recursion results in program termi
 
 An issue in the processing of queries for misconfigured domains has been found in PowerDNS Recursor
 4.8.0, allowing a remote attacker to crash the recursor by sending a DNS query for one of these
-domains.  The issue happens because the recursor enters a unbounded loop, exceeding its stack
+domains.  The issue happens because the recursor enters an unbounded loop, exceeding its stack
 memory. Because of the specific way in which this issue happens, we do not believe this issue to be
 exploitable for code execution.
 
index 7d4f45f532d8afe0d94d7286f031008f58af444c..05be66a04f180a024e41b71f0e98bf6dc962905b 100644 (file)
@@ -72,7 +72,7 @@ bool NegCache::getRootNXTrust(const DNSName& qname, const struct timeval& now, N
 
 void NegCache::updateStaleEntry(time_t now, negcache_t::iterator& entry, QType qtype)
 {
-  // We need to take care a infrequently access stale item cannot be extended past
+  // We need to take care an infrequently access stale item cannot be extended past
   // s_maxServedStaleExtension * s_serveStaleExtensionPeriod
   // We we look how old the entry is, and increase d_servedStale accordingly, taking care not to overflow
   const time_t howlong = std::max(static_cast<time_t>(1), now - entry->d_ttd);
index 34fe36067dccc683604b0257ada8ff1bf5f0643c..f6373172bf55ab2f15aa49c50cd3ce30ec86cd73 100644 (file)
@@ -342,7 +342,7 @@ public:
     ~EventScope()
     {
       // If the dt is called after an explicit close(), value does not matter.
-      // Otherwise, it signals a implicit close, e.g. an exception was thrown
+      // Otherwise, it signals an implicit close, e.g. an exception was thrown
       close(-1);
     }
     EventScope(const EventScope&) = delete;
index ca103be28fdf4e6444a2fbe8886fda78702bf34a..209e2324189e27679461e58b37a55314cfea0c9a 100644 (file)
@@ -168,7 +168,7 @@ void pdns::settings::rec::bridgeStructToOldStyleSettings(const Recursorsettings&
   ...
 ```
 
-Lastly, there is code to support converting a old-style settings to a new-style struct found in `pdns::settings::rec::oldKVToBridgeStruct()`.
+Lastly, there is code to support converting an old-style settings to a new-style struct found in `pdns::settings::rec::oldKVToBridgeStruct()`.
 This code is used to convert old style settings files to YAML (used by `rec_control show-yaml`) and to generate a yaml file with all the defaults values (used by `pdns_recursor --config=default`).
 The functions implementing that are `pdns::settings::rec::oldStyleSettingsFileToYaml` and `std::string pdns::settings::rec::defaultsToYaml()`, found in `cxxsupport.cc`.
 
index 7a4c3b139db40ab5f3f96b729df984b46ed8fb40..fb8b1344eee7abc0ac089510ad04210f6fdc9fe2 100644 (file)
@@ -14,7 +14,7 @@ Settings on the command line are processed after the file-based settings are pro
 
    Starting with version 5.1.0, in the absence of a ``recursor.yml`` file, an existing ``recursor.conf`` will be processed as YAML,
    if that fails, it will be processed as old-style configuration.
-   Packages will stop installing a old-style ``recursor.conf`` file and start installing a default ``recursor.conf`` file containing YAML syntax.
+   Packages will stop installing an old-style ``recursor.conf`` file and start installing a default ``recursor.conf`` file containing YAML syntax.
 
    With the release of 5.2.0, the default will be to expect a YAML configuration file and reading of old-style ``recursor.conf`` files will have to be enabled specifically by providing a command line option ``--enable-old-settings``.
 
index bb7c10eb8ad852d585e4275276a3f9c4c0abfc1e..d7c3bd86dd2b8211b2031c0f139b9886cc291404 100644 (file)
@@ -428,7 +428,7 @@ extern "Rust" {
     fn allow_from_to_yaml_string_incoming(key: &String, filekey: &String, vec: &Vec<String>) -> Result<String>;
     fn allow_for_to_yaml_string(vec: &Vec<String>) -> Result<String>;
 
-    // Merge a string representing YAML settings into a existing setttings struct
+    // Merge a string representing YAML settings into an existing setttings struct
     fn merge(lhs: &mut Recursorsettings, rhs: &str) -> Result<()>;
 
     // Validate the sections inside the main settings struct, sections themselves will validate their fields
index b0566530fe873bb6c3558a3429fce9db5d371364..e8a97ec941cfb9128e5901d503d2f483a152724c 100644 (file)
@@ -2201,7 +2201,7 @@ The dnsdist docs have `more information about the PROXY protocol <https://dnsdis
         'default' : '',
         'help' : 'A Proxy Protocol header should not be used for these listen addresses.',
         'doc' : '''
-If set, clients sending from an address in :ref:`setting-proxy-protocol-from` to a address:port listed here are excluded from using the Proxy Protocol.
+If set, clients sending from an address in :ref:`setting-proxy-protocol-from` to an address:port listed here are excluded from using the Proxy Protocol.
 If no port is specified, port 53 is assumed.
 This is typically used to provide an easy to use address and port to send debug queries to.
  ''',
index 6f82636fc5cf0f54ba27979481fc338b4d39a4cf..6b8bfa03de2c6d443c4abf36f9c74345fa3ff246 100644 (file)
@@ -54,7 +54,7 @@ static std::unordered_map<oid, std::string> s_statsMap;
 
 /* We are never called for a GETNEXT if it's registered as a
    "instance", as it's "magically" handled for us.  */
-/* a instance handler also only hands us one request at a time, so
+/* an instance handler also only hands us one request at a time, so
    we don't need to loop over a list of requests; we'll only get one. */
 
 static int handleCounter64Stats(netsnmp_mib_handler* /* handler */,
index 8a473d40724059719ec86e4ad16c6cadde4936ea..99ef7d12856c38bdae7257c933c7b874a08e451f 100644 (file)
@@ -80,7 +80,7 @@ PacketBuffer resolve(const string& name, QClass cls, QType type)
   return answer;
 }
 
-// do a id.server/CH/TXT query
+// do an id.server/CH/TXT query
 std::string serverID()
 {
   auto buffer = resolve("id.server", QClass::CHAOS, QType::TXT);
index 5e2f5d7466733dfe3581d7d6ea53b013fa527976..b665f0b4bd8d41d3eb6c5e939c95fe6f14fdefd0 100644 (file)
@@ -292,7 +292,7 @@ static void pushRefreshTask(const DNSName& qname, QType qtype, time_t deadline,
 
 void MemRecursorCache::updateStaleEntry(time_t now, MemRecursorCache::OrderedTagIterator_t& entry)
 {
-  // We need to take care a infrequently access stale item cannot be extended past
+  // We need to take care an infrequently access stale item cannot be extended past
   // s_maxServedStaleExtension * s_serveStaleExtensionPeriod
   // We look how old the entry is, and increase d_servedStale accordingly, taking care not to overflow
   const time_t howlong = std::max(static_cast<time_t>(1), now - entry->d_ttd);
index 900d65b62b3482d10334cf5fb606334c12f6dcc3..42f21f7c00d4e36e7de0a8f9e7daf1a7044428ce 100644 (file)
@@ -1211,7 +1211,7 @@ BOOST_AUTO_TEST_CASE(test_aggressive_nsec_pruning)
 
   BOOST_CHECK_EQUAL(cache->getEntriesCount(), 3U);
 
-  /* we have set a upper bound to 2 entries, so we are above,
+  /* we have set an upper bound to 2 entries, so we are above,
      and one entry is actually expired, so we will prune one entry
      to get below the limit */
   cache->prune(now.tv_sec + 15);
index d0df66ccdd0621132a563b693f853e8a459cda1f..d7bd57186282ebbb9c255d1299ac9d46afcb3467 100644 (file)
@@ -229,7 +229,7 @@ static uint performInsert(const DNSRecord* rr, updateContext& ctx, vector<DNSRes
       }
     } break;
     default: {
-      // In any other case, we must check if the TYPE and RDATA match to provide an update (which effectively means a update of TTL)
+      // In any other case, we must check if the TYPE and RDATA match to provide an update (which effectively means an update of TTL)
       int updateTTL = 0;
       foundRecord = false;
       bool lowerCase = false;
index 995b0f7f3458312e06fe746e5dde210f5536788e..724e989628d1e5bbd9a53d1177cc67e06a625878 100644 (file)
@@ -128,7 +128,7 @@ packetcache:
 
     def testAuthSendsIncorrectClientCookie(self):
         confdir = os.path.join('configs', self._confdir)
-        # Case: rec gets a an incorrect client cookie back, we ignore that and go to TCP
+        # Case: rec gets an incorrect client cookie back, we ignore that and go to TCP
         self.recControl(confdir, 'clear-cookies', '*')
         tcp1 = self.recControl(confdir, 'get tcp-outqueries')
         query = dns.message.make_query('wrongcc.cookies.example.', 'A')
index d70d13a9dd7aacdca2494816676fbe418f1bdae6..341b12edd67efe860ea5c08ed8a3d63253907c57 100644 (file)
@@ -143,7 +143,7 @@ end
         query = dns.message.make_query(nameECS, 'TXT', 'IN')
         self.sendECSQuery(query, expected2)
 
-        # And a unknown tag and no subnet query does hit the general case
+        # And an unknown tag and no subnet query does hit the general case
         self.setRoutingTag('bag')
         query = dns.message.make_query(nameECS, 'TXT', 'IN')
         self.sendECSQuery(query, expected2)
@@ -224,7 +224,7 @@ end
         query = dns.message.make_query(nameECS, 'TXT', 'IN')
         self.sendECSQuery(query, expected2)
 
-        # And a unknown tag and no subnet query does hit the general case
+        # And an unknown tag and no subnet query does hit the general case
         self.setRoutingTag('bag')
         query = dns.message.make_query(nameECS, 'TXT', 'IN')
         self.sendECSQuery(query, expected2)
index 1edda5c95113c7b7d54e782110b63a0dde0a1521..b12d1be6b6e7699b7a3fa25bea050c31e1ff518e 100644 (file)
@@ -62,7 +62,7 @@ version-string=%s
 
     def testIdServerUDP(self):
         """
-        Send a id.server CH TXT query over UDP and look for the server id
+        Send an id.server CH TXT query over UDP and look for the server id
         """
         query = dns.message.make_query('id.server', 'TXT', 'CH', use_edns=False)
         response = self.sendUDPQuery(query)
@@ -72,7 +72,7 @@ version-string=%s
 
     def testIdServerTCP(self):
         """
-        Send a id.server CH TXT query over TCP and look for the server id
+        Send an id.server CH TXT query over TCP and look for the server id
         """
         query = dns.message.make_query('id.server', 'TXT', 'CH', use_edns=False)
         response = self.sendTCPQuery(query)
@@ -82,7 +82,7 @@ version-string=%s
 
     def testIdServerUDPEDNS(self):
         """
-        Send a id.server CH TXT query over UDP (with EDNS) and look for the server id
+        Send an id.server CH TXT query over UDP (with EDNS) and look for the server id
         """
         query = dns.message.make_query('id.server', 'TXT', 'CH', use_edns=True)
         response = self.sendUDPQuery(query)
@@ -92,7 +92,7 @@ version-string=%s
 
     def testIdServerTCPEDNS(self):
         """
-        Send a id.server CH TXT query over TCP (with EDNS) and look for the server id
+        Send an id.server CH TXT query over TCP (with EDNS) and look for the server id
         """
         query = dns.message.make_query('id.server', 'TXT', 'CH', use_edns=True)
         response = self.sendTCPQuery(query)