• @friend_of_satan
    link
    English
    13 days ago

    From my understanding, it only checks DNS when it initially connects, and so if the public IP changes the connection just stops working.

    This is pretty standard TCP network behavior for long duration connections. The client queries dns for the IP address, opens a socket, and leaves it open as long as needed.

    One thing that would help here is some kind of keepalive feature, like a client to server TCP connect or SYN, or better yet a higher level protocol signal. Check your client to see if there is some tunable keepalive. It may be set so something long like 1h.