dnsjava


How to change the java DNS service provider

岁酱吖の 提交于 2019-11-30 09:41:44
I'm building a fast web crawler and I need to have multithreaded DNS resolution, so I picked up a multithreaded DNS service provider called dnsjava . Unfortunately, I can't figure out how to replace the default DNS Service Provider. I went over the README file for dnsjava, but the instructions are not very through. Replacing the standard Java DNS functionality: Beginning with Java 1.4, service providers can be loaded at runtime. To load the dnsjava service provider, build it as explained above and set the system property: sun.net.spi.nameservice.provider.1=dns,dnsjava This instructs the JVM to

How to change the java DNS service provider

旧巷老猫 提交于 2019-11-29 14:46:27
问题 I'm building a fast web crawler and I need to have multithreaded DNS resolution, so I picked up a multithreaded DNS service provider called dnsjava. Unfortunately, I can't figure out how to replace the default DNS Service Provider. I went over the README file for dnsjava, but the instructions are not very through. Replacing the standard Java DNS functionality: Beginning with Java 1.4, service providers can be loaded at runtime. To load the dnsjava service provider, build it as explained above

工具导航Map