K
kasour
Hi all,
I have DNS name for a "fooServer" that can be on a primary server (eg:
1.2.3.1) and a secondary server (eg: 1.2.3.2).
Both are referenced in a DNS with a different weight (DNS SRV of
rfc2782):
fooServer SRV 1 (prio 1) 1.2.3.1
fooServer SRV 2 (prio 2) 1.2.3.2
I would like to know whether a call to
InetAddress.getAllByName("fooServer") will return the list of
InetAddress according to the weight declared in the DNS Server.
Best Regards,
P. Kasour
I have DNS name for a "fooServer" that can be on a primary server (eg:
1.2.3.1) and a secondary server (eg: 1.2.3.2).
Both are referenced in a DNS with a different weight (DNS SRV of
rfc2782):
fooServer SRV 1 (prio 1) 1.2.3.1
fooServer SRV 2 (prio 2) 1.2.3.2
I would like to know whether a call to
InetAddress.getAllByName("fooServer") will return the list of
InetAddress according to the weight declared in the DNS Server.
Best Regards,
P. Kasour