lookUp

suspend fun lookUp(name: String, type: String): Answer

Look up DNS record name of type type.

Parameters

name

The name to look up

type

The type of record to look up (e.g., AAAA)

Throws

if the lookup was unsuccessful