s4-resolv: fix dns_ex so as to fail correctly when a name does not exist