View Issue Details

IDProjectCategoryView StatusLast Update
0003388GNUnetutil librarypublic2019-02-28 10:17
ReporterChristian Grothoff Assigned Tolurchi Due Date
PrioritylowSeverityfeatureReproducibilityN/A
Status closedResolutionfixed 
Product VersionGit master 
Target Version0.11.0Fixed in Version0.11.0 
Summary0003388: gnunet-resolver DNS lookup is slow
DescriptionCurrently, 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.
TagsNo tags attached.

Relationships

related to 0004057 closedlurchi getaddrinfo_a should be used in gnunet-service-resolver 
related to 0003387 closedChristian Grothoff gnunet-peerinfo fails to print any addresses on DNS timeout 

Activities

Christian Grothoff

2014-06-11 10:38

manager   ~0008426

Caching now works nicer, so asynchronous resolution is now less of an issue.

Sree Harsha Totakura

2014-07-16 11:25

updater   ~0008525

We could use c-ares (http://c-ares.haxx.se/) for asynchronous name resolution requests.

Christian Grothoff

2014-07-19 14:43

manager   ~0008530

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.

lurchi

2018-06-28 23:55

developer   ~0013111

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.

Issue History

Date ModifiedUsernameFieldChange
2014-04-24 15:58Christian GrothoffNew Issue
2014-04-24 15:59Christian GrothoffRelationship addedrelated to 0003387
2014-04-24 15:59Christian GrothoffStatusnew => confirmed
2014-06-08 13:19Christian GrothoffAssigned To => Christian Grothoff
2014-06-08 13:19Christian GrothoffStatusconfirmed => assigned
2014-06-11 10:38Christian GrothoffNote Added: 0008426
2014-06-11 10:38Christian GrothoffAssigned ToChristian Grothoff =>
2014-06-11 10:38Christian GrothoffPrioritynormal => low
2014-06-11 10:38Christian GrothoffStatusassigned => confirmed
2014-07-16 11:25Sree Harsha TotakuraNote Added: 0008525
2014-07-19 14:43Christian GrothoffNote Added: 0008530
2018-06-07 21:37Christian GrothoffRelationship addedrelated to 0004057
2018-06-24 18:08Christian GrothoffAssigned To => lurchi
2018-06-24 18:08Christian GrothoffStatusconfirmed => assigned
2018-06-28 23:55lurchiStatusassigned => resolved
2018-06-28 23:55lurchiResolutionopen => fixed
2018-06-28 23:55lurchiFixed in Version => 0.11.0
2018-06-28 23:55lurchiNote Added: 0013111
2019-02-12 08:20Christian GrothoffTarget Version => 0.11.0
2019-02-28 10:17Christian GrothoffStatusresolved => closed