use DNS instead of IP
Merge pull request #229 from vmorarian/aws-dns

use DNS instead of IP