Article ID: 124369, created on Feb 4, 2015, last review on Jan 8, 2016

  • Applies to:
  • Odin Business Automation Standard 4.5

Symptoms

Under Top > Service Director > Domain Manager > Domains > domain.tld > Check Expiry Date

The following error message appears in a red line:

    Whois service cannot get details for domain 'domain.tld'. Please check whois settings.

Cause

Wrong pattern for Expiry Date in Whois settings.

Resolution

  1. Enable debug log and reproduce the issue.
  2. Check /var/log/hspc/hspc.log :

    [2015/02/03 00:21:58] [DEBUG] [23138] [HSPC::MT::DM::RegEngine::get_domain_details_via_whois] There are 1 servers to query 
    [2015/02/03 00:21:58] [DEBUG] [23138] [HSPC::MT::DM::RegEngine::get_domain_details_via_whois] server(1 of 1):whois.inic.ch domain=domain.tld 
    [2015/02/03 00:21:58] [DEBUG] [23138] [HSPC::MT::DM::RegEngine::get_domain_details_via_whois] query start 
    [2015/02/03 00:21:58] [DEBUG] [23138] [HSPC::MT::DM::RegEngine::get_domain_details_via_whois] using standard whois 
    [2015/02/03 00:21:58] [DEBUG] [23138] [HSPC::Logger::sw_trace] TRACE [04]: . . . +> HSPC::MT::DM::RegEngine->query_whois () 
    [2015/02/03 00:21:59] [DEBUG] [23138] [HSPC::MT::DM::RegEngine::query_whois] TRACE [04]: . . . -> HSPC::MT::DM::RegEngine->query_whois () 
    [2015/02/03 00:21:59] [DEBUG] [23138] [HSPC::MT::DM::RegEngine::get_domain_details_via_whois] query end 
    [2015/02/03 00:21:59] [DEBUG] [23138] [HSPC::MT::DM::RegEngine::get_domain_details_via_whois] got WHOIS data, trying to extract expiry date using pattern:'Record expires on %yyyy%-%mm%-%dd% %hh%:%ii%:%ss%.' 
    [2015/02/03 00:21:59] [DEBUG] [23138] [HSPC::Logger::sw_trace] TRACE [04]: . . . +> HSPC::MT::DM::RegEngine->_extract_exp_date () 
    [2015/02/03 00:21:59] [DEBUG] [23138] [HSPC::MT::DM::RegEngine::_extract_exp_date] pattern:Record expires on %yyyy%-%mm%-%dd% %hh%:%ii%:%ss%. didn't match 
    [2015/02/03 00:21:59] [DEBUG] [23138] [HSPC::MT::DM::RegEngine::_extract_exp_date] TRACE [04]: . . . -> HSPC::MT::DM::RegEngine->_extract_exp_date () 
    [2015/02/03 00:21:59] [WARN] [23138] [HSPC::MT::DM::RegEngine::get_domain_details_via_whois] couldn't extract expiry date 
    

    Note the pattern "Record expires on %yyyy%-%mm%-%dd% %hh%:%ii%:%ss%." that OBAS tries to discover in whois responce.

  3. Top > Service Director > Domain Manager > Check domains tab

    Insert domain.tld and click OK. You will get the results:

    Domain Name: domain.tld
    Registry Domain ID: 
    Registrar WHOIS Server: whois.inic.ch
    Registrar URL: http://www.inic.ch
    Updated Date: 2015-02-02T00:00:00Z
    Creation Date: 2015-02-02T00:00:00Z
    Registrar Registration Expiration Date: 2016-02-02T00:00:00Z
    Registrar: iNIC GmbH
    

    Note the Expiration Date format.

  4. It is required to change information about expiration date:

    a. Find Registrar WHOIS Server in Top > Service Director > Domain Manager > Setup > TLDs > .tld

    b. Go Top > Service Director > Domain Manager > Setup > Whois Servers > Whois Server name

    c. Change pattern For Expiry Date extraction on the one from Whois results.

    In our example that would be from

    Record expires on %yyyy%-%mm%-%dd% %hh%:%ii%:%ss%.
    

    to

    Registrar Registration Expiration Date: %yyyy%-%mm%-%dd%T%hh%:%ii%:%ss%Z
    

Additional information about Whois server settings is available in OBAS Provider Guide

See also

Whois connection refused

Search Words

Whois service cannot get details for domain

dns check status expiry date

Whois service cannot get details for domain 'domain.tld'. Please check whois settings.

check expiry date report

400e18f6ede9f8be5575a475d2d6b0a6 caea8340e2d186a540518d08602aa065 624ca542e40215e6f1d39170d8e7ec75 70a5401e8b9354cd1d64d0346f2c4a3e

Email subscription for changes to this article
Save as PDF