rusty_dns 0.0.3

A DNS implementation with no dependencies other than rand
Documentation
1
2
3
4
5
6
7
fn main() -> Result<(), String> {
    let address = rusty_dns::resolve_domain_name(&String::from("www.google.com"))?;

    println!("Returned IPv4 address: {}", address.to_string());

    Ok(())
}