#133324 - 06/01/2003 09:03
Propogate?
|
carpal tunnel
Registered: 08/03/2000
Posts: 12338
Loc: Sterling, VA
|
Could someone explain to me the process by which a domain name gets propogated throughout the internet? If you've got a good page with an explanation that will do too. I'm just very curious as to how this works.
_________________________
Matt
|
Top
|
|
|
|
#133325 - 06/01/2003 09:26
Re: Propogate?
[Re: Dignan]
|
carpal tunnel
Registered: 18/01/2000
Posts: 5683
Loc: London, UK
|
The definitive guide in my day (probably still is) was "DNS and BIND" from O'Reilly. It goes into excessive depth on the subject.
The short answer is this: a domain name doesn't get propogated around the Internet. When you query for a domain name, there is a distributed lookup algorithm, and a bunch of caching involved.
When people talk about domain name changes propogating, what they actually mean is that the cached information has expired, and that instead your PC will grab the up-to-date information from the original server.
_________________________
-- roger
|
Top
|
|
|
|
#133326 - 06/01/2003 09:57
Re: Propogate?
[Re: Roger]
|
carpal tunnel
Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
|
Well, they also meant that the slave DNS servers might have outdated information because the master has been updated and they've not yet checked for those updates. This has lessened since dynamic updates and such have become more common.
_________________________
Bitt Faulk
|
Top
|
|
|
|
#133327 - 06/01/2003 10:09
Re: Propogate?
[Re: Roger]
|
Anonymous
Unregistered
|
Where is this "internet"? I heard it's located in Kalamazoo, Michigan. And I thought masters weren't allowed to own slaves anymore.
|
Top
|
|
|
|
#133328 - 06/01/2003 10:16
Re: Propogate?
[Re: Dignan]
|
carpal tunnel
Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
|
A slightly more in-depth explanation, but still simple: - A domain name is registered with an accredited registrar. Through a process of, essentially, paper shuffling, that domain name-to-nameservers mapping is inserted in the root servers, which are well-known servers that all other internet DNS servers know about because they've been told to. In addition, the name-to-IP mappings for the nameservers referenced is inserted in those root servers as well.
- One specific DNS server is the master server for a domain. This is the only place that the real domain mapping information is stored. This name server is usually one of the ones listed at the root servers, but doesn't have to be.
- There are also slave servers, which copy their data about the domain (``zone'' in DNS-speak) from the master server via a DNS-specific protocol. They are told what the master server is via configuration, not by reading info from the root servers.
- The slave servers get a copy of the zone when they start up. The zone data contains information for how often the slave servers should check to get new information, as well as how often to check if that fails and how long to keep data when they can no longer reach the master server. Since the Internet powers-that-be require at least two nameservers be listed at the root, that means that at least one slave server is one of the official nameservers for the domain. That can lead to the official nameservers being out of sync for a period of time. This is what's usually refered to as ``propagation''.
- When your computer makes a request for a DNS name, it usually doesn't do the whole thing itself, but asks a local DNS server to get it for you, which it does by asking one of the root servers and then asking the nameservers it specifies. When it does, it also gets a piece of data, also configured in the master zone info, about how long to cache that information, in case your computer or another computer it serves asks for the same data again, before it should recheck with one of the official servers. This is also part of what's though of as ``propagation''.
- In recent years, there has been an addition to DNS so that updates to the master server's zone information can get pushed to its slave servers, rather than waiting for them to ask again. This has reduced propagation times significantly, but it isn't terribly widely deployed because it took a while to address some security issues associated with it. There's also a slightly different DNS addition that allows the master server to tell its slaves that it has new information and to come and get it, rather than it pushing new data to them. This has helped, too, and doesn't have as many security issues, although there are a few.
Hope that helped.
_________________________
Bitt Faulk
|
Top
|
|
|
|
#133329 - 06/01/2003 11:55
Re: Propogate?
[Re: wfaulk]
|
carpal tunnel
Registered: 08/03/2000
Posts: 12338
Loc: Sterling, VA
|
Thanks! That's great! I've just been setting up new web sites for a few people, and they want to know why they can see their website THIS INSTANT!
_________________________
Matt
|
Top
|
|
|
|
|
|