hierynomus / smbj

Server Message Block (SMB2, SMB3) implementation in Java
Other
705 stars 179 forks source link

Connect to DNS round-robin behaviour multiple IPs with active / standby mechanim #834

Open danielhasugian opened 2 months ago

danielhasugian commented 2 months ago

Hi Team,

I want to connect to FSx Multi AZ in AWS through aliases / DNS. Try nslookup, this DNS return 2 IPs (active and standby) and basically only active server can be accessed.

Because this is DNS round-robin behaviour, it try to connect both IP alternately. Through netcat, it can connect.

It works if go to to active IP first, but if go to standby IP error "socket conection timeout". See picture below.

image

Application already tested 0.13.0

There is any way to handle kind of this issue ?

Thanks