inhies / cjdcmd

cjdcmd is a command line tool for cjdns
Other
43 stars 16 forks source link

Check for a path to hypedns before attempting to resolve #12

Closed inhies closed 11 years ago

inhies commented 11 years ago

To prevent timeouts and other errors, dump the routing table and check for a path to the hypedns IP before we attempt to use it.

waaghals commented 11 years ago

Proposal: First check the clearnetDNS if it is a known TLD. Then use the clearnetDNS else HypeDNS if it is reachable.

inhies commented 11 years ago

That mightcould work. If hypedns is reachable, it will resolve known TLDs as well as hyperboria only ones. I figure it might save some time to try hypedns first.