code: def _get_dns_entry_trs(self):
          
          from bs4 import BeautifulSoup
          dns_list_response = self.session.get(
              self.URLS['dns'].format(self.domain_id))
          self._log('DNS list', dns_list_response)
          assert dns_list_response.status_code == 200, \
              'Could not load DNS entries.'
  
          html = BeautifulSoup(dns_list_response.content, 'html.parser')
          self._log('DNS list', html)
          dns_table = html.find('table', {'id': 'cp_domains_dnseintraege'})
          assert dns_table is not None, 'Could not find DNS entry table'
  
          def _is_zone_tr(elm):
              has_ondblclick = elm.has_attr('ondblclick')
              has_class = elm.has_attr('class')
              return elm.name.lower() == 'tr' and (has_class or has_ondblclick)
  
          rows = dns_table.findAll(_is_zone_tr)
          assert rows is not None and rows, 'Could not find any DNS entries'
          return rows
docs: Return the TR elements holding the DNS entries.