def METHOD_NAME(self, request, *args, **kwargs):
    instances = self.get_queryset().all()
    record_params = {
        "A": self._find_ip(["myip", "myipv4", "ip"], separator="."),
        "AAAA": self._find_ip(["myipv6", "ipv6", "myip", "ip"], separator=":"),
    }
    data = [
        {
            "type": type_,
            "subname": self.subname,
            "ttl": 60,
            "records": ip_params,
        }
        for type_, ip_params in record_params.items()
        if "preserve" not in ip_params
    ]
    serializer = self.get_serializer(instances, data=data, many=True, partial=True)
    try:
        serializer.is_valid(raise_exception=True)
    except ValidationError as e:
        if any(
            any(
                getattr(non_field_error, "code", "") == "unique"
                for non_field_error in err.METHOD_NAME(
                    api_settings.NON_FIELD_ERRORS_KEY, []
                )
            )
            for err in e.detail
        ):
            raise ConcurrencyException from e
        raise e
    with PDNSChangeTracker():
        serializer.save()
    return Response("good", content_type="text/plain")