MiniDNS / minidns

DNS library for Android and Java SE
Other
220 stars 61 forks source link

Access TTL of a result #59

Closed ppanero closed 7 years ago

ppanero commented 7 years ago

There is no way of accessing TTL. Only the question, response code and data (ip), auth, reasons and exceptions are available.

Is there documentation apart from the main quickstart?

Flowdalic commented 7 years ago

There is DNSMessage ResolverResult.getRawAnswer() over which the TTL of a RR can be retrieved.

ppanero commented 7 years ago

@Flowdalic Is that in the MVN / SBT repositories? The compilide version (0.2.1) im getting does not contain that method but I do see it in the code

Flowdalic commented 7 years ago

@Flowdalic Is that in the MVN / SBT repositories?

Unfortunately no, not yet.