diff --git a/machines/models.py b/machines/models.py index 6344cf919b4b6ff7950c97a2bcf214eb6cf7aef8..590e39974b100e2dff48cb748ed2cdeaa957650b 100644 --- a/machines/models.py +++ b/machines/models.py @@ -689,7 +689,7 @@ class DName(RevMixin, AclMixin, models.Model): @cached_property def dns_entry(self): """Returns the DNAME record for the DNS zone file.""" - return str(self.alias) + " IN DNAME " + str(self.zone) + return str(self.alias).ljust(15) + " IN DNAME " + str(self.zone) class Srv(RevMixin, AclMixin, models.Model):