0

I have a AWS ELB to the gateway of an internal service.

I have some other host names that I need to be resolved to the same address as the ELB DNS name.

In my current set up, I'm using /etc/hosts to manually point the names to the IP address of the ELB.

But the IP of the ELB changes once in a while and I'll have to update /etc/hosts again and again.

Is it possible to just tell my operating system to just resolve the specified host names as like I'm querying with the ELB DNS name?

Satoru.Logic
  • 129
  • 1
  • 6

1 Answers1

0

DNS CNAME. ELB name is the canonical name, and the other name you want to resolve to it the alias.

/etc/hosts is not useful beyond that one host. Use DNS.

John Mahowald
  • 30,009
  • 1
  • 17
  • 32