public interface DNSCache
Modifier and Type | Method and Description |
---|---|
DNSMessage |
get(Question q)
Request a cached dns response.
|
void |
put(Question q,
DNSMessage message)
Add an an dns answer/response for a given dns question.
|
void put(Question q, DNSMessage message)
q
- The question.message
- The dns message.DNSMessage get(Question q)
q
- The dns question.Copyright © 2014–2020. All rights reserved.