]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Update pdns/syncres.cc 10813/head
authorRemi Gacogne <rgacogne+github@valombre.net>
Wed, 15 Sep 2021 13:13:34 +0000 (15:13 +0200)
committerOtto <otto.moerbeek@open-xchange.com>
Wed, 6 Oct 2021 09:17:35 +0000 (11:17 +0200)
Co-authored-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
(cherry picked from commit 68a1512030b2e2fa721c17b010d5787a20951a1a)

pdns/syncres.cc

index 469d7ce9417c7a263548c24dbbf86ac81444ae49..9dce595a46f20d2cbb95ebdadc5bcca4a2998fb3 100644 (file)
@@ -3363,7 +3363,7 @@ RCode::rcodes_ SyncRes::updateCacheFromRecords(unsigned int depth, LWResult& lwr
     }
 
     if ((isCNAMEAnswer || isDNAMEAnswer) && i->first.place == DNSResourceRecord::AUTHORITY && i->first.type == QType::NS && auth == i->first.name) {
-      /* These NS can't be authoritative since we have a CNAME answer for which (see above) only the
+      /* These NS can't be authoritative since we have a CNAME/DNAME answer for which (see above) only the
          record describing that alias is necessarily authoritative.
          But if we allow the current auth, which might be serving the child zone, to raise the TTL
          of non-authoritative NS in the cache, they might be able to keep a "ghost" zone alive forever,