Bluehost.com Web Hosting $6.95

Re: way to clean up db files

This is a discussion on Re: way to clean up db files within the Bind Users forums, part of the DNS and Related Forums category; Great, thanks for the information. :) At 08:28 PM 7/13/2004, Justin Randall wrote: >Using $GENERATE will also ...


Go Back   Usenet Forums > DNS and Related Forums > Bind Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-14-2004
Vinny Abello
 
Posts: n/a
Default Re: way to clean up db files

Great, thanks for the information. :)

At 08:28 PM 7/13/2004, Justin Randall wrote:
>Using $GENERATE will also work for A records, however the proper notation
>would be as such:
>
>
>$GENERATE 37-62 unused-10-168-24-$ A 10.168.24.$
>
>This is what I used for my unused private IP space. Forward queries
>behave perfectly normal.
>
>Hope this helps.
>
>>From: Vinny Abello <vinny@tellurian.com>
>>To: "Sebastian Castro Avila" <secastro@nic.cl>
>>CC: gopher2@sdf.lonestar.org, bind-users@isc.org, secastro@nic.cl
>>Subject: Re: way to clean up db files
>>Date: Tue, 13 Jul 2004 19:49:44 -0400
>>
>>At 02:57 PM 7/13/2004, Sebastian Castro Avila wrote:
>> >On Tue, 13 Jul 2004 18:46:06 +0000 (UTC), <gopher2@sdf.lonestar.org> wrote:
>> >
>> > > my db files i have 30 lines like this
>> > >
>> > > vpn_client1 A 192.168.5.225
>> > > vpn_client2 A 192.168.5.226
>> > > vpn_client3 A 192.168.5.227
>> > > vpn_client4 A 192.168.5.228
>> > > ......
>> > > vpn_client30 A 192.168.5.254
>> > >
>> >
>> >Using GENERATE directive
>> >
>> >You should use something like
>> >
>> >$GENERATE 1-30 vpn_client$ A 192.168.5.${224}

>>
>>Just commenting on this, but I remember reading that the $GENERATE
>>statement is only valid for PTR records. Has this changed or has this not
>>been the case? I think I read this in the O'Reilly DNS and BIND 4th Edition
>>book but I'm not positive. I'm very interested to know if this works as I
>>have not used it for that reason in forward zones.
>>
>> > > also my reverse lookup is the same
>> > >
>> >
>> >Here use
>> >
>> >$GENERATE 225-254 $ PTR vpn_cliente${-224}.example.org.
>> >
>> >
>> > > 225 PTR vpnclient1.example.org.
>> > > 226 PTR vpnclient2.example.org.
>> > > 227 PTR vpnclient3.example.org.
>> > > ....
>> > > 254 PTR vpnclient30.example.org.
>> > >
>> > >
>> > > is there any way i can do this on just one line
>> > > i think i seen it before but not sure
>> > > thanks
>> > >
>> >
>> >Good luck!
>> >
>> > >
>> > >
>> > > gopher2@sdf.lonestar.org
>> > > SDF Public Access UNIX System - http://sdf.lonestar.org
>> >
>> >
>> >
>> >--
>> >Sebastian E. Castro Avila sebastian@nic.cl
>> >Administrador de DNS, NIC Chile
>> >Fono: (2) 9407705 Fax : (2) 9407701

>>
>>
>>Vinny Abello
>>Network Engineer
>>Server Management
>>vinny@tellurian.com
>>(973)300-9211 x 125
>>(973)940-6125 (Direct)
>>PGP Key Fingerprint: 3BC5 9A48 FC78 03D3 82E0 E935 5325 FBCB 0100 977A
>>
>>Tellurian Networks - The Ultimate Internet Connection
>>http://www.tellurian.com (888)TELLURIAN
>>
>>There are 10 kinds of people in the world. Those who understand binary and
>>those that don't.
>>

>
>_________________________________________________ ________________
>MSN Premium includes powerful parental controls and get 2 months FREE*
>http://join.msn.com/?pgmarket=en-ca&...MSNIS_Taglines



Vinny Abello
Network Engineer
Server Management
vinny@tellurian.com
(973)300-9211 x 125
(973)940-6125 (Direct)
PGP Key Fingerprint: 3BC5 9A48 FC78 03D3 82E0 E935 5325 FBCB 0100 977A

Tellurian Networks - The Ultimate Internet Connection
http://www.tellurian.com (888)TELLURIAN

There are 10 kinds of people in the world. Those who understand binary and
those that don't.


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 10:33 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0