~ubuntu-branches/ubuntu/wily/net-dns-fingerprint/wily-proposed

« back to all changes in this revision

Viewing changes to apps/fpdns

  • Committer: Bazaar Package Importer
  • Author(s): Anand Kumria
  • Date: 2005-10-20 23:30:37 UTC
  • Revision ID: james.westby@ubuntu.com-20051020233037-eqjw5ay2zlwcoybl
Tags: 0.9.3-1
* new upstream release
* split into two packages
* allow changing of separator field

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
    $opt{F} = 10;
53
53
    $opt{T} = undef;
54
54
    $opt{Q} = undef;
 
55
    $opt{S} = " ";
55
56
 
56
57
    my %children;
57
58
 
58
59
    my $concurrent = 0;
59
60
 
60
 
    getopts('Q:DF:p:t:r:cfsdTv', \%opt);
 
61
    getopts('Q:DF:p:t:r:cfsS:dTv', \%opt);
61
62
 
62
63
    if ($opt{v}) {
63
64
        print STDERR "$progname version $version\n";
77
78
        forcetcp => $opt{T},
78
79
        qversion => $opt{v},
79
80
        qchaos   => $opt{f},
 
81
        separator=> $opt{S},
80
82
    );
81
83
 
82
84
    if ($ARGV[0] eq "-") {
127
129
            }
128
130
        }
129
131
    } else {
130
 
        print STDERR "host not found ($server)";
 
132
        print STDERR "host not found ($server)\n";
131
133
    }
132
134
}
133
135
 
179
181
       -Q srcaddr (source IP address) [0.0.0.0]
180
182
       -r retry   (set number of attempts) [1]
181
183
       -s         (short form) [off]
 
184
       -S         (separator) [" "]
182
185
       -t time    (set query timeout) [5]
183
186
       -T         (use TCP) [off]
184
187
       -v         (show version)
199
202
 
200
203
B<fpdns> S<[ B<-c> ]> S<[ B<-d> ]> S<[ B<-f> ]> S<[ B<-F> I<nchild> ]>
201
204
   S<[ B<-p> I<port> ]> S<[ B<-Q> I<srcaddr> ]> S<[ B<-r> I<retry> ]>
202
 
   S<[ B<-s> ]>  S<[ B<-t> I<timeout> ]> S<[ B<-v> ]> [I<server(s)>]
 
205
   S<[ B<-s> ]>  S<[ B<-S> I<separator> ]> S<[ B<-t> I<timeout> ]> S<[ B<-v> ]> [I<server(s)>]
203
206
 
204
207
=head1 DESCRIPTION
205
208
 
254
257
 
255
258
Short display form. Useful for surveys. 
256
259
 
 
260
=item B<-S>
 
261
 
 
262
Separator. Defaults to " ".
 
263
 
257
264
=item B<-t> I<timeout>
258
265
 
259
266
Set the query timeout in seconds. Defaults to 5.