#!/bin/bash # # $Id: gendnstables 356 2011-09-24 23:25:47Z svnuser $ # # $Log: gendnstables,v $ # Revision 1.3 1999/06/02 01:29:22 merlin # Grrr, tabs weren't fixed right... They are now. # # Revision 1.2 1999/06/02 01:25:22 merlin # Replaced spaces with tab # # i=1 while [ $i -lt 256 ] do echo "$i IN PTR host$i" i=`expr $i + 1` done i=1 while [ $i -lt 256 ] do echo "host$i IN A 192.168.1.$i" i=`expr $i + 1` done