vrl 0.32.0

Vector Remap Language
Documentation
{
  "anchor": "reverse_dns",
  "name": "reverse_dns",
  "category": "System",
  "description": "Performs a reverse DNS lookup on the provided IP address to retrieve the associated hostname.",
  "arguments": [
    {
      "name": "value",
      "description": "The IP address (IPv4 or IPv6) to perform the reverse DNS lookup on.",
      "required": true,
      "type": [
        "string"
      ]
    }
  ],
  "return": {
    "types": [
      "string"
    ]
  },
  "examples": [
    {
      "title": "Example",
      "source": "reverse_dns!(\"127.0.0.1\")",
      "return": "localhost"
    }
  ],
  "notices": [
    "This function performs synchronous blocking operations and is not recommended for\nfrequent or performance-critical workflows due to potential network-related delays."
  ],
  "pure": true
}