'default': '',
'help': 'Addresses (with optional port) of authoritative servers that do not support cookies',
'doc': '''
-Addresses of servers that do not properly support DNS cookies (:rfc:`7873`, :rfc:`9018`). Recursor wil not even try to probe these servers for cookie support. If no port is specified port 53 is used.
+Addresses of servers that do not properly support DNS cookies (:rfc:`7873`, :rfc:`9018`). Recursor will not even try to probe these servers for cookie support. If no port is specified port 53 is used.
''',
'versionadded': '5.4.0',
},
try {
// The cache lookup below can have three types of result:
// Case 1: successful. In that case the records will be added to the end result below and we're done.
- // Case 2: unsuccessful. In that case the records in retq wil be discarded. E.g. there
+ // Case 2: unsuccessful. In that case the records in retq will be discarded. E.g. there
// might be records as the lookup found a CNAME chain, but the target is missing from the cache.
// Case 3: an exception is thrown, in that case we're still interested in the (partial) results in retq.
// This can e.g. happen on a too-long CNAME chain.
pdns::validation::ValidationContext validationContext;
time_t now = time(nullptr);
- // Case 1: interpretion depends on current time, test below will start to fail around 1970 + 68 = 2038 as it wil be interpeted as the 3rd case
+ // Case 1: interpretion depends on current time, test below will start to fail around 1970 + 68 = 2038 as it will be interpeted as the 3rd case
BOOST_CHECK(validateWithKeySet(now, qname, recordcontents, sigs, keyset, std::nullopt, validationContext) == vState::BogusSignatureExpired);
BOOST_CHECK_EQUAL(validationContext.d_validationsCounter, 0U);
BOOST_CHECK_EQUAL(validationContext.d_validationsCounter, 0U);
// Case 3: we're in 2038
- now = 0xffff0000; // inception (0) wil be interpreted as being in the future
+ now = 0xffff0000; // inception (0) will be interpreted as being in the future
BOOST_CHECK(validateWithKeySet(now, qname, recordcontents, sigs, keyset, std::nullopt, validationContext) == vState::BogusSignatureNotYetValid);
BOOST_CHECK_EQUAL(validationContext.d_validationsCounter, 0U);
}