Overview
The node integrates with the IP2Location service to retrieve hosted domain information based on an IP address. Specifically, for the "IP2Whois Hosted Domain" resource and the "Get" operation, it queries the IP2Location API to obtain details about domains hosted on a given IP address.
This node is useful in scenarios such as cybersecurity investigations, network diagnostics, or digital marketing, where understanding which domains are associated with an IP address can provide valuable insights. For example, a security analyst might use this node to identify potentially malicious domains hosted on a suspicious IP.
Properties
| Name | Meaning |
|---|---|
| IP Address | The IP address to query for hosted domain information (e.g., "1.1.1.1"). |
| Page | The page number of results to retrieve when multiple hosted domains exist for the IP. |
| Format | The response format from the API; options are: JSON or XML. |
Output
The node outputs data in the json field containing the hosted domain information retrieved from the IP2Location API. This typically includes details about domains hosted on the specified IP address, possibly paginated if multiple domains exist.
If the user selects XML as the response format, the raw XML response will be returned accordingly.
No binary data output is indicated by the source code.
Dependencies
- Requires an API key credential for the IP2Location service.
- The node depends on the IP2Location API endpoint that provides hosted domain data.
- Proper configuration of the API key credential within n8n is necessary for authentication.
Troubleshooting
- Invalid or missing API key: The node will fail if the API key credential is not set or invalid. Ensure the API key is correctly configured.
- Invalid IP address format: Providing an incorrectly formatted IP address may cause errors or empty responses. Validate the IP address input.
- Pagination issues: If many domains are hosted on the IP, ensure the "Page" property is used correctly to navigate through results.
- Response format mismatch: Selecting XML format requires handling XML output downstream; otherwise, JSON is recommended for easier processing.
Links and References
- IP2Location Official Website
- IP2Location API Documentation (for hosted domain lookup)