[volunteers] (forw) Tracking ID [15886078] (renewal of domains)

Rick Moen rick at linuxmafia.com
Mon Feb 2 19:12:40 PST 2015


Quoting Jesse Monroy (jesse650 at gmail.com):

> In English, Could you describe what that fix might look like?

The _results_ of the fix would be that domain-check is able to parse the
domain expiration date returned by the whois servers for .org and .info
domains.

The _fix_ itself would look something at least a little like the snippet
below -- except, unlike this snippet, would actually regex-match on a
line like this in the 'whois' returned output:

Registry Expiry Date: 2016-10-04T17:50:02Z

My not-quite-working snippet:

        # 'Registry Expiry Date: 2016-08-06T04:00:00Z' (.org)
        elsif ($out =~ s/(?:expiry(?: date|:))\s*(\d{4})[-\/](\d{2})[-\/](\d{2})T[0-9]+\.$/Expiration date: $3-$mth{$2}-$1/igsm){
                $debug .= "matched on line " . (__LINE__ - 1) . ": '(.org)\n";
        }

I can't tell you _exactly_ what the fix would look like, because if I
knew that, I would already have the fix, and wouldn't need anyone to
write one.

Perhaps what you should be doing is downloading
http://linuxmafia.com/pub/linux/network/domain-check and looking at it,
which would be a lot more useful than asking me questions about it.





More information about the volunteers mailing list