T
Thilo Rusche
Hi,
is there a way to perform a host lookup using a specific DNS server
instead of the default nameserver of the local machine in Java, short
of implementing the DNS protocol? For example, if the local machine is
configured to use /etc/hosts, 10.254.1.1 and 10.254.2.2, is there any
API call that allows me to query a different server? As far as I am
aware, the java.net package does not support this, and I could not
find any third party API for this either. Any pointers would be
appreciated.
Thanks!
Thilo
is there a way to perform a host lookup using a specific DNS server
instead of the default nameserver of the local machine in Java, short
of implementing the DNS protocol? For example, if the local machine is
configured to use /etc/hosts, 10.254.1.1 and 10.254.2.2, is there any
API call that allows me to query a different server? As far as I am
aware, the java.net package does not support this, and I could not
find any third party API for this either. Any pointers would be
appreciated.
Thanks!
Thilo