Skip to Content
19 November 2026: gateway operators, apply the nginx2root CVE mitigation.

@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