-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Bug report: "Extract Domains" actually extracts hostnames #618
Comments
In this case, 'Domains' is being used to refer to 'Domain names'. Domain names are any name assigned via DNS to represent an IP address. In your example above, A hostname is a label that identifies a networked device. FQDNs are a type of hostname, but a hostname doesn't necessarily have to use the DNS structure. On a local network you might just assign single word hostnames to identify your devices because globally unique, fully qualified DNS is not really required at that scale. So the 'Extract Domains' operation isn't really looking for hostnames, it's looking for fully qualified domain names, or as much of the domain name as it can find. There is a potential argument for renaming it to 'Extract Domain names', however I think it's reasonably clear from the context that 'Domains' means 'Domain names' in this scenario. Does that make sense? |
…operation to reduce ambiguity. #618
Yes, the FQDN clarification absolutely makes sense. My first intuition given the naming was toward registerable domains (one hop above public suffix). Feel free to close this out unless you want to move this toward a feature request for extracting the registerable name portion. |
I'll close it for now. Programmatically extracting only the publicly registrable domain would be quite difficult. Consider the domain |
Describe the bug
Extract domains is more like extract hostnames. Please rename it or implement the claimed functionality (or implement both as separate items).
To Reproduce
Steps to reproduce the behavior or a link to the recipe / input used to cause the bug:
http://www.host.com
orhttp://www.host.co.uk
(or leave out the schemes)www.host.com
orwww.host.co.uk
. Those would be the hostnames whereashost.com
andhost.co.uk
are the domains.Expected behavior
The domain for
www.host.com
ishost.com
.Screenshots
n/a
Desktop (if relevant, please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: