3 ms·
There's already a system to do so: it's called DNS. You can check for timeouts using XHR already and if a server doesn't respond then having it send a new IP w
by jeroenhd 10y ago
There's already a system to do so: it's called DNS.
You can check for timeouts using XHR already and if a server doesn't respond then having it send a new IP wouldn't work anyway.
The problem with using DNS that way is the usual 30 second time out. On the other hand lower values than 30 seconds can cause problems for many users with slow or mobile connections.
Honestly I can't think of a reason why the HTTP specifications should contain anything about IP addresses.