DNSDaemon(enrLink: String, listener: DNSDaemonListener?, seq: Long = 0, period: Long = 60000L, dnsServer: String? = null, resolver: Resolver = SimpleResolver(dnsServer))
Resolves DNS records over time, refreshing records.
enrLink
- the ENR link to start with, of the form enrtree://PUBKEY@domain
listener
- Listener notified when records are read and whenever they are updated.
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.