-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Response time? #196
Comments
Hi, Timeout can be changed here - https://github.com/io-developer/php-whois/blob/master/src/Iodev/Whois/Loaders/SocketLoader.php#L34 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We are responsible for 70+ domains. I've built a cron job that scans these domains 2x/day to make sure nothing critical has been changed. I've got 2 problems. First, the WHOIS call takes - usually - something on the order of 2+minutes to return a result for each domain. Multiplied by 70+ domains, it takes the cron job almost 3.5 hours to run through all of the domains. Is there anything I can do to improve response time? Also the dates returned from one call to the next are almost always different. Difference can be anything from a few minutes to years. I would think those dates (created, updated, expires) should be relatively static.
For the record, doing a fairly vanilla call:
$lookup = $whois->loadDomainInfo($domainList[$d]);
...and then parsing the dates:
$created = date('Y-m-d H:i:s', $lookup->creationDate); $updated = date('Y-m-d H:i:s', $lookup->updatedDate); $expires = date('Y-m-d H:i:s', $lookup->expirationDate);
Any suggestions welcomed.
The text was updated successfully, but these errors were encountered: