Vigilance-DAO / VigilanceDAO

vigilance-dao.vercel.app
GNU General Public License v3.0
2 stars 4 forks source link

Need support for more domains #1

Open VenkatTeja opened 2 years ago

VenkatTeja commented 2 years ago

For example, did not work on https://captcha.fi/. failed to extract from our whois plugin.

Actual details: domain.............: captcha.fi status.............: Registered created............: 12.7.2022 21:24:35

image

VenkatTeja commented 1 year ago

++.video (e.g. aha.video)

sahithyandev commented 1 year ago

I don't understand what the image is pointing to, or the issue you are referring to.

The server is using the whois-json package to do whois lookups for domains. These lookups seem to work correctly, Do you mean that this information is not shown in the UI correctly?

const whois = require("whois-json");

whois("captcha.fi").then((results) => {
    console.log(JSON.stringify(results, null, 2));

    const outputs = {
        "domain": "captcha.fi",
        "status": "Registered",
        "created": "12.7.2022 21:24:35",
        "expires": "12.7.2023 21:24:35",
        "available": "12.8.2023 21:24:35",
        "modified": "5.4.2023 14:10:39",
        "registryLock": "no",
        "nserver":
            "3-pas.njalla.in [Technical Error] 2-nest.pipe.ma [Technical Error] 1-ceci.njalla.do [Technical Error]",
        "dnssec": "no",
        "name": "1337 Services LLC",
        "registerNumber": "14625",
        "address": "P.O. Box 590",
        "postal": "KN0802",
        "city": "Charlestown",
        "country": "Saint Kitts and Nevis",
        "phone": "holder email.......: Registrar",
        "registrar": "Sarek Oy",
        "www": "https://sarek.fi",
        "lastUpdateOfWhoisDatabase": "17.5.2023 18:32:54 (EET) <<<",
    };
});

whois("aha.video").then((results) => {
    console.log(JSON.stringify(results, null, 2));

    const outputs = {
        "domainName": "aha.video",
        "registryDomainId": "bdcd2cdf41164602ae7633534a70bf55-DONUTS",
        "registrarWhoisServer": "whois.godaddy.com",
        "registrarUrl": "https://www.godaddy.com",
        "updatedDate": "2020-05-04T07:22:12Z",
        "creationDate": "2019-09-08T09:33:54Z",
        "registrarRegistrationExpirationDate": "2025-09-08T09:33:54Z",
        "registrar": "GoDaddy.com, LLC",
        "registrarIanaId": "146",
        "registrarAbuseContactEmail": "abuse@godaddy.com",
        "registrarAbuseContactPhone": "+1.4806242505",
        "domainStatus":
            "clientTransferProhibited https://icann.org/epp#clientTransferProhibited clientUpdateProhibited https://icann.org/epp#clientUpdateProhibited clientRenewProhibited https://icann.org/epp#clientRenewProhibited clientDeleteProhibited https://icann.org/epp#clientDeleteProhibited",
        "registryRegistrantId": "CR387538886",
        "registrantName": "Registration Private",
        "registrantOrganization": "Domains By Proxy, LLC",
        "registrantStreet": "DomainsByProxy.com 2155 E Warner Rd",
        "registrantCity": "Tempe",
        "registrantStateProvince": "Arizona",
        "registrantPostalCode": "85284",
        "registrantCountry": "US",
        "registrantPhone": "+1.4806242599",
        "registrantPhoneExt": "Registrant Fax: +1.4806242598",
        "registrantFaxExt":
            "Registrant Email: Select Contact Domain Holder link at https://www.godaddy.com/whois/results.aspx?domain=aha.video",
        "registryAdminId": "CR387538888",
        "adminName": "Registration Private",
        "adminOrganization": "Domains By Proxy, LLC",
        "adminStreet": "DomainsByProxy.com 2155 E Warner Rd",
        "adminCity": "Tempe",
        "adminStateProvince": "Arizona",
        "adminPostalCode": "85284",
        "adminCountry": "US",
        "adminPhone": "+1.4806242599",
        "adminPhoneExt": "Admin Fax: +1.4806242598",
        "adminFaxExt":
            "Admin Email: Select Contact Domain Holder link at https://www.godaddy.com/whois/results.aspx?domain=aha.video",
        "registryTechId": "CR387538887",
        "techName": "Registration Private",
        "techOrganization": "Domains By Proxy, LLC",
        "techStreet": "DomainsByProxy.com 2155 E Warner Rd",
        "techCity": "Tempe",
        "techStateProvince": "Arizona",
        "techPostalCode": "85284",
        "techCountry": "US",
        "techPhone": "+1.4806242599",
        "techPhoneExt": "Tech Fax: +1.4806242598",
        "techFaxExt":
            "Tech Email: Select Contact Domain Holder link at https://www.godaddy.com/whois/results.aspx?domain=aha.video",
        "nameServer": "NS41.DOMAINCONTROL.COM NS42.DOMAINCONTROL.COM",
        "dnssec": "unsigned",
        "urlOfTheIcannWhoisDataProblemReportingSystem":
            "http://wdprs.internic.net/",
        "lastUpdateOfWhoisDatabase": "2023-05-17T15:41:48Z <<<",
        "termsOfUse":
            "The data contained in this registrar's Whois database, while believed by the",
    };
});
VenkatTeja commented 1 year ago

@sahithyandev The site in the message is a .fi domain. I dont think our current lib provides info about these.

sahithyandev commented 1 year ago

As I have mentioned in my previous comment, the whois-json package is retrieving details about captcha.fi and aha.video.

What do you mean by current lib? And where is that failing?