Title:
IP caches forever and does not respect DNS TTL for cfhttp, cfftp, cfpop, cfexchangemail, cfimp & cfmail
| View in TrackerStatus/Resolution/Reason: Closed/Withdrawn/NotThisProduct
Reporter/Name(from Bugbase): Henry Ho / Henry Ho (Henry Ho)
Created: 02/23/2015
Components: General Server
Versions: 10.0
Failure Type: Non Functioning
Found In Build/Fixed In Build: Final /
Priority/Frequency: Normal / All users will encounter
Locale/System: English / Win All
Vote Count: 4
Problem Description:
If any domain name you are connecting to from CFML has had a DNS change such as a change of IP address then code will suddenly stop working until you next restart CF.
Areas that will affect include:-
SMTP servers in the CFADMIN
Database Servers in your Datasources
CFHTTP calls
Web Services
CFFTP, CFPOP, CFEXCHANGEMAIL, CFIMAP, CFMAIL
source: http://www.michaels.me.uk/post.cfm/fix-the-dns-caching-in-coldfusion
FEATURE REQUEST:
1. ) DNS should respect TTL
2.) CF ADMIN should have a button that Flush DNS cache without restart
3.) document the official way of setting java.security in JVM config
Steps to Reproduce: change IP in DNS with small TTL and use of of the tags mentioned above.
Actual Result: IP cached forever
Expected Result: uses new IP because of TTL of the DNS record.
Any Workarounds: RESTART CF or manually change java.security (not documented in CF doc)
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3944218
External Customer Info:
External Company:
External Customer Name: Henry
External Customer Email:
External Test Config: CF10 or CF11 or older CF on JVM.
Attachments:
Comments: