View Issue Details

IDProjectCategoryView StatusLast Update
0002265GNUnetGNSpublic2012-11-05 18:34
Reporterschanzen Assigned Toschanzen  
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 12: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 23: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 16:33

administrator   ~0006107

Tests in SVN. Closing

Issue History

Date Modified Username Field Change
2012-04-12 16:58 schanzen New Issue
2012-04-12 16:58 schanzen Status new => assigned
2012-04-12 16:58 schanzen Assigned To => schanzen
2012-04-20 12:26 schanzen Note Added: 0005729
2012-05-03 01:21 Christian Grothoff Product Version => Git master
2012-05-03 01:21 Christian Grothoff Target Version => 0.9.4
2012-05-06 21:25 Christian Grothoff Severity minor => feature
2012-06-18 23:22 schanzen Note Added: 0006095
2012-06-19 16:33 schanzen Note Added: 0006107
2012-06-19 16:33 schanzen Status assigned => resolved
2012-06-19 16:33 schanzen Resolution open => fixed
2012-11-05 18:34 Christian Grothoff Status resolved => closed