Re: AW: ipv6 PTR in zone file

2011-04-17 Thread Joseph S D Yao
On Tue, Apr 12, 2011 at 11:21:14AM +0200, Marco Davids (SIDN) wrote: ... Or do it 'the BIND way': dig -x 2001:7b8:c05::80:1 | grep ip6.arpa | tail -1 | awk '{print $1}' ... If things work right, this seems to give the name of the smallest existing enclosing zone (from the SOA or NS record),

Re: AW: ipv6 PTR in zone file

2011-04-15 Thread John Wobus
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 Or you could just dash off the simple perl expression to do the job: my $ptr = do { my($head,$tail) = map { join '', map

Re: AW: ipv6 PTR in zone file

2011-04-15 Thread Shumon Huque
On Fri, Apr 15, 2011 at 10:56:00AM -0400, John Wobus wrote: 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 Or you could just dash off the simple perl expression to do the

Re: AW: ipv6 PTR in zone file

2011-04-13 Thread Michel de Nostredame
On Tue, Apr 12, 2011 at 3:41 AM, Niall O'Reilly niall.orei...@ucd.ie wrote: 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

Re: AW: ipv6 PTR in zone file

2011-04-13 Thread Bill Larson
On Apr 13, 2011, at 4:58 PM, Michel de Nostredame wrote: On Tue, Apr 12, 2011 at 3:41 AM, Niall O'Reilly niall.orei...@ucd.ie wrote: 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

Re: AW: ipv6 PTR in zone file

2011-04-13 Thread Alan Clegg
On 4/13/2011 6:58 PM, Michel de Nostredame wrote: Not sure how large will be the effort to add a new directive into BIND, but that just a feed back, and wish, from me and my team members, who needs to maintain few hundreds of statically assigned IPs for servers and CE/PE routers. Dynamic

AW: ipv6 PTR in zone file

2011-04-12 Thread Walter.Jontofsohn
Hello, you could use ipv6calc (ftp://ftp.bieringer.de/pub/linux/ipv6/ipv6calc) to calculate the reverse strings. Then you can put them into the zone file. With Best regards, Walter Im Auftrag von Michel de Nostredame Gesendet: Montag, 11. April 2011 20:44 An: bind-users Betreff: ipv6 PTR in

Re: AW: ipv6 PTR in zone file

2011-04-12 Thread Marco Davids (SIDN)
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}' -- Marco Im Auftrag

Re: AW: ipv6 PTR in zone file

2011-04-12 Thread Michel de Nostredame
On Tue, Apr 12, 2011 at 2:21 AM, Marco Davids (SIDN) marco.dav...@sidn.nl 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

Re: AW: ipv6 PTR in zone file

2011-04-12 Thread Marco Davids (SIDN)
On 04/12/11 11:49, Michel de Nostredame 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}' Beside them, is any potential

Re: AW: ipv6 PTR in zone file

2011-04-12 Thread Niall O'Reilly
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

Re: AW: ipv6 PTR in zone file

2011-04-12 Thread Chris Thompson
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