Files
nym/documentation/docs/pages/developers/mix-dns/api/functions/mixDNS.md
T
mfahampshire 7c890ea0c5 TS SDK docs (#6840)
* First sweep packages + some minor tweaking

* Second sweep

* Regenerate lockfile + package.json mods

* Regenerate lockfile again

* Fix CI

* Fix CI again

* All building properly

* unblock

* Tweak examples

* Comments + readme + fix rotten unit test

* First pass docs

* Big pass

* Massive pass on new docs

* Update integrations.md w mobile

* Partial overhaul review

* new playground + big pass

* new fix lychee err

* IPR notice tweak
2026-06-09 13:31:08 +00:00

572 B

@nymproject/mix-dnsDocs


@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