ipaddress.IPv4Address.reverse_pointer

reverse_pointer The name of the reverse DNS PTR record for the IP address, e.g.: >>> ipaddress.ip_address("127.0.0.1").reverse_pointer '1.0.0.127.in-addr.arpa' >>> ipaddress.ip_address("2001:db8::1").reverse_pointer '1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.b.d.0.1.0.0.2.ip6.arpa' This is the name that could be used for performing a PTR lookup, not the resolved hostname itself. New in version 3.5.

ipaddress.IPv4Address.packed

packed The binary representation of this address - a bytes object of the appropriate length (most significant octet first). This is 4 bytes for IPv4 and 16 bytes for IPv6.

ipaddress.IPv4Address.max_prefixlen

max_prefixlen The total number of bits in the address representation for this version: 32 for IPv4, 128 for IPv6. The prefix defines the number of leading bits in an address that are compared to determine whether or not an address is part of a network.

ipaddress.IPv4Address.is_unspecified

is_unspecified True if the address is unspecified. See RFC 5735 (for IPv4) or RFC 2373 (for IPv6).

ipaddress.IPv4Address.is_reserved

is_reserved True if the address is otherwise IETF reserved.

ipaddress.IPv4Address.is_private

is_private True if the address is allocated for private networks. See iana-ipv4-special-registry (for IPv4) or iana-ipv6-special-registry (for IPv6).

ipaddress.IPv4Address.is_multicast

is_multicast True if the address is reserved for multicast use. See RFC 3171 (for IPv4) or RFC 2373 (for IPv6).

ipaddress.IPv4Address.is_loopback

is_loopback True if this is a loopback address. See RFC 3330 (for IPv4) or RFC 2373 (for IPv6).

ipaddress.IPv4Address.is_link_local

is_link_local True if the address is reserved for link-local usage. See RFC 3927.

ipaddress.IPv4Address.is_global

is_global True if the address is allocated for public networks. See iana-ipv4-special-registry (for IPv4) or iana-ipv6-special-registry (for IPv6). New in version 3.4.