Closed Bug 1665848 Opened 4 years ago Closed 3 years ago

Clearing the DNS cache on a network change and work offline On/Off and clear cache and OS flush DNS actions...

Categories

(Thunderbird :: General, defect)

Thunderbird 81
x86_64
Unspecified
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1614384

People

(Reporter: richard.leger, Unassigned)

Details

I noticed in TB 81 branch (also happened in previous versions) that TB sometime lost connection to server upon network changes (e.g vpn turned on or turned off or sleep on one network and wake on another) that cause server IP to change while TB is running (from an external IP to an internal one and vice-versa).

As far as the OS is able to reach the server upon network changes, I would expect TB to be able to as well but it seems it isn't always the case... as it does not use the OS DNS cache but its own it seems...

Somehow TB DNS cache for opened network connection is not cleared/invalidated upon network changes occuring on the OS.

The following actions seems to have no positive effect at sorting the issue when it occurs:

  • flush DNS on OS
  • turn work offline On then Off in TB
  • clear TB's cache

The only way to fix such issue is to exit TB and restart it... not the most convenient if you are in the middle of something - e.g drafting an email or event/task that cannot even be saved to IMAP draft folder on server (or local folder as a fallback) or a local storage cache (when working (online)!

Strangely it does not seems to happen all the time and I haven't yet been able to reproduce the issue at will... I suspect it could be that DNS cached record expired by itself at some point causing TB net conn to work again...

TB shall use OS DNS cache or clear its own DNS cache upon all the following events:

  • upon network changes
  • flush DNS on OS
  • turn work offline On then Off in TB
  • clear TB's cache
  • if it cannot connect to a server as a possible attempt to fix the issue

This is a duplicate of #1614384 which describes the same issue.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.