+ def is_uptodate(self, protos):
+ """
+ Returns True if this host is already up to date
+ and does not need to change the IP address on the
+ name server.
+ """
+ for proto in protos:
+ addresses = self.core.system.resolve(self.hostname, proto)
+
+ current_address = self.get_address(proto)
+
+ if not current_address in addresses:
+ return False
+
+ return True
+