tuweni / org.apache.tuweni.discovery / DNSResolver / <init>

<init>

DNSResolver(dnsServer: String? = null, seq: Long = 0, resolver: Resolver = SimpleResolver(dnsServer))

Resolves a set of ENR nodes from a host name.

Parameters

dnsServer - the DNS server to use for DNS query. If null, the default DNS server will be used.

seq - the sequence number of the root record. If the root record seq is higher, proceed with visit.