DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationDNS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old July 21st, 2003, 02:37 AM
eliteboo eliteboo is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Location: California
Posts: 158 eliteboo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Send a message via AIM to eliteboo
DNS Caching???

Say I have the domain xyz.com and I host it's name servers which are ns1/ns2.nameserver.com which currently say in the zone records that it belongs to ip 1.1.1.1. Now if I where to change that to 1.1.1.2 would that be instantanious OR would that need to propagate over the internet as well like when changing DNS server information on the whois data of that domain?

Reply With Quote
  #2  
Old July 22nd, 2003, 12:34 PM
Scorpions4ever's Avatar
Scorpions4ever Scorpions4ever is offline
Banned ;)
Dev Shed God 5th Plane (7000 - 7499 posts)
 
Join Date: Nov 2001
Location: Glendale, Los Angeles County, California, USA
Posts: 7,430 Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 4 Weeks 1 Day 21 h 41 m 55 sec
Reputation Power: 784
Re: DNS Caching???

Quote:
Originally posted by eliteboo
Now if I where to change that to 1.1.1.2 would that be instantanious OR would that need to propagate over the internet as well like when changing DNS server information on the whois data of that domain?


It all has to do with the caching of DNS information. Here's the deal. Let's say someone else tried to visit your site, just before you updated your nameserver information. Their caching nameserver will ask your nameserver for the DNS information and will receive 1.1.1.1. Now, their caching nameserver will cache the information for a while (determined largely by the time to live value specified in your zone records). So, the next few times that the person tries to visit your site, their caching nameserver will not bother to query your nameserver again and will instead return the cached information (1.1.1.1) for a while. Anyone else who uses the same caching nameserver will receive the cached information also. The cached information will not be refreshed until the time-to-live runs out. So, even if you change your zone record, the caching nameserver will not query your nameserver for a while.

However, let's say you just changed your zone information and someone else, whose caching nameserver did not have your old information cached, tries to visit your site. Their nameserver will query your nameserver and therefore receive 1.1.1.2 and cache the info and so on. What this means is that users of the first caching nameserver will have 1.1.1.1 for a while, whereas users of the second caching nameserver will have 1.1.1.2. This means that you'll receive hits on both IP addresses for a while, until the nameservers that had your old DNS information cached have a chance to refresh.
__________________
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne

Puzzle of the Month solved by sizeablegrin, etienne141 and L7Sqr, superior C/C++ programmers of the month

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > DNS Caching???


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway