Commits

George Notaras committed 0b0ab69

Added note about why the Domain method is not used.

  • Participants
  • Parent commits 9d1db63

Comments (0)

Files changed (1)

File src/powerdns_manager/actions.py

                         # If this is the SOA record and ``reset_zone_minimum`` has
                         # been checked, set the minimum TTL of the SOA record equal
                         # to the ``new_ttl`` value
+                        #
+                        # Important: We do not call ``models.Domain.set_minimum_ttl()``
+                        # because we edit the SOA record here.
+                        #
                         if reset_zone_minimum and rr.type == 'SOA':
                             bits = rr.content.split()
                             # SOA content:  primary hostmaster serial refresh retry expire default_ttl