acu71004 - added DNS.resolve backwards compatibility

renamed new 'resolve' to 'resolve_with_hostnames'
and added function spec comments