On Apr 12 2011, Marco Davids (SIDN) wrote:

On 04/12/11 10:50, walter.jontofs...@t-systems.com wrote:

you could use ipv6calc (ftp://ftp.bieringer.de/pub/linux/ipv6/ipv6calc) to 
calculate the reverse strings.

Yes.

Or do it 'the BIND way':

dig  -x 2001:7b8:c05::80:1 | grep ip6.arpa | tail -1 | awk '{print $1}'

Oh, yuck. There is a perfectly good program shipped with BIND to do this:

$ type arpaname
arpaname is /usr/local/sbin/arpaname

$ arpaname 2001:7b8:c05::80:1
1.0.0.0.0.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.5.0.C.0.8.B.7.0.1.0.0.2.IP6.ARPA

--
Chris Thompson
Email: c...@cam.ac.uk
_______________________________________________
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to