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
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
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 '',
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
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
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/ )
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
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
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
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 |
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
11 matches
Mail list logo