File: do-dnswalk

package info (click to toggle)
dnswalk 2.0.2.dfsg.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 236 kB
  • sloc: perl: 1,364; sh: 33; makefile: 2
file content (16 lines) | stat: -rwxr-xr-x 615 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
# Here's an example script for a hostmaster of a large site
# to automate the process
# You can also run "./makereports <logfile" to generate an error report for
# each hostmaster.  Then cd to the rep.orts directory, remove any files
# you don't wish to send, then run "../sendreports"
# try adding '-F' here once just to see what pops up
flags='-r -d'
logfile=podunk.errors
trap "" 2 15;
exec > ${logfile}
./dnswalk ${flags} $* podunk.edu.
./dnswalk ${flags} $* 1.1.in-addr.arpa.
./dnswalk ${flags} $* 2.1.in-addr.arpa.
./dnswalk ${flags} $* 1.2.1.in-addr.arpa.
./dnswalk ${flags} $* 2.2.1.in-addr.arpa.