Commit Graph

6 Commits

Author SHA1 Message Date
Kubuxu
0e18246294 Make dns resolve paths under _dnslink.
Thus allowing to CNAME main site entry to gateway and stil specify
dnslink.

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@gmail.com>
2016-01-29 20:46:04 +01:00
Jakub (Kubuxu) Sztandera
bcfb3d7224 Included more namesys tests.
Fixed some issues with trailing slashes.

License: MIT
Signed-off-by: Jakub (Kubuxu) Sztandera <kubuxu@gmail.com>
2016-01-05 18:13:43 +01:00
Jakub (Kubuxu) Sztandera
85774b89d3 namesys: Make paths with multiple segemnts work. Fixes #2059
Also fixes non-recursive resolve erring instead showing one step.

 The patch of core/commands/resolve.go could be done better but I don't
 know how to get access to ErrResolveRecursion.

 It allows for dnslinks into sub-segments. So for example hosting
 multiple blogs
 on just domains from one pubkey.

 Fixes #2059

 Add tests and fix case when dnslinks references dnslink

License: MIT
Signed-off-by: Jakub (Kubuxu) Sztandera <kubuxu@gmail.com>
2016-01-05 13:46:33 +01:00
W. Trevor King
ce015d241b namesys/namesys_test: Excercise mpns.ResolveN
Shifting the generic testResolution helper from the protocol-specific
dns_test.go to the generic namesys_test.go.
2015-05-20 08:40:44 -07:00
W. Trevor King
c9fceeb19b namesys/dns_test: Add DNS resolution tests with a mock resolver 2015-05-20 08:40:44 -07:00
Jeromy
3d80b9d27d refactored ipns records to point to paths
Also changed the ipns dns resolution to use the "dnslink" format
2015-04-26 22:32:12 -07:00