You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 14, 2026. It is now read-only.
Añadir que existe otro posible Bug al momento de enviar una consulta terminada en "."
Ya que si se envía la consulta con el nombre "test.cl." en vez de solo "test.cl", la función create_dns_query por alguna razón cambia el rtype original a 0 y por lo tanto en la consulta que le llega al Server, en la sección Question se ve un UNKNOWN(0).
Lo mismo pasa con la clase que se convierte en UNKNOWN(256)
El ejemplo concreto sería:
El Cliente envia:
let mut domain_name = DomainName::new();
domain_name.set_name(String::from("test.cl."));
let rrtype = "A";
let rclass = "IN";
match udp_client.query(domain_name, rrtype, rclass).await {
Ok(response) => println!("Response for test.cl.: {:?}", response),
Err(e) => eprintln!("Query failed for test.cl.: {}", e),
}
Originally posted by @konegoro in #24