init(channel:dnsServerAddress:context:)

Create a new DNSClient that will send queries to the specified address using your own Channel.

Client.swift:30
init(channel: any Channel, dnsServerAddress: SocketAddress, context: DNSClientContext)