-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
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
Support multiple address resolution in DNS requests #49020
Conversation
Some comments:
|
This is the pull request from the original author: #12397 - it looks like it was "merged manually", by you. I'll update the commit message to be what it does and issue a new PR against master. |
Thanks for finding it, GitHub search had failed me. Looks like it was indeed fully reviewed and approved by @Faless, but my comment asking for a You can make a new PR for |
Looks like the only issue to master is the IP_Address -> IPAddress change. I'll have a new PR for master soon. |
09fb68d
to
892d671
Compare
74bbc3a
to
79a92bb
Compare
Add two new functions to the IP class that returns all addresses/aliases associated with a given address. This is a cherry-pick merge from 010a343 which was merged in 2.1, and has been updated to build with the latest code. This merge adds two new methods IP.resolve_hostname_addresses and IP.get_resolve_item_addresses that returns a List of all addresses returned from the DNS request.
Thanks! |
Excellent! |
This change was previously merged into 2.1 as commit 010a343 but I don't see any build that actually was released with this change. The feature is extremely useful for certain network load balancing.
I've git cherry-pick'd and resolved the conflicts, and updated a few of the lines to make sure they work in 3.x.
Let me know if anything needs fixing.
Cheers