Question DNS Caching timeout?

fffizzz

New member
May 20, 2022
1
0
1
So, I used to run my stuff on OVH, but with low population and gig internet at home, I've moved my game servers to my basement, while keeping the proxy hosted at OVH for DDoS mitigation (partially).

I use dyndns to update an A record on Google DNS when my IP address changes. Typically this only happens on power loss or loss of internet upstream for whatever reason.

The problem I'm having is that when this does happen, even though the DNS was already updated with the new IP, waterfall/bungee caches the IP indefinitely, so it will always keep trying to connect to the old IP address of the host. Once I restart the proxy, everything works perfectly. My question, is there a timeout or a way to configure one so that this can be avoided?

Thanks
 

electronicboy

Administrator
Staff member
Dec 11, 2021
225
10
38
28
iirc, for waterfall, disable netty dns in waterfall.yml, and then it will use your host DNS, then there was a way to tweak the timeout with more control with java itself