Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

When I created an EC2 instance it immediately got a name ec2-67-201-11-147.compute-1.amazonaws.com 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
add comment

1 Answer

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.