Skip to content
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

IPv6 hostname resolution #46

Open
GhostofGoes opened this issue May 9, 2019 · 2 comments
Open

IPv6 hostname resolution #46

GhostofGoes opened this issue May 9, 2019 · 2 comments
Labels
feature New feature (or addition of new functionality to existing feature) help wanted

Comments

@GhostofGoes
Copy link
Owner

Currently, hostnames only resolve to IPv4 addresses, as documented in the "Known Issues" section in the README. They should be able to resolve to IPv6 addresses as well as IPv4, and the IPv6 returns handled by the appropriate IPv6 logic in getmac.

The obvious solution is to use socket.getaddrinfo instead of socket.gethostbyname to resolve a hostname to an IP address, it just needs to be implemented and tested.

@stuartmccoll
Copy link

Hi 👋.

I'd like to pick this up, if that's okay?

@GhostofGoes
Copy link
Owner Author

Sure, go for it :)

@GhostofGoes GhostofGoes added the feature New feature (or addition of new functionality to existing feature) label Oct 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature (or addition of new functionality to existing feature) help wanted
Projects
None yet
Development

No branches or pull requests

2 participants