rawlinp commented on a change in pull request #6648:
URL: https://github.com/apache/trafficcontrol/pull/6648#discussion_r840045038



##########
File path: 
traffic_router/core/src/main/java/org/apache/traffic_control/traffic_router/core/dns/ZoneManager.java
##########
@@ -1009,7 +1015,20 @@ private static Zone fillDynamicZone(final 
LoadingCache<ZoneKey, Zone> dzc, final
                                                continue;
                                        }
 
-                                       records.add(r);
+                                       if (r.getType() == Type.NSEC && 
r.getName().toString().equals(staticZone.getOrigin().toString())) {

Review comment:
       We might need an `&& dsRoutingName != null` check here just for good 
measure, although it would likely never be null in the first place.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to