ptr_host
Since: Dev Builds Only
The functionality described in this section requires a dev build of KumoMTA. You can obtain a dev build by following the instructions in the Installation section.
Given an IP address in either V4 or V6 format as the input, returns the reversed address plus appropriate top level domain suitable for performing a reverse lookup.
This function is purely local string manipulation; no actual DNS queries are performed.
You will typically use lookup_ptr to perform an actual PTR lookup; this function is a utility function for the cases where you're doing something unusual.