Re: AW: ipv6 PTR in zone file

2011-04-16 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 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 exp

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 '',

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

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 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 Michel de Nostredame
On Tue, Apr 12, 2011 at 3:41 AM, Niall O'Reilly 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 >> ftp://ftp.bieringer.de/pub/linux/IPv6/ipv6calc/ )

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 -1

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 some

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 p

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) 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 |

Re: AW: ipv6 PTR in zone file

2011-04-12 Thread Marco Davids (SIDN)
$1}' -- Marco > Im Auftrag von Michel de Nostredame >> Gesendet: Montag, 11. April 2011 20:44 >> An: bind-users >> Betreff: ipv6 PTR in zone file >> >> Hi BIND Users, >> >> I am not sure if my post here is proper or not. If not please >> kindly g

AW: ipv6 PTR in zone file

2011-04-12 Thread Walter.Jontofsohn
ipv6 PTR in zone file > >Hi BIND Users, > >I am not sure if my post here is proper or not. If not please >kindly guide me to a correct list. > >I have lot of "static" IPv6 address needs to add into DNS PTR record. >Most of them are server IP addresses and addres

ipv6 PTR in zone file

2011-04-11 Thread Michel de Nostredame
Hi BIND Users, I am not sure if my post here is proper or not. If not please kindly guide me to a correct list. I have lot of "static" IPv6 address needs to add into DNS PTR record. Most of them are server IP addresses and addresses on router interfaces. Compose proper PTR records, without human