|
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
ColdFusion DNS Cache
Does CF (7) ever clear it's DNS cache, or does it have to be done via aJenny Gavin-Wear 07/08/08 05:54 P It has to be done via restart, by default. It's actually the JVM thatBarney Boisvert 07/08/08 05:58 P I don't know that CF caches DNS, but I bet the OS probably does.Brad Wood 07/08/08 05:58 P Here's an interesting article on this subject:Qing Xia 07/08/08 06:06 P Hmm, looks like I was wrong. Java does cache DNS. Furthermore, itBrad Wood 07/08/08 06:05 P 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.Sherif Abdou 07/09/08 03:44 P I don't think that would make a difference.Brad Wood 07/09/08 03:55 P Does CF (7) ever clear it's DNS cache, or does it have to be done via a restart, please? Jenny 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 ----- 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 Here's an interesting article on this subject: http://tjordahl.blogspot.com/2004/10/cfmx-and-dns-caching.html ----- Excess quoted text cut - see Original Post for more ----- 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. 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. 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.
|
Mailing Lists
|
Latest Fusion Authority Articles
|
||||||