PacketProxy
PacketProxy copied to clipboard
Current implementation of DNS server will not work in future versions of Java
Large part of the current implementation of embedded DNS server is borrowed from dnsjava, but the version PacketProxy uses is too old (that seems to be written in Java <1.5.) Compiling with OpenJDK >= 16 emits deprecation warnings, which tells us that new Integer(int)
will be removed in future version of Java, meaning that the current implementation of DNS server will not work in future version of Java.
Currently, I'm trying to merge the latest version of dnsjava.
SystemResolverConfig
(introduced in this commit) needs to be modified accordingly.