Re: Script to creat PTR zone from zone file

2010-11-01 Thread Russell Jackson
On 11/01/2010 11:56 AM, Russell Jackson wrote: On 10/29/2010 04:13 PM, CT wrote: Looking to write a script to create the PTR records.. Not much on the Web.. DOM style manipulation using dnspython. It can fully parse a RFC style zone file including following $INCLUDE statements. I've been pla

Re: Script to creat PTR zone from zone file

2010-11-01 Thread Russell Jackson
On 10/29/2010 04:13 PM, CT wrote: Looking to write a script to create the PTR records.. Not much on the Web.. DOM style manipulation using dnspython. It can fully parse a RFC style zone file including following $INCLUDE statements. I've been planning on just having it do nsupdate calls rath

Re: Script to creat PTR zone from zone file

2010-11-01 Thread big bond
Doh! I've sent a wrong version of script, with errors. Here's a correct one: #!/bin/bash NET=192.168.111 HOST=example.com LIMIT=254 for ((i=1;i<= LIMIT ; i++)) do IP=`echo $NET.$i` ARPA=`host $NET.$i | awk '{print $5}'` FIRSTOCT=`echo $IP $ARPA | gre

Re: Script to creat PTR zone from zone file

2010-11-01 Thread big bond
Sorry, first message was sent not for the list but to Alan only. (by the way, why "reply" button does not send message to list by default?) 2010/10/30 Alan Clegg > On 10/30/2010 1:42 AM, Sukman wrote: > >> Looking to write a script to create the PTR records.. > >> Not much on the Web.. > > > I

Re: Script to creat PTR zone from zone file

2010-10-30 Thread Alan Clegg
On 10/30/2010 1:42 AM, Sukman wrote: >> Looking to write a script to create the PTR records.. >> Not much on the Web.. > > I had some script that may help you... :) > > Example of input file to be generated: > > InstitutTeknologiBandung192.168.0.154 router2.id192.168.0.153 > router1.i

Re: Script to creat PTR zone from zone file

2010-10-30 Thread CT
Sukman wrote, On 10/30/2010 12:42 AM: Looking to write a script to create the PTR records.. Not much on the Web.. I had some script that may help you... :) Example of input file to be generated: InstitutTeknologiBandung192.168.0.154 router2.id192.168.0.153 router1.id local 192.168

Re: Script to creat PTR zone from zone file

2010-10-29 Thread Sukman
> Looking to write a script to create the PTR records.. > Not much on the Web.. I had some script that may help you... :) Example of input file to be generated: InstitutTeknologiBandung192.168.0.154 router2.id192.168.0.153 router1.id local 192.168.0.157 ITB-local.id 192.168.0.15

Script to creat PTR zone from zone file

2010-10-29 Thread CT
Looking to write a script to create the PTR records.. Not much on the Web.. Thx CT ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users