-
Notifications
You must be signed in to change notification settings - Fork 530
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
feat: add DNS interceptor #3490
base: main
Are you sure you want to change the base?
Conversation
It is on a super early state, but should be ok to review @ronag
|
I'm super busy this month. Will do my best to provide feedback. But for now I mostly have time for high level feedback. LGTM so far. |
We can improve the caching with a self made LRU if we want, but I'd rather explore that in further PRs |
lib/interceptor/dns.js
Outdated
return this.pick( | ||
origin, | ||
hostnameRecords, | ||
affinity ?? this.lastIpFamily === 4 ? 6 : 4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix: respect dualStack
I'll be fixing the tests down the path; hopefully the Windows one are easier to fix |
570702c
to
9b01a09
Compare
CI does not seem happy |
I'm intrigued about the Ubuntu ones, but the Window's ones seem odd. I'll check them throughout the week |
Closes #3350
WIP