Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with .nc whois #189

Open
xfouloux opened this issue Aug 10, 2022 · 0 comments
Open

Problem with .nc whois #189

xfouloux opened this issue Aug 10, 2022 · 0 comments

Comments

@xfouloux
Copy link

xfouloux commented Aug 10, 2022

Hello,

a whois from the .nc whois reply this few informations :

# whois lagoon.nc
OPT Whois v2.1.2

Domain                   : lagoon.nc
Created on               : 1999-08-09T00:00:00.000Z
Expires on               : 2024-08-09
Last updated on          : 2022-06-19T02:11:54.000Z

Domain server 1          : dnsp.lagoon.nc
Domain server 2          : dnss.lagoon.nc
Domain server 3          : dnst.lagoon.nc

Registrar                : NONE

a believe the regex in the json that match results from whois does not take into account replies like this, as php whois array is like this and cannot match name servers as you can see the array is empty

"parserType": "commonFlat",
        "domainName": "lagoon.nc",
        "whoisServer": "",
        "nameServers": [],
        "creationDate": 934156800,
        "expirationDate": 1723122000,
        "updatedDate": 1655604714,
        "states": [],
        "owner": "",
        "registrar": "NONE",
        "dnssec": ""

I tried to play with the regex in the json files but not luck finding which to change.

Can someone point me out or fix the code to match name servers in this case ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant