Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am new to EC2 and please help me in understanding this better.

When I created an EC2 instance it immediately got a name and I could dig them immediately.

Can any one tell me how this happens?

In a normal Domain Name registration, doesn't it require some time for the Zones to get updated and cache its entries.

share|improve this question
up vote 3 down vote accepted

You are slightly correct.

Domain registration/moves can take anything from 1 hour to a few days to propagate the first time the domain is registered/moved and pointed to a name server. However, once a name server exists, the TTL can be anything from 1 hour onwards.

Since the DNS for amazon already exists at the top level, you can add as many subdomains as you want and they will appear almost instantly depending where in the world you are. There is really no magic here, since the DNS server already knows which name server to query.

Also, keep in mind that most DNS queries are cached after the first query, so often a client machine won't see a DNS entry because it was not available when queried the first time, and it normally resets the cache every 24 hours, or you can force the cache to be flushed on most major operating systems.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .