Coder Social home page Coder Social logo

whois's Introduction

whois's People

Contributors

bramp avatar case avatar case-fastly avatar cee-dub avatar dependabot[bot] avatar domainrbot avatar github-actions[bot] avatar lostsnow avatar phgn0 avatar philpennock avatar serima avatar ydnar avatar yookoala avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

whois's Issues

Adding a tag with a library version

Hey!

Your project uses Go Modules, but I didn't find any version of the project in the tags. Can you create a tag to make full use of your library?

How to add more databases?

I found this library while trying to determine why github.com/shift/domain_exporter didn't understand .il and .au country codes. It appears I need to add new adapter implementations for this, but I could be wrong. Some tips would be appreciated.

Removing dependency on syscall

I'm trying to use domainr/whois on AppEngine. Due to the way AppEngine works, it disallows certain packages, one of which is syscall.

It seems syscall is used here https://github.com/domainr/whois/blob/master/client.go#L140 only for printing out a error message. Would it be possible to just drop the use of that? The standard syscall.Errno.Error() function prints out a reasonable error, so no need to do something special.

Willing to make this change? Thanks

Could you share binary code(s) please?

I have been trying to install on windows system but it doesn't anything when i run "go install" command.

I m interesting domainr whois cleint binary codes for my project. no development.

thanks.

[Consult] How to parse WHOIS records

I know that WHOIS records are in a very complex situation though I want to implement parser to this project.
Which do you think is better?
I hope that you make a decision about future direction to parse.

  1. pattern matching
  2. some algorithms

Either way, we cannot fully parse them.

I think No.1 is better for the following reasons.

  • easy to add/delete new rules
  • you can catch the failing of parse because domainr is in production fortunately.

Insufficient results for some queries

Looks like some results are truncated by the package:

When running a query on nba.com, for example, the result is:

Domain Name: NBA.COM
   Registrar: CSC CORPORATE DOMAINS, INC.
   Sponsoring Registrar IANA ID: 299
   Whois Server: whois.corporatedomains.com
   Referral URL: http://www.cscglobal.com/global/web/csc/digital-brand-services
   Name Server: NS40.NBA.COM
   Name Server: NS50.NBA.COM
   Name Server: NS60.NBA.COM
   Status: clientTransferProhibited https://www.icann.org/epp#clientTransferProhibited
   Updated Date: 23-nov-2014
   Creation Date: 28-nov-1994
   Expiration Date: 27-nov-2016

However, the EXPECTED result, as received by 'whois' terminal command, should be:

Domain Name: nba.com
Registry Domain ID: 966915_DOMAIN_COM-VRSN
Registrar WHOIS Server: whois.corporatedomains.com
Registrar URL: www.cscprotectsbrands.com
Updated Date: 2014-11-23T06:21:37Z
Creation Date: 1994-11-28T05:00:00Z
Registrar Registration Expiration Date: 2016-11-27T05:00:00Z
Registrar: CSC CORPORATE DOMAINS, INC.
Sponsoring Registrar IANA ID: 299
Registrar Abuse Contact Email: [email protected]
Registrar Abuse Contact Phone: +1.8887802723
Domain Status: clientTransferProhibited http://www.icann.org/epp#clientTransferProhibited
Registry Registrant ID:
Registrant Name: C/O Domain Administrator
Registrant Organization: NBA Media Ventures, LLC
Registrant Street: 645 Fifth Avenue
Registrant City: New York
Registrant State/Province: NY
Registrant Postal Code: 10022
Registrant Country: US
Registrant Phone: +001.201.8651506
Registrant Phone Ext:
Registrant Fax: +000.000.0000000
Registrant Fax Ext:
Registrant Email: [email protected]
Registry Admin ID:
Admin Name: Information Technology
Admin Organization: NBA Basketball Association
Admin Street: 100 Plaza Drive 3rd Fl
Admin City: Secaucus
Admin State/Province: NJ
Admin Postal Code: 07094
Admin Country: US
Admin Phone: +001.201.9746996
Admin Phone Ext:
Admin Fax: +001.201.9746001
Admin Fax Ext:
Admin Email: [email protected]
Registry Tech ID:
Tech Name: Information Technology
Tech Organization: NBA Basketball Association
Tech Street: 100 Plaza Drive 3rd Fl
Tech City: Secaucus
Tech State/Province: NJ
Tech Postal Code: 07094
Tech Country: US
Tech Phone: +001.201.9746996
Tech Phone Ext:
Tech Fax: +001.201.9746001
Tech Fax Ext:
Tech Email: [email protected]
Name Server: ns60.nba.com
Name Server: ns40.nba.com
Name Server: ns50.nba.com
DNSSEC: unsigned

WHOIS an IP address

Is it possible to do that? I specifically want to discover the company behind an IP address, and I know it's possible through some online WHOIS services.

Do we need a map of IP ranges to corresponding WHOIS servers?

Auto-merge token scopes error

This is where the ZoneDB + Dependabot job errored last night:

Run gh pr review --approve dependabot/go_modules/github.com/zonedb/zonedb-1.0.2866

GraphQL error: Your token has not been granted the required scopes to execute this query. The 'name' field requires one of the following scopes: ['read:org', 'read:discussion'], but your token has only been granted the: ['gist', 'read:user', 'repo', 'user:email', 'workflow'] scopes. Please modify your token's scopes at: https://github.com/settings/tokens.
Error: Process completed with exit code 1.

README example doesn't work

Compiling the code from the README:

query := "domai.nr"
request, err := whois.NewRequest(query)
response, err := whois.DefaultClient.Fetch(request)
record, err := response.Parse()

Results in error:
response.Parse undefined (type *whois.Response has no field or method Parse)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.