I was looking at the reverse DNS queiers in .pcap files and figured out that their PTR record format might vary. Namely, these are the last element from each line.
I can easily identify IPv4 addresses and reverse them. For example: 46.32.251.142.in-addr.arpa. becomes 142.251.32.46.
However, I see a lot of entries with more dots as: 80.64.132.178.203.in-addr.arpa. --> Question 1: is it possible to extract an IPv4 address from it?
In additional, I encountered (incomplete?) IPv6 addresses as 9.4.3.a.0.0.2.0.1.0.0.2.ip6.arpa. --> Question 2: is this somehow realted to a prefixed address such as: 2001:0200:a349::/48?
Note: I have seen this related question Convert IPV6 to nibble format for PTR records, but it rather argues on the mechanisms how to threat a special case, whih I do not encounter.