<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def query_rpdns(self):
 """ Queries robtex reverse pdns-api using an ip as parameter :return: Dictionary containing results :rtype: list """

        results = requests.get('https://freeapi.robtex.com/pdns/reverse/{}'.format(self.get_data())).text.split('\r\n')
        jsonresults = []
        for idx, r in enumerate(results):
            if len(r) > 0:
                jsonresults.append(json.loads(r))
        return jsonresults