dns_list_base: handle ENOTFOUND error