def _ddns(self, ip):
        """
        curl -X POST https://dnsapi.cn/Record.Ddns -d 'login_token=LOGIN_TOKEN&format=json&domain_id=2317346&record_id=16894439&record_line=默认&sub_domain=www'
        :return:
        """

        headers = {"Accept": "text/json", "User-Agent": "ddns/0.1.0 (imaguowei@gmail.com)"}

        data = {
            'login_token': self.login_token,
            'format': "json",
            'domain_id': self.domain_id,
            'record_id': self.record_id,
            'sub_domain': self.sub_domain,
            'record_line': '默认',
            'value': ip
        }

        res = requests.post(Ddns.DNSPOD_API, data, headers=headers)
        logger.debug(res.json())
        return res.json()['status']['code'] == '1'