Debian Codegraph @

do-dnswalk

raw
1 #!/bin/sh
2 # Here's an example script for a hostmaster of a large site
3 # to automate the process
4 # You can also run "./makereports <logfile" to generate an error report for
5 # each hostmaster. Then cd to the rep.orts directory, remove any files
6 # you don't wish to send, then run "../sendreports"
7 # try adding '-F' here once just to see what pops up
8 flags='-r -d'
9 logfile=podunk.errors
10 trap "" 2 15;
11 exec > ${logfile}
12 ./dnswalk ${flags} $* podunk.edu.
13 ./dnswalk ${flags} $* 1.1.in-addr.arpa.
14 ./dnswalk ${flags} $* 2.1.in-addr.arpa.
15 ./dnswalk ${flags} $* 1.2.1.in-addr.arpa.
16 ./dnswalk ${flags} $* 2.2.1.in-addr.arpa.