
8 drop the HTTP thingy

2. // FIXME spawn multiple accept(...) - that's true, your server can handle only 1 client

3. please try to avoid unwraps bc it will crash your daemon

4 I don't like fn find_p because in theory it may panic. There are other ways to implement it


5
fn extract_record_name(fqdn: &str, zone: &str) -> String {
    fqdn[..(fqdn.len() - zone.len() - 1)].to_owned()
}


