Open gugaua opened 7 years ago
I don't really understand the problem. Your source is on a dynamic ip, I think with a domain like dyn, and daemon-spotter always use the previous IP ?
Yes, and it will use 100% CPU.
You are slow to answer...It use 100% CPU because the script try a lot of times, I will fix that. For the dynamic ip, I think it use the DNS cache. What is your OS ?
I had a lag :)
my server OS is debian 8
I can't really do anything, It seems that there is a cache when I resolve a hostname in PHP. At least now it exit after some attempts. You can make a script that check if daemon-spotter.php is running, and run it again if not. Or you can use a static IPv6 like http://www.he.net
Is it possible for daemon-spotter to auto connect on dynamic ip host after connection lost?