if record and record['content'] == public_ip and record['name'] == subdomain.full:
                dns_records_updated.inc()

                return 'OK, updated [%s]' % public_ip