alibaba / alibaba/lightproxy

node自定义规则与 host 映射规则冲突产生 DNS 解析错误(猜)

Open
#199 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
3.2k
Forks
274
PR merge metrics
No merged PRs in 30d

Description

node 自定义规则和 hosts 的 pattern若相同
```
Error: getaddrinfo ENOTFOUND patternURL
Error: getaddrinfo ENOTFOUND patternURL
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:60:26)
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported conflict between a node custom rule and a hosts pattern with the same name, then trace the proxy's DNS handling around the reported getaddrinfo ENOTFOUND error. Done means the matching rules no longer produce the reported DNS resolution failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
nodejs
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.