h2non / rocky

Full-featured, middleware-oriented, programmatic HTTP and WebSocket proxy for node.js (deprecated)
MIT License
371 stars 24 forks source link

Rocky breaks if domains has no registered A DNS records #117

Open sr229 opened 5 years ago

sr229 commented 5 years ago

I adapted rocky on my compressing simple proxy which is Open Source.

Apparently, Rocky breaks when domains when its an .io domain. Can't confirm on other TLDs (though it seems that other TLDs are fine as well).

sr229 commented 5 years ago

Update, seems to break in .moe as well.

sr229 commented 5 years ago

Checking Morgan - it seems to fail with 500 on those queries. auto rewriting does not seem to work

sr229 commented 5 years ago

Triaged it to some test sites, seems to be an error if rocky can't resolve it, it becomes undefined.