#!/use/bin/perl use strict; print "Domain? "; my $domain = ; chop($domain); Use Net::SSH qw(issh); my $user= ""; my $host= ""; my $cmd="dig +short $domain"; issh("$user\@$host", "$cmd");