House of Fusion
Home of the ColdFusion Community
Hostmysite ColdFusion Hosting

Search cf-talk

September 06, 2008

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
   1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30         

Subscribe Now
Fusion Authority Quarterly Update - ColdFusion 8 Special Edition

For ColdFusion hosting try HostMySite.com.
Search over 2,500 ColdFusion resources here  >>>      
Home /  Groups /  ColdFusion Talk (CF-Talk)

ColdFusion DNS Cache

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Jenny Gavin-Wear
07/08/2008 05:54 PM

Does CF (7) ever clear it's DNS cache, or does it have to be done via a restart, please? Jenny

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Barney Boisvert
07/08/2008 05:58 PM

It has to be done via restart, by default.  It's actually the JVM that does this caching, and it's configurable via a properties file.  I can't remember which one off the top of my head. cheers, barneyb ----- Excess quoted text cut - see Original Post for more -----

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Brad Wood
07/08/2008 05:58 PM

I don't know that CF caches DNS, but I bet the OS probably does. Is this a one-time thing, or do you need to pragmatically do this on a regular basis through your application? ~Brad Does CF (7) ever clear it's DNS cache, or does it have to be done via a restart, please? Jenny

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Brad Wood
07/08/2008 06:05 PM

Hmm, looks like I was wrong.  Java does cache DNS.  Furthermore, it appears to ignore TTL values. Here's a page talking about it: http://www.rgagnon.com/javadetails/java-0445.html I'm not sure exactly how that all translates to CF though. ~Brad I don't know that CF caches DNS, but I bet the OS probably does.

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Sherif Abdou
07/09/2008 03:44 PM

not meant to take over this thread but i am guessing that cf does cache DNS since i get aggregated by adobe feeds and ever since i moved my hosting I have to manually ping it inorder for it to update. if i switch back to my old host then it works fine. Hmm, looks like I was wrong.  Java does cache DNS.  Furthermore, it appears to ignore TTL values. Here's a page talking about it: http://www.rgagnon.com/javadetails/java-0445.html I'm not sure exactly how that all translates to CF though. ~Brad I don't know that CF caches DNS, but I bet the OS probably does.

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Brad Wood
07/09/2008 03:55 PM

I don't think that would make a difference.   You could ping an aggregator all day long, but if they are caching the IP address your domain USED to point to, it still wouldn't pick up your current feed. The only way I can think of that would work is if you were manually pinging them with a URL that used your IP address instead of a hostname like http://123.123.123.123/rss.cfm. Perhaps your RSS is located in a different place now and you haven't updated your ping URLs in your blog software. Or alternatively, the aggregator uses a separate server to do their automated aggregating, and the server that responds to pings is a different one.  i.e. The regularly scheduled aggregating still has your old IP cached, but the ping URL hits an entirely different server which doesn't have it cached.   ~Brad not meant to take over this thread but i am guessing that cf does cache DNS since i get aggregated by adobe feeds and ever since i moved my hosting I have to manually ping it inorder for it to update. if i switch back to my old host then it works fine.


<< Previous Thread Today's Threads Next Thread >>

Mailing Lists