diff --git a/src/com/fsck/k9/mail/store/ImapStore.java b/src/com/fsck/k9/mail/store/ImapStore.java index edc72e276..ee8dd8be3 100644 --- a/src/com/fsck/k9/mail/store/ImapStore.java +++ b/src/com/fsck/k9/mail/store/ImapStore.java @@ -2147,6 +2147,18 @@ public class ImapStore extends Store Log.w(K9.LOG_TAG, "Could not set DNS ttl to 0 for " + getLogId(), e); } + + try + { + Security.setProperty("networkaddress.cache.negative.ttl", "0"); + } + catch (Exception e) + { + Log.w(K9.LOG_TAG, "Could not set DNS negative ttl to 0 for " + getLogId(), e); + } + + + try {