diff --git a/netbox_dns/views/record.py b/netbox_dns/views/record.py index 474f2f30..f5878fe7 100644 --- a/netbox_dns/views/record.py +++ b/netbox_dns/views/record.py @@ -73,6 +73,7 @@ def get_value_records(self, instance): if Zone.objects.filter( name__in=get_parent_zone_names(instance.value_fqdn, min_labels=1), view=instance.zone.view, + active=True, ).exists(): raise ( CNAMEWarning(