docs: def sync_dns_from_my_ip(self, dns_type='A'):
          """
          Sync dns from my public ip address.
          It will not do update if ip address in dns record is already same as
          current public ip address.
          :param dns_type:
          :return:
          """
          ip_address = ''
          for finder in self.public_ip_finder:
              try:
                  result = requests.get(finder)
              except requests.RequestException:
                  continue
              if result.status_code == 200:
                  try:
                      socket.inet_aton(result.text)
                      ip_address = result.text
                      break
                  except socket.error:
                      try:
                          socket.inet_aton(result.json().get('ip'))
                          ip_address = result.json()['ip']
                          break
                      except socket.error:
                          continue
  
          if ip_address == '':
              print('None of public ip finder is working. Please try later')
              sys.exit(1)
  
          try:
              record = self.get_record(dns_type, self.domain) \
                  if len(self.domain.split('.')) == 3 \
                  else self.get_record(dns_type, self.domain)
          except RecordNotFound:
              if self.proxied:
                  self.create_record(dns_type, self.domain, ip_address, proxied=True)
              else:
                  self.create_record(dns_type, self.domain, ip_address)
              print('Successfully created new record with IP address {new_ip}'
                    .format(new_ip=ip_address))
          else:
              if record['content'] != ip_address:
                  if self.proxied:
                      self.update_record(dns_type, self.domain, ip_address, proxied=True)
                  else:
                      self.update_record(dns_type, self.domain, ip_address)
                  print('Successfully updated IP address from {old_ip} to {new_ip}'
                        .format(old_ip=record['content'], new_ip=ip_address))
              else:
                  print('IP address on CloudFlare is same as your current address')