Skip to Content
New: a threat-model-first guide to choosing your network defence, plus the nym-smoldvpn dVPN package and nym-swizzle sender hygiene.

@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>

Source

mix-dns/src/index.ts:23 

Last updated on