I am using the latest com.spotify:dns:3.2.2, but I was not specifying the downstream dnsjava dependency version explicitly. Note that this repo's pom.xml lists:
I resolved my issue by forcing dnsjava to the latest version (3.5.2). It would be great if users of this library did not need to do that manually though!
I experienced this bug in my application, which is not a recent bug: https://github.com/dnsjava/dnsjava/pull/177
I am using the latest
com.spotify:dns:3.2.2
, but I was not specifying the downstream dnsjava dependency version explicitly. Note that this repo's pom.xml lists:However, I noted that my resolved jar in a distribution is:
This lines up with what gradle's dependencies tool shows:
Finally, I observed that the pom.xml included in the
com.spotify:dns:3.2.2
jar is not 3.4.2:I resolved my issue by forcing dnsjava to the latest version (3.5.2). It would be great if users of this library did not need to do that manually though!