ip4_to_rdns¶
-
privex.helpers.net.
ip4_to_rdns
(ip_obj: ipaddress.IPv4Address, v4_boundary: int = 24, boundary: bool = False) → str[source]¶ Internal function for getting the rDNS domain for a given v4 address. Use
ip_to_rdns()
unless you have a specific need for this one.- Parameters
- Return str rdns_domain
in-addr.arpa format, e.g.
0.0.127.in-addr.arpa