ELasticsearch initial master nodes using DNS

cluster.initial_master_nodes:
  - hostname1
  - hostname2
  - hostname3 

I tried this and even put " " around them. I was able to test that I can hit the DNS from each host and even doing a curl with hostname works. It wasn't until i changed this to IP that the cluster initiated.