2. App-level ‘ping’
my $target_host = $url->host; my $ip_addr = ip_from_name($target_host) // 'NXDOMAIN'; print "Sending message to: $target_host ($ip_addr)\n";
my $target_host = $url->host; my $ip_addr = ip_from_name($target_host) // 'NXDOMAIN'; print "Sending message to: $target_host ($ip_addr)\n";