View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003388 | GNUnet | util library | public | 2014-04-24 17:58 | 2019-02-28 11:17 |
Reporter | Christian Grothoff | Assigned To | lurchi | ||
Priority | low | Severity | feature | Reproducibility | N/A |
Status | closed | Resolution | fixed | ||
Product Version | Git master | ||||
Target Version | 0.11.0 | Fixed in Version | 0.11.0 | ||
Summary | 0003388: gnunet-resolver DNS lookup is slow | ||||
Description | Currently, the resolver lookup is using gethostbyname and thus processes all DNS resolution requests sequentially. This is bad if the user does lots of them (i.e. by calling gnunet-peerinfo or uses gnunet-peerinfo-gtk) as many requests will then time out if the first ones just take some time. Doing multiple DNS queries in parallel would solve this problem, but we'd need to use/write/integrate-with a 'real' asynchronous DNS resolver instead of using the simplistic gethostbyname API. | ||||
Tags | No tags attached. | ||||
related to | 0004057 | closed | lurchi | getaddrinfo_a should be used in gnunet-service-resolver |
related to | 0003387 | closed | Christian Grothoff | gnunet-peerinfo fails to print any addresses on DNS timeout |
|
Caching now works nicer, so asynchronous resolution is now less of an issue. |
|
We could use c-ares (http://c-ares.haxx.se/) for asynchronous name resolution requests. |
|
Oh, please not another haxx dependency ;-). Besides, we technically have the logic to do DNS lookups in src/dns/, we just need to change the build order and use it. |
|
The resolver service now supports asynchronous DNS lookups (forward and reverse). It turned out that libc has no asynchronous API for doing reverse lookups, so we used the DNSSTUB and DNSPARSER libraries instead. See commit e7e14740d619777613734cec9400c33cfd30fc3d. |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-04-24 17:58 | Christian Grothoff | New Issue | |
2014-04-24 17:59 | Christian Grothoff | Relationship added | related to 0003387 |
2014-04-24 17:59 | Christian Grothoff | Status | new => confirmed |
2014-06-08 15:19 | Christian Grothoff | Assigned To | => Christian Grothoff |
2014-06-08 15:19 | Christian Grothoff | Status | confirmed => assigned |
2014-06-11 12:38 | Christian Grothoff | Note Added: 0008426 | |
2014-06-11 12:38 | Christian Grothoff | Assigned To | Christian Grothoff => |
2014-06-11 12:38 | Christian Grothoff | Priority | normal => low |
2014-06-11 12:38 | Christian Grothoff | Status | assigned => confirmed |
2014-07-16 13:25 | Sree Harsha Totakura | Note Added: 0008525 | |
2014-07-19 16:43 | Christian Grothoff | Note Added: 0008530 | |
2018-06-07 23:37 | Christian Grothoff | Relationship added | related to 0004057 |
2018-06-24 20:08 | Christian Grothoff | Assigned To | => lurchi |
2018-06-24 20:08 | Christian Grothoff | Status | confirmed => assigned |
2018-06-29 01:55 | lurchi | Status | assigned => resolved |
2018-06-29 01:55 | lurchi | Resolution | open => fixed |
2018-06-29 01:55 | lurchi | Fixed in Version | => 0.11.0 |
2018-06-29 01:55 | lurchi | Note Added: 0013111 | |
2019-02-12 09:20 | Christian Grothoff | Target Version | => 0.11.0 |
2019-02-28 11:17 | Christian Grothoff | Status | resolved => closed |