Automatically chasing a video feed from a dynamic IP address

r0nd4

Prominent
Sep 7, 2017
2
0
510
Hello
I have a bit of an unusual setup where I have a client displaying a continuous video feed from a server that *must* reconnect to the internet every eight hours (don't ask).
The server runs a DynDNS client that automatically updates with the new IP address on every reconnect.
However, when the feed drops my client (windows 7 box) keeps trying to reconnect to the old IP address that had resolved upon first connection. I have to manually do a refresh to force a new resolve to the updated IP address.
I need a solution (IP forwarding?) - i can hook up another box on the client network if needed to keep the feed running continuously upon each reconnect.
Any and all advice is appreciated!
Thanks
 
Solution
Sounds like a application error. It should always check the dns entry before it reopens a session. The dns entry should have a very low time to live when it is dyndns so the application should actually do a dns query and get the new address.

I guess the first thing is to use the ipconfig command and look to see if how long the dns entry is set for to be sure it is not some issue with how dyndns is setup.

Although you could get ambitious and use some form of firewall type box and nat the destination address you would still have to have some program running constantly monitoring and then updating the nat entry. It may be simpler to just have a similar program run in the client and have it kill off the client when it detects a change.
Sounds like a application error. It should always check the dns entry before it reopens a session. The dns entry should have a very low time to live when it is dyndns so the application should actually do a dns query and get the new address.

I guess the first thing is to use the ipconfig command and look to see if how long the dns entry is set for to be sure it is not some issue with how dyndns is setup.

Although you could get ambitious and use some form of firewall type box and nat the destination address you would still have to have some program running constantly monitoring and then updating the nat entry. It may be simpler to just have a similar program run in the client and have it kill off the client when it detects a change.
 
Solution