I'm looking for pretty obvious need: getting the PTR (string) for an IP address in my script.
For example: having "126.96.36.199" in a variable, and I want to get it's PTR (name): "ec2-18-196-34-14.eu-central-1.compute.amazonaws.com."
(even if it's a non-authoritative answer)
How can I do it with scripts? Or I shall use an external online service for this?