diff --git a/machines/models.py b/machines/models.py index 1053dd8c..d5278b2d 100644 --- a/machines/models.py +++ b/machines/models.py @@ -426,6 +426,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')