Giter VIP home page Giter VIP logo

rdapq's People

Contributors

kadonnelly13 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

rdapq's Issues

Unexpected timeout issue when sending requests to RDAP server

When sending queries in quick succession the RDAP server will periodically timeout and not fulfill the request. A returned response code or error needs to be handled appropriately and a meaningful message displayed.

./rdapq -domain=example.com

(+) Querying RDAP Service for domain:   example.com
(+) Finding authoritative RDAP Service URL for TLD: com
(+) Service URL for 'com' TLD: https://rdap.verisign.com/com/v1/
(*) https://rdap.verisign.com/com/v1/domain/example.com
(!) Error sending new request to server:
Get "https://rdap.verisign.com/com/v1/domain/example.com": dial tcp 199.7.54.30:443: i/o timeoutexit status 1 

Panic when missing certain fields from

Error when running certain domains. Most likely data is missing from the response from a secondary server.

./rdapq --domain google.com
Entities:panic: runtime error: index out of range [0] with length 0

goroutine 1 [running]:
github.com/kadonnelly13/rdapq/services.prettyPrintDomainData({{0xc000320158, 0x6}, {0xc00001c2b8, 0x17}, {0xc000320180, 0xa}, {0x0, 0x0}, {0x0, 0x0, ...}, ...})
        /home/kdonnelly/Projects/rdapq/services/domain.go:222 +0xccf
github.com/kadonnelly13/rdapq/services.GetDomainData(0xc000118080, {0x6db30e, 0x23}, 0xc0001180a0)
        /home/kdonnelly/Projects/rdapq/services/domain.go:35 +0x298
main.main()
        /home/kdonnelly/Projects/rdapq/rdapq.go:25 +0x185

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.