| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Member Join Date: Mar 2007
Posts: 130
![]() | |
| |
| | #2 (permalink) |
| NamePros Expert Join Date: Nov 2003 Location: Scotland
Posts: 5,069
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | No there is no set format returned from whois. Different registries return data slightly different. What precise information are you after? There should be code within the code section that does what you want as I know several people have written classes and functions for whois.
__________________ Manage your portfolio using my new Domain Portfolio Management script. Securing Your Domain Name From Theft |
| |
| | #3 (permalink) |
| NamePros Regular Join Date: Jul 2005 Location: Tucson, AZ
Posts: 689
![]() | Certain items are pretty constant, like the Administrative Contact and Technical / Tech contact fields. Maybe some simplistic regex parsing could get the most vital information out of the whois data. |
| |
| | THREAD STARTER #4 (permalink) |
| NamePros Member Join Date: Mar 2007
Posts: 130
![]() | Thanks for your responses Peter and Monaco. Its unfortunate that there is no standard. Seems that this would be a great place for standardization! Do most whois severs permit automated queries though ? Pretty sure the response to this will be that there is no standard (which seems to be the standard with whois servers ), but just asking for your thoughts based on your past experience ..We are looking to extract reg date, expiry, contacts, name servers, and anything else we can "automate".
__________________ Domains for Sale @ Sedo |
| |
| | #5 (permalink) |
| NamePros Expert Join Date: Nov 2003 Location: Scotland
Posts: 5,069
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | whois servers would find it hard to know if a request is an automated 1 or not. Unless of course you hammer the server. To combat this they only allow x amount of requests per hour or so.
__________________ Manage your portfolio using my new Domain Portfolio Management script. Securing Your Domain Name From Theft |
| |
| | THREAD STARTER #6 (permalink) |
| NamePros Member Join Date: Mar 2007
Posts: 130
![]() | Makes sense.. Thx Peter.
__________________ Domains for Sale @ Sedo |
| |
| | #7 (permalink) |
| I'll do it ![]() Join Date: Dec 2005 Location: India
Posts: 6,927
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | I think cURL would do the trick in PHP. For a nice automation I would put the script as a function on some site of mine where there is little bit of traffic ![]() So whenever someone visits my site the code part executes and it checks the availability. If it is available then it goes to available.txt file and if not available then it dumps the stuff into the database ![]() After all the data is extracted like this. You just need to find and replace junk stuff within the database like: Name etc.
__________________ |
| |
| | #8 (permalink) | ||||
| NamePros Regular Join Date: Jul 2005 Location: Tucson, AZ
Posts: 689
![]() |
| ||||
| |
| | #9 (permalink) |
| NamePros Expert Join Date: Nov 2003 Location: Scotland
Posts: 5,069
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | i doubt it. I should imagine they are actively looking for proxies as well.
__________________ Manage your portfolio using my new Domain Portfolio Management script. Securing Your Domain Name From Theft |
| |