Go Back   WarriorForum - Internet Marketing Forums > The Warrior Forum > Main Internet Marketing Discussion Forum
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 09-28-2008, 06:33 PM   #1
Content & Copywriting Wiz
War Room Member
 
Steven Wagenheim's Avatar
 
Join Date: Dec 2006
Location: Roselle, NJ, USA
Posts: 16,394
Blog Entries: 11
Thanks: 1,531
Thanked 6,192 Times in 2,288 Posts
Social Networking View Member's Twitter Profile  View Member's YouTube Profile
Default I Learned Something About IP Caching Today That You Might Find Interesting

This is something that I had never run into before and I am passing it along
since some of you may have sites (such as membership sites) that your
customers access on a regular basis.

Now, I am not a tech person so I can't really explain this in really good
technical terms (which may be just as well for you non techies) so I am
going to explain it in simple English.

Let's say John Doe accesses your site and has it bookmarked and their ISP
also has the IP address cached. This way, when you go to the site, you'll
notice that it comes up right away.

Well, if for some reason, your hosting company makes some updates and
in the process, changes the IP address of the site, your customer's PC, when
they go to access the site again, will NOT find it, even though it is still up.

Now, according to my tech guy, eventually this gets flushed out and
when the customer goes back to the site, maybe a day later or whenever,
the site WILL come up. But until the IP or DNS gets flushed, it won't.

This just happened to me. I could get to my sites from one PC (hadn't been
on it before the update) but couldn't get to the sites from the PC that had
just accessed it before the update.

If you have a very active site, this could cause a customer service
nightmare during that period before the DNS gets flushed.

You can manually flush your DNS by pulling up a DOS prompt and typing in

ipconfig/flushdns

However, your customers and/or members won't know to do this.

It took me forever to figure this out, which was later confirmed by my
tech guy at the hosting company.

I don't know how often something like this will happen. It is the first time
this has happened to me since I've been online, but in case you ever find
that you can get to one of your sites from one computer but not from
another, this is probably why.

Steven Wagenheim is offline   Reply With Quote
Old 09-28-2008, 06:50 PM   #2
RhondaHolland.com
 
rmholla's Avatar
 
Join Date: Mar 2003
Location: PA
Posts: 532
Thanks: 40
Thanked 23 Times in 20 Posts
Social Networking View Member's Twitter Profile 
Default Re: I Learned Something About IP Caching Today That You Might Find Interesting

So this only applies to someone using a bookmark to find your site?


Rhonda

Digital Delivery HQ - great products, instant delivery.

Domains For Sale (make offer): EasyAuctionDeals.com & InstantNicheRiches.com

rmholla is offline   Reply With Quote
Old 09-28-2008, 06:58 PM   #3
Content & Copywriting Wiz
War Room Member
 
Steven Wagenheim's Avatar
 
Join Date: Dec 2006
Location: Roselle, NJ, USA
Posts: 16,394
Blog Entries: 11
Thanks: 1,531
Thanked 6,192 Times in 2,288 Posts
Social Networking View Member's Twitter Profile  View Member's YouTube Profile
Default Re: I Learned Something About IP Caching Today That You Might Find Interesting

Quote:
Originally Posted by rmholla View Post
So this only applies to someone using a bookmark to find your site?


Rhonda
Rhonda, I'm not sure if it's just that OR if they had also just recently been
to your site and have the IP cached.

But certainly, yes, if the site is bookmarked and they go to it regularly,
they're toast until the dns gets flushed.

Steven Wagenheim is offline   Reply With Quote
Old 09-28-2008, 07:30 PM   #4
Senior Warrior Member
War Room Member
 
Steven Fullman's Avatar
 
Join Date: Mar 2007
Location: London, England
Posts: 3,771
Thanks: 1,006
Thanked 525 Times in 340 Posts
Social Networking View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Send a message via MSN to Steven Fullman Send a message via Skype™ to Steven Fullman
Default Re: I Learned Something About IP Caching Today That You Might Find Interesting

For those who go goggle-eyed at the thought of 'pulling up a DOS box'...rebooting your PC will achieve the same thing.

However, Steve has touched upon some great points...nearly all correct

'DNS For Marketers' is making me LOL at the moment though. I could write it in an evening, but sadly it'd never be 'Mass Control' popular.

Steve 'Network Guy' Fullman (...and I mean network in the geek sense of the word, not as in 'shake 'n fake'...)

Steven Fullman is offline   Reply With Quote
Old 09-28-2008, 07:36 PM   #5
Content & Copywriting Wiz
War Room Member
 
Steven Wagenheim's Avatar
 
Join Date: Dec 2006
Location: Roselle, NJ, USA
Posts: 16,394
Blog Entries: 11
Thanks: 1,531
Thanked 6,192 Times in 2,288 Posts
Social Networking View Member's Twitter Profile  View Member's YouTube Profile
Default Re: I Learned Something About IP Caching Today That You Might Find Interesting

Quote:
Originally Posted by Steven Fullman View Post
For those who go goggle-eyed at the thought of 'pulling up a DOS box'...rebooting your PC will achieve the same thing.

However, Steve has touched upon some great points...nearly all correct

'DNS For Marketers' is making me LOL at the moment though. I could write it in an evening, but sadly it'd never be 'Mass Control' popular.

Steve 'Network Guy' Fullman (...and I mean network in the geek sense of the word, not as in 'shake 'n fake'...)
As I said Steve, I'm not a techie person and this was all news to me. I
figured each time you went to a site, your PC just looked for the site and
if it was up and running, found it.

Turns out, not so.

Steven Wagenheim is offline   Reply With Quote
Old 09-28-2008, 07:39 PM   #6
Advanced Warrior
War Room Member
 
Join Date: Jan 2007
Location: Minnesota
Posts: 612
Thanks: 13
Thanked 47 Times in 41 Posts
Social Networking View Member's Twitter Profile 
Contact Info
Send a message via Skype™ to Ben Roy
Default Re: I Learned Something About IP Caching Today That You Might Find Interesting

A while ago they made some changes to the DNS infrastructure on the internet. In the process, the timeouts that are generally associated with caching that information were drastically lowered. Most users, with most ISPs, should only suffer a problem like this for a very short period of time (minutes).

And of course they would only experience this problem if your host had changed your IP address while they were accessing the site (or someone else on the same DNS servers). This should happen...almost never. I'd guess most server accounts don't change ip address even once a year.

Ben Roy is offline   Reply With Quote
Old 09-28-2008, 08:07 PM   #7
Senior Warrior Member
War Room Member
 
Steven Fullman's Avatar
 
Join Date: Mar 2007
Location: London, England
Posts: 3,771
Thanks: 1,006
Thanked 525 Times in 340 Posts
Social Networking View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Send a message via MSN to Steven Fullman Send a message via Skype™ to Steven Fullman
Default Re: I Learned Something About IP Caching Today That You Might Find Interesting

Quote:
Originally Posted by Steven Wagenheim View Post
As I said Steve, I'm not a techie person and this was all news to me. I
figured each time you went to a site, your PC just looked for the site and
if it was up and running, found it.

Turns out, not so.
I know...it's crazy!

Trivia: There's a silent period '.' at the end of every domain name. It got dropped from popular speech (and browsers) simply because it was always there...

So google.com is really google.com.

The periods are the DNS root servers. They know where all the top-level domain name servers are...(.com, .org, .edu etc).

So, you want to visit www.iveneverbeenherebefore.com ?

Your PC checks whether the address is in cache, and if not, it querys its primary DNS server (most likely, your ISP)...

Your ISP checks whether the address is in its cache, and if not, it queries the root servers.

The root servers say, "I know where the .com's are!", and sends back a message to your ISP.

Your ISP sends a reply to the .com servers, asking where iveneverbeenherebefore.com is. The .com server replies, "I know where iveneverbeenherebefore.com is!"

The .com server sends your ISP the IP address.

Your ISP sends a message to the iveneverbeenherebefore.com server, asking, "Do you know where www.iveneverbeen....etc" is?"

The iveneverbeenherebefore DNS server answers the question, and gives your ISP the answer.

Boom...We have a connection.

Your ISP gives you the connection details for www.iveneverbeenherebefore.com and you visit the site.

Your PC, and your ISP cache the IP address, just in case you need to go through that rigamarole again in the next few minutes.

...even though your initial request may have travelled the globe many times, and in milliseconds.

That's how the internet works.

Steve

Steven Fullman is offline   Reply With Quote
Old 09-28-2008, 08:34 PM   #8
Warrior Member
 
Join Date: Aug 2007
Location: , , .
Posts: 21
Thanks: 1
Thanked 2 Times in 2 Posts
Default Re: I Learned Something About IP Caching Today That You Might Find Interesting

Yep, if you want to find out what your computer knows about any particular domain, open up a command window (start / run / cmd ) :

Quote:
C:>nslookup
Default Server: UnKnown
Address: 192.168.165.1

> set type=soa
> etfautopilot.com
Server: UnKnown
Address: 192.168.165.1

Non-authoritative answer:
etfautopilot.com
primary name server = ns1.dreamhost.com
responsible mail addr = hostmaster.dreamhost.com
serial = 2008061101
refresh = 17700 (4 hours 55 mins)
retry = 1800 (30 mins)
expire = 1814400 (21 days)
default TTL = 14400 (4 hours)

etfautopilot.com nameserver = ns2.dreamhost.com
etfautopilot.com nameserver = ns3.dreamhost.com
etfautopilot.com nameserver = ns1.dreamhost.com
ns1.dreamhost.com internet address = 66.33.206.206
ns2.dreamhost.com internet address = 208.96.10.221
ns3.dreamhost.com internet address = 66.33.216.216
>

Note this is rarely a problem - only when you (or your host) switch the IP address of your website. If they know they are going to do this in advance, ask them to "reduce the TTLs" beforehand. This means - lower the numbers you see above (refresh/retry/expire), so that the outage will be minimal.

If you're changing hosts, your IP will also change. If it's a static site, no big deal, leave the old website up and running for a couple of days during the switchover. Hard to do if it's a database-driven site, but for basic sales pages, no issue at all.


Sigs are for pussies.
BillyParadise is offline   Reply With Quote
Old 09-29-2008, 12:47 AM   #9
Programmer Extraordinaire
War Room Member
 
Join Date: Jun 2007
Location: Olathe, KS USA.
Posts: 700
Thanks: 39
Thanked 30 Times in 26 Posts
Social Networking View Member's FaceBook Profile 
Default Re: I Learned Something About IP Caching Today That You Might Find Interesting

There is a similar thing that happens on your internet provider's end too.

If you ever notice that your site's ip address changes and you can no longer get to it, but somebody else can from a different area, then you might just have to wait for a day or two for the cache to clear at your provider. An ipconfig /flushdns doesn't work at that point because it's your provider with the problem.

It doesn't happen often, but I've had it happen a couple times over the years.

I'm tired of my signature... Deleted.
Bishop81 is offline   Reply With Quote
Old 09-29-2008, 02:10 AM   #10
Advanced Warrior
 
Join Date: May 2008
Location: Western Canada
Posts: 824
Thanks: 29
Thanked 149 Times in 127 Posts
Default Re: I Learned Something About IP Caching Today That You Might Find Interesting

On a related issue...

For those of you that may not know about the following Free tools. Another easy and simple way to keep your computer real clean and fast without having to do a separate disc cleanup , defrag, temporary file cache etc...

Amazing Free tool or by donation. Over 195 million downloads. Options allows you to adjust all settings re: cookies etc...
CCleaner - Home
CCleaner - Features

And...
Defraggler - Defragment your files!

Dave
Dave777 is online now   Reply With Quote
Old 09-29-2008, 11:21 AM   #11
Senior Warrior Member
War Room Member
 
Join Date: Jan 2003
Location: , , USA.
Posts: 11,102
Thanks: 1,449
Thanked 742 Times in 645 Posts
Default Re: I Learned Something About IP Caching Today That You Might Find Interesting

Actually, the way it works is THIS! If everyone went to the MAIN servers for .COM, it would cause timeouts everywhere, and the internet would just COLLAPSE! There are only about 13 such servers serving the PLANET!!!!!!! When you go to a site, your system checks itself. If the TTL ( Time to live - Wikipedia, the free encyclopedia ) has elapsed, it goes to the next most authoritative source, etc.... EVENTUALLY, it may hit one of those 13 servers, and go back to the main DNS, but that is UNLIKELY!

By doing that, the 13 servers now become MILLIONS! Of course, the problem is that it could take DAYS for the cache to be updated. BTW this is the DNS, and affects EVERYTHING! Browser, FTP, etc....

Steve
seasoned is offline   Reply With Quote
Old 09-29-2008, 07:28 PM   #12
Socrates: I drank What?
War Room Member
 
jacktackett's Avatar
 
Join Date: May 2007
Location: Cary,NC , USA.
Posts: 1,378
Blog Entries: 1
Thanks: 778
Thanked 450 Times in 253 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile 
Contact Info
Send a message via Skype™ to jacktackett
Default Re: I Learned Something About IP Caching Today That You Might Find Interesting

Nice thread, thanks to everyone.

There's also something else to be aware of - before a DNS server is ever queried windows will check a file called hosts - its in the windows install folder\system32\drivers\etc

This file contains a mapping of IP addresses to host names - similar to what DNS provides.

I always write protect this file to make sure malicious programs (or people) can't send me to a fake site if I put in www.paypal.com etc. Since entries in this file will override DNS entries.

--Jack

ps - to the networking guys - ever get bit by forgetting to clear the arp cache on your router after changing out a dead ethernet card? - took a while to figure that one out, given the router was in Guam and I was in RTP, NC....

Mega Monster WSO for KimW
http://ow.ly/4JdHm
Help Keep Ken Strong!
http://goo.gl/Q0c99
4th Annual Warrior Event! March,2012

jacktackett is offline   Reply With Quote
Old 09-29-2008, 08:24 PM   #13
Senior Warrior Member
 
talewins's Avatar
 
Join Date: Jan 2001
Location: Middle Earth
Posts: 1,126
Blog Entries: 1
Thanks: 9
Thanked 17 Times in 17 Posts
Social Networking View Member's Twitter Profile 
Default Re: I Learned Something About IP Caching Today That You Might Find Interesting

My dns change took 12 days to propagate back to me. That is 14 days.
I had to call my local Internet server to ask what was going on. Turns out this company only flushes its cache out once a month. Apparently the situation is repeated occasionally all over the web. Just yesterday another customer reported my site is down, because she was going to the old server.

When you strive for greatness you will find that having a professional collaborator at your side can turn all the fuzzy preaching into writing that is smooth as silk and right as rain. http://www.talewins.com/LinStone.htm
talewins is offline   Reply With Quote
Old 09-29-2008, 10:47 PM   #14
pjs
www.MomAndPopMoney.com
War Room Member
 
pjs's Avatar
 
Join Date: Apr 2008
Location: Los Angeles, CA, USA.
Posts: 235
Thanks: 3
Thanked 6 Times in 5 Posts
Contact Info
Send a message via AIM to pjs
Default Re: I Learned Something About IP Caching Today That You Might Find Interesting

Quote:
Originally Posted by talewins View Post
My dns change took 12 days to propagate back to me. That is 14 days.
I had to call my local Internet server to ask what was going on. Turns out this company only flushes its cache out once a month. Apparently the situation is repeated occasionally all over the web. Just yesterday another customer reported my site is down, because she was going to the old server.
This is highly uncommon. 24 hour cache setting is way to long, I can't imagine 14 days. Normal TTL (time to live) for most hosts is around 1 hour (3600 seconds). Some ISP's will ignore the set TTL and cache for whatever period they want. The idea is sound but it's really not practical in today's "internet"..

Mom and Pop Money WSO *** - How ONE Lead Capture Page Made $9K in 2 Weeks in the "Offline" niche!

PeterSanchez.com >>> FollowPeter.com (Twitter)
pjs is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > The Warrior Forum > Main Internet Marketing Discussion Forum

Tags
caching, find, interesting, learned, today

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 03:29 AM.