namecoin / nmcontrol

Namecoin Control. This repo is deprecated in favor of https://github.com/namecoin/ncdns
136 stars 38 forks source link

nmcontrol doesn't provide access to .onion domains from .bit domains. #37

Closed crocket closed 10 years ago

crocket commented 10 years ago

For example, federalistpapers.bit is a tor hidden service. A tor hidden service cannot be resolved to an IP address.

I want to access a tor hidden service via a .bit domain in any kind of program.

Can nmcontrol help with my purpose?

JeremyRand commented 10 years ago

Hi,

You would want to use FreeSpeechMe for this. NMControl is a DNS server, while FreeSpeechMe is a proxy server; as you correctly note, DNS servers only work for things that resolve to an IP address.

That said, NMControl does provide an RPC API for resolving .bit domains to .onion domains; this is actually what FreeSpeechMe uses under the hood.

Right now, FreeSpeechMe is only distributed as a Firefox extension, but there's a pull request awaiting review which allows it to run as a standalone proxy server, so it would work with any program that can use an HTTP/HTTPS proxy. https://github.com/namecoin/Convergence/pull/5

crocket commented 10 years ago

I close it.