Comando para buscar por nombre del DNS y etc/hosts
AUTOR PREGUNTA #1
-
¿Tienes la misma pregunta? Yo también
Esto también te interesa!
PREGUNTAS SIMILARES
#4
#!/usr/bin/perl use strict;
use warnings;
use Socket;
my $ip = gethostbyname($ARGV[0]);
if (defined $ip) {
my $ip_addr = inet_ntoa($ip);
print "$ip_addr\n"; }