[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r22833 - gnunet/src/gns
From: |
gnunet |
Subject: |
[GNUnet-SVN] r22833 - gnunet/src/gns |
Date: |
Mon, 23 Jul 2012 12:35:54 +0200 |
Author: schanzen
Date: 2012-07-23 12:35:54 +0200 (Mon, 23 Jul 2012)
New Revision: 22833
Modified:
gnunet/src/gns/gnunet-dns2gns.c
Log:
-some notes for dns2gns
Modified: gnunet/src/gns/gnunet-dns2gns.c
===================================================================
--- gnunet/src/gns/gnunet-dns2gns.c 2012-07-23 09:03:04 UTC (rev 22832)
+++ gnunet/src/gns/gnunet-dns2gns.c 2012-07-23 10:35:54 UTC (rev 22833)
@@ -241,7 +241,7 @@
rec);
break;
case GNUNET_DNSPARSER_TYPE_CNAME:
- GNUNET_break (0); // FIXME: not implemented!
+ GNUNET_break (0); // FIXME: CNAME is handled by the GNS resolver! We
never return this unless explicitly requested!
break;
default:
/* skip */
@@ -316,6 +316,8 @@
(0 == strcasecmp (".zkey.eu",
&name[name_len - strlen (".zkey.eu")])) )
{
+ //FIXME here check if the top label after zkey.eu is a hash and append
+ //correct TLD appropriately
name[name_len - strlen (".zkey.eu")] = '\0';
strcat (name, ".gnunet"); /* little hack, only works because
".zkey.eu" is longer than ".gnunet" */
@@ -338,7 +340,7 @@
{
/* FIXME: do traditional *DNS* lookup; note that
gnunet-service-dns already has code to do this;
- factor into library to share! */
+ factor into library to share! Why not use GNUNET_RESOLVER here?*/
GNUNET_break (0);
}
GNUNET_free (name);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r22833 - gnunet/src/gns,
gnunet <=