View Issue Details

IDProjectCategoryView StatusLast Update
0002265GNUnetGNSpublic2012-11-05 17:34
Reporterschanzen Assigned Toschanzen Due Date
PrioritynormalSeverityfeatureReproducibilityhave not tried
Status closedResolutionfixed 
Product VersionGit master 
Target Version0.9.4 
Summary0002265: GNS should delegate NS records
DescriptionIf no PKEY can be found for delegation but a NS record is present we should switch to a regular DNS query:

Ex: www.tum.gnunet
RR: tum NS ns.net.in.tum.de
RR: tum LEHO tum.de
RR: ns-net-in-tum-de.gnunet A someIP ( the glue )

Generate new name to lookup in DNS from LEHO: tum.de -> www.tum.de
Send new DNS request to someIP (udp) for www.tum.de.

The NS "glue" can be anything. A proper format needs to be determined. Especially since an additional namstore lookup is necessary like this. Can we directly put the IP in there?
TagsNo tags attached.

Activities

schanzen

2012-04-20 10:26

administrator   ~0005729

Since NS takes precendence in the current resolver implementation anyway it probably makes senso to simplify the glue part:

lookup www.tum.gnunet
no pkey for tum in local zone but NS

RR: tum NS tum.de <This is very similar to a LEHO>
RR: tum A <IP of auth NS for tum.de>

Now we can synthesize the DNS lookup name: www.tum.de and perform the lookup

Advantage: Only a single lookup (for 'tum') in GNS is required.
Since NS takes precendence over A because of delegation the query for tum.de A record will result in a DNS delegation! (Even though we have an A RR)

schanzen

2012-06-18 21:22

administrator   ~0006095

Implemented as proposed above. Needs testing (and a test).
The test should check if DNS delegation works properly.
For example:

CNAMEs into different zones: a.b.de -> server.c.com CNAME
NS delegation

schanzen

2012-06-19 14:33

administrator   ~0006107

Tests in SVN. Closing

Issue History

Date ModifiedUsernameFieldChange
2012-04-12 14:58schanzenNew Issue
2012-04-12 14:58schanzenStatusnew => assigned
2012-04-12 14:58schanzenAssigned To => schanzen
2012-04-20 10:26schanzenNote Added: 0005729
2012-05-02 23:21Christian GrothoffProduct Version => Git master
2012-05-02 23:21Christian GrothoffTarget Version => 0.9.4
2012-05-06 19:25Christian GrothoffSeverityminor => feature
2012-06-18 21:22schanzenNote Added: 0006095
2012-06-19 14:33schanzenNote Added: 0006107
2012-06-19 14:33schanzenStatusassigned => resolved
2012-06-19 14:33schanzenResolutionopen => fixed
2012-11-05 17:34Christian GrothoffStatusresolved => closed