Now uses search and domain if present - both with sync and async calls. Rev: lib/modules/Protocols.pmod/DNS.pmod:1.5