5 Einträge, 1 Seite |
1
2
3
4
5
foreach $zone (@zones)
{
$lookup = `nslookup $zone $ns1`;
$lookup =~ /^Address:\s+(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})$/im;
1 2 3 4 5 6 7
for my $zone (@zones) { my $lookup = `nslookup $zone $ns1`; my ($ip) = $lookup =~ /^Address:\s+(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})$/im; print $ip if defined $ip; }
print (defined $ip ? $ip : "No Answer");
1 2 3 4 5 6 7 8
for my $zone (@zones) { my $lookup = `nslookup $zone $ns1`; if($lookup =~ /^Address:\s+(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})$/im) { print $1 } else { print 'No answer' } }
5 Einträge, 1 Seite |