Hi, if I query a non existing domain (A type) then "res" is NULL: res = dns_resolve_a4(NULL, "non-existing-domain.lala", 0); res is NULL. But, could occur that res is not NULL but res->dnsa4_nrr is 0? Thanks a lot. -- Iñaki Baz Castillo <ibc at aliax.net>