diff --git a/nsupdate/management/commands/hosts.py b/nsupdate/management/commands/hosts.py index 206080f..6955f6b 100644 --- a/nsupdate/management/commands/hosts.py +++ b/nsupdate/management/commands/hosts.py @@ -153,7 +153,7 @@ class Command(BaseCommand): with transaction.atomic(): for h in Host.objects.all(): if stale_check: - host = h.name + host = h.name + "." + h.domain comment = h.comment creator = h.created_by staleness, email_msg, log_msg = check_staleness(h)