code: def get_record(self, dns_record_type, host):
          
          record_list = self._entries
          for record in record_list:
              if record._record_type == dns_record_type \
                      and record.host == host:
                  return record
          return False
docs: Fetch a DNS record