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

[ip] Include IP in .ip output #1

Open
bui opened this issue Apr 7, 2014 · 3 comments
Open

[ip] Include IP in .ip output #1

bui opened this issue Apr 7, 2014 · 3 comments
Labels
Feature New feature or request

Comments

@bui
Copy link

bui commented Apr 7, 2014

It'd be useful to be able to use .ip to get an IP from a hostname. Currently it only shows the IP if there isn't a hostname, would it not be good to also add the IP in front of it?

current:
<Kemo> .ip bui.pm
<Lloid> [IP/Host Lookup] Hostname: bui.pm | Location: United States | Region: CA | ISP: FranTech Solutions

proposed:
<Kemo> .ip bui.pm
<Lloid> [IP/Host Lookup] IP: 209.141.38.71 | Hostname: bui.pm | Location: United States | Region: CA | ISP: FranTech Solutions

@elad661
Copy link

elad661 commented Aug 14, 2014

How would you handle A records with more than one IP?

How would you handle IPv6 / or IPv6 + IPv4 dual stack?

@kwaaak
Copy link

kwaaak commented Jan 4, 2019

Maybe an additional command for lookups? Easy enough with socket.getaddrinfo

@dgw dgw added the Feature New feature or request label May 23, 2020
@dgw dgw transferred this issue from sopel-irc/sopel Nov 15, 2023
@dgw
Copy link
Member

dgw commented Jan 21, 2024

Despite transferring the issue from the original repo, I'm wondering now if this use case isn't better served by a dedicated hostname-lookup plugin like sopel-dns (GH, PyPI).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants