@nymproject/mix-dns • Docs
@nymproject/mix-dns / mixDNS
Function: mixDNS()
mixDNS(
hostname):Promise<string>
Resolve a hostname through the mixnet. Returns the IP as a string
(e.g. "93.184.216.34").
The tunnel must already be set up via setupMixTunnel().
Parameters
• hostname: string
Returns
Promise<string>