class DNSDaemon
(source)
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.
period
- the period at which to poll DNS records
<init> |
Resolves DNS records over time, refreshing records. DNSDaemon(enrLink: String, listener: DNSDaemonListener?, seq: Long = 0, period: Long = 60000L, dnsServer: String? = null, resolver: Resolver = SimpleResolver(dnsServer)) |
listeners |
val listeners: HashSet<DNSDaemonListener> |
close |
Close the daemon. fun close(): Unit |
start |
fun start(): Unit |
logger |
val logger: Logger! |