Package | Description |
---|---|
de.measite.minidns |
Modifier and Type | Field and Description |
---|---|
protected Question[] |
DNSMessage.questions
The question section content.
|
Modifier and Type | Field and Description |
---|---|
protected LinkedHashMap<Question,DNSMessage> |
LRUCache.backend
The backend cache.
|
Modifier and Type | Method and Description |
---|---|
Question[] |
DNSMessage.getQuestions()
Retrieve the question section of this message.
|
static Question |
Question.parse(DataInputStream dis,
byte[] data)
Parse a byte array and rebuild the dns question from it.
|
Modifier and Type | Method and Description |
---|---|
DNSMessage |
DNSCache.get(Question q)
Request a cached dns response.
|
DNSMessage |
LRUCache.get(Question q) |
boolean |
Record.isAnswer(Question q)
Check if this record answers a given query.
|
void |
DNSCache.put(Question q,
DNSMessage message)
Add an an dns answer/response for a given dns question.
|
void |
LRUCache.put(Question q,
DNSMessage message) |
DNSMessage |
Client.query(Question q)
Query the system DNS server for one entry.
|
DNSMessage |
Client.query(Question q,
String host)
Query a specific server for one entry.
|
DNSMessage |
Client.query(Question q,
String host,
int port)
Query a specific server for one entry.
|
void |
DNSMessage.setQuestions(Question... questions)
Set the question part of this message.
|
Constructor and Description |
---|
Client(Map<Question,DNSMessage> cache) |
Copyright © 2014–2018. All rights reserved.