diff --git a/machines/models.py b/machines/models.py index 3d146258..89486352 100644 --- a/machines/models.py +++ b/machines/models.py @@ -434,6 +434,14 @@ def domain_post_save(sender, **kwargs): def domain_post_delete(sender, **kwargs): regen('dns') +@receiver(post_save, sender=Extension) +def extension_post_save(sender, **kwargs): + regen('dns') + +@receiver(post_delete, sender=Extension) +def extension_post_selete(sender, **kwargs): + regen('dns') + @receiver(post_save, sender=Mx) def mx_post_save(sender, **kwargs): regen('dns')