IP Cache and DNS Lookup
Using the IP Cache and performing DNS Lookups.
In order to speed message delivery and shorten mail processing time MDaemon caches the IP addresses of all hosts with which it comes in contact. These IP's are stored and the cache is checked each time MDaemon requires a DNS resolution on a domain name. If the domain name needing resolution is found in the IP cache then the DNS lookup is skipped, which can save a surprising amount of processing time. The settings in this window allow you to manipulate the parameters under which the cache will operate. You may also manually add and remove entries and set the maximum size of the cache. The IP Cache can be reached from the Setup IP Cache… menu selection.
Caching Options
Clear cache at each processing interval
If selected, the entire contents of the cache will be flushed at the start of each mail session. This allows the cache to be refreshed at each processing interval.
Automatically cache uncached domains
This switch governs MDaemon's internal auto-caching engine. If you want MDaemon to cache domains automatically then enable this option. If you want to build the IP Cache yourself, then clear this checkbox.
Default time to live
This is the default value in minutes that an entry in the IP Cache can survive. Once the entry has been in the IP Cache for this number of minutes, MDaemon will remove it. If you want to set a permanent entry in the IP Cache then designate the Default Time To Live as 9999 in which case the entry will never expire.
Max cached entries
This value determines how large the cache may be. Once this setting has been reached, the next cache entry will bump the first one out of the cache.
Currently Cached IPs
Remove
Select an entry in the Currently Cached IPs window and then click this button to remove it.
No cache
Click this button to bring up a list of domain names and/or IP addresses that you never want MDaemon to add to the IP Cache.
Clear
This button will flush the cache.
Add New IP Cache Entry
Domain
Enter the domain name that you wish to add to the IP cache.
IP
Enter the IP address that you wish to add to the IP cache.
Add
Once you have entered a domain name and IP address, click this button to manually add them to the cache.
