$generate ip6.arpa
Bigman
Bigman at takas.lt
Mon May 22 16:22:03 UTC 2006
Hello base60,
Sunday, May 21, 2006, 4:42:43 PM, you wrote:
>> I' wondering if it is able to generate more than 15 IPv6 PTR records
>> using $GENERATE.
>> Now my reverse zone file looks like this
>>
>> $ttl 38400
>> 0.9.d.5.b.d.1.c.2.0.0.2.ip6.arpa. IN SOA ns1.potencial.us. hostmaster.potencial.us. (
>> 2006040837
>> 3600
>> 3600
>> 604800
>> 38400 )
>> 0.9.d.5.b.d.1.c.2.0.0.2.ip6.arpa. IN NS ns1.potencial.us.
>> $ORIGIN 0.9.d.5.b.d.1.c.2.0.0.2.ip6.arpa.
>> $GENERATE 1-15 ${0,0,x}.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 PTR ${0,0,d}.myhost.com
>>
>> It generates just 15 PTR records.
b> Look at the "1-15" and then read the book.
Sorry my mistake. I meant 0-15 in hex it would be 0-f. This will
generate records
0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.9.d.5.b.d.1.c.2.0.0.2.ip6.arpa. PTR 0.myhost.com
.
.
f.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.9.d.5.b.d.1.c.2.0.0.2.ip6.arpa. PTR 15.myhost.com
I would like it to generate
0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.9.d.5.b.d.1.c.2.0.0.2.ip6.arpa. PTR 0.myhost.com
.
.
f.f.f.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.9.d.5.b.d.1.c.2.0.0.2.ip6.arpa. PTR 4095.myhost.com
How could i do it? This could be easily done using bitstring, bus as i
know bitstring support is removed from bind. Is there other way to do
this?
--
Best regards,
Bigman mailto:Bigman at takas.lt
More information about the bind-users
mailing list