Menu

#82 add support for multiple client IP addresses

None
closed-accepted
nobody
None
5
2019-05-18
2005-07-06
Anonymous
No

Hi,

I'm using dnsjava client to benchmark a cluster of DNS
servers (using also CLIF load injection framework).
Dnsjava client library is performing pretty well - the
best Java library I found (thanks guys!), but I need to
use a great number (thousands) of client IP addresses
to emulate a real usage of DNS. This is particularly
important regarding load balancing policies. To achieve
this with a reduced set of computers, I use IP aliasing.

Please find attached 4 modified source files which
allow to specify a local client socket address to be
used for SimpleResolver queries, plus - FYI - one
source file from CLIF project which gets all local
available IP addresses.

Thanks again and best regards,
-- Bruno Dillenseger.

Discussion

  • Nobody/Anonymous

    code for enhancement

     
  • Brian Wellington

    Logged In: YES
    user_id=63197

    Thanks for the patch!

    I'm adding code based on it, but not exactly like it - the
    UDPClient and
    TCPClient classes are getting bind() methods (and a new
    version of sendrecv()), and the SimpleResolver class is
    getting setLocalAddress(), as well as setAddress().

     
  • Brian Wellington

    • status: open --> closed-accepted
     
  • Ingo

    Ingo - 2019-05-18

    Ticket moved from /p/dnsjava/patches/10/