AW: ipv6 PTR in zone file
Niall O'Reilly
Niall.oReilly at ucd.ie
Tue Apr 12 10:41:11 UTC 2011
On 12 Apr 2011, at 10:49, Michel de Nostredame wrote:
> Thanks Walter and Marco. Those two tool/method do resolve short term
> needs. Thanks again.
> (btw, the URL form Walter should be
> ftp://ftp.bieringer.de/pub/linux/IPv6/ipv6calc/ )
>
> Beside them, is any potential possibility to have something build-in
> in BIND config/zone file as kind of beautiful (my, and my team,
> personal point of view) solution?
>
> Anyone knows if there was any similar discussions inside BIND
> developer group before?
Not that I recall.
I'm not sure what benefit you see in adding a feature to
the BIND server and tools. I should have thought that a
suitable script, either for provisioning your zone file(s)
or for applying a dynamic update, would both relieve any
burden you currently have, and leave you more flexibility
than would an extension to BIND.
FWIW, here's yet another way, grabbed from a shell (bash)
session.
dhcp-c101a88b(niall)4: alias pint
alias pint='perl -ne '\''sub BEGIN {print "pint> "} sub END {print "\n"} printf "%s\npint> ",eval'\'''
dhcp-c101a88b(niall)5: pint
pint> use Net::IP
pint> $foo = new Net::IP '2001:db8::42'
3
pint> $foo->reverse_ip()
2.4.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.
pint> ^D
dhcp-c101a88b(niall)6:
Best regards,
Niall O'Reilly
More information about the bind-users
mailing list