You would have to enable hostname resolution in the VPC for this to work, right?  

Is it preferable to assume that it will be enabled, tell people loudly to enable it, or to add to /etc/hosts to map the hostnames to ip addresses?  Or maybe a fourth option I am ignoring.