Unstoppable Domains โ€” Expired Auctions

WHOIS Lookup Data

SpaceshipSpaceship
SpaceshipSpaceship
SpaceshipSpaceship
Watch

Unknown

Established Member
Impact
3
When someone queries a WHOIS server for a domain name, is the data sent back strictly text or is it organized into fields (eg Expiration Date, Namservers, REgistrar).

I'm trying to implement a script that queries a WHOIS server and reports back only the expiration date and registrar and was wondering if I had to use regex to clean out the text or if there is an easier method.
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Unstoppable Domains โ€” AI StorefrontUnstoppable Domains โ€” AI Storefront
It's just text. And what's more, the format it is sent in depends on the server.
 
0
•••
If you query the TLD whois server (with recursive lookup disabled), then you should get consistent results for any domain within that TLD. Each TLD (usually) has a separate whois server. This means they you may need a different regexp for each TLD that you want to support.
 
0
•••
You can probably write some sort of parser. I've been looking to write one actually. Maybe I will this month and I'll post it when I release it. I'm sick of seeing different formats of WHOIS text, but since generally the expiration date is preceeded by "Expire", etc, it shouldn't be terribly difficult.
 
0
•••
Appraise.net
Escrow.com
Spaceship
Domain Recover
CryptoExchange.com
Catchy
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back