@ThreadSafe
public class AddressLookup
extends Object
This implementation uses Dnsjava, therefore it can provide much more precise error messages than the InetAddress. It also respects DNS TTL values.
Constructor and Description |
---|
AddressLookup() |
Modifier and Type | Method and Description |
---|---|
java.net.InetAddress[] |
queryAddresses(org.xbill.DNS.Name name) |
public java.net.InetAddress[] queryAddresses(org.xbill.DNS.Name name) throws SendException
SendException