//! DNS resolution logic for hostname lookup.
//!
//! This module handles asynchronous DNS resolution for discovered hosts.
use crate;
use Ipv4Addr;
use mpsc;
/// Spawn an async DNS lookup task for the given host IP.
///
/// This function spawns a background task that resolves the hostname
/// for the given IP address and sends the result via the event channel.
///
/// # Arguments
/// * `host_ipv4` - The IP address to resolve
/// * `scanner_outputs` - Channel for sending hostname resolution events