-
-
Notifications
You must be signed in to change notification settings - Fork 100
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
add custom dns addr flag #399
Conversation
Signed-off-by: titanventura <[email protected]>
please have a look @raviqqe |
Thank you so much for the change! |
Can you test the |
dialer := fasthttp.TCPDialer{ | ||
Concurrency: 1000, | ||
Resolver: &net.Resolver{ | ||
PreferGo: true, |
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.
Is there any particular reason you enabled this option?
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.
i think if we don't enable this option, it uses the DNS resolver of our operating system, I tried sniffing the DNS packets through wireshark, the custom dns resolver was used only if I turn on this flag.
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.
have a look at golang/go#35561 (comment)
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.
thanks! I reverted it back. Can you test the main
branch again?
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.
Sure will do and get back to you !
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.
hey @raviqqe just tested it, seems to be working fine
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.
Thanks!
This MR contains the following updates: | Package | Update | Change | |---|---|---| | [raviqqe/muffet](https://github.com/raviqqe/muffet) | patch | `v2.10.2` -> `v2.10.3` | MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot). **Proposed changes to behavior should be submitted there as MRs.** --- ### Release Notes <details> <summary>raviqqe/muffet (raviqqe/muffet)</summary> ### [`v2.10.3`](https://github.com/raviqqe/muffet/releases/tag/v2.10.3) [Compare Source](raviqqe/muffet@v2.10.2...v2.10.3) #### Changelog - [`a77feac`](raviqqe/muffet@a77feac) Bump golang.org/x/net from 0.26.0 to 0.27.0 ([#​397](raviqqe/muffet#397)) - [`fe6757d`](raviqqe/muffet@fe6757d) Bump golang.org/x/net from 0.27.0 to 0.28.0 ([#​403](raviqqe/muffet#403)) - [`1b33cb2`](raviqqe/muffet@1b33cb2) Bump golang.org/x/net from 0.28.0 to 0.29.0 ([#​405](raviqqe/muffet#405)) - [`c11474c`](raviqqe/muffet@c11474c) Bump version ([#​409](raviqqe/muffet#409)) - [`985b1a3`](raviqqe/muffet@985b1a3) Modify DNS resolver option ([#​400](raviqqe/muffet#400)) - [`f2d4a37`](raviqqe/muffet@f2d4a37) Re-enable `PreferGo` flag for DNS resolver ([#​401](raviqqe/muffet#401)) - [`eae612e`](raviqqe/muffet@eae612e) Update help test ([#​408](raviqqe/muffet#408)) - [`743a4e0`](raviqqe/muffet@743a4e0) add custom dns addr flag ([#​399](raviqqe/muffet#399)) - [`43aa9cc`](raviqqe/muffet@43aa9cc) doc: document non-contiguous status code ranges ([#​407](raviqqe/muffet#407)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this MR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box --- This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJSZW5vdmF0ZSBCb3QiXX0=-->
Fixes #354