i'll try to explain my problem with examples: when i'm using ipv6calc to build a reverse domain this is what i want to get:
$ ipv6calc --out revnibbles.arpa 2001:0db8:85a3::/48 No input type specified, try autodetection...found type: ipv6addr 3.a.5.8.8.b.d.0.1.0.0.2.ip6.arpa. . heres an example w/o given prefix (128 default) to see the difference
$ ipv6calc --out revnibbles.arpa 2001:0db8:85a3:: No input type specified, try autodetection...found type: ipv6addr 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.3.a.5.8.8.b.d.0.1.0.0.2.ip6.arpa. now im trying to build the reverse domain in python with the ipaddress module and with a given prefix like above (important)
import ipaddress print(ipaddress.IPv6Network(u"2001:0db8:85a3::/48").reverse_pointer) output is
8.4./.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.3.a.5.8.8.b.d.0.1.0.0.2.ip6.arpa Seems like the module did not consider that. I have also tried the module IPy, but its buggy as hell and not usable in my opinion. Does anyone have an idea how to solve that? i would prefer one without the usage of shell commands (ipv6calc).
Thank you in advance