Commit 1298c59
Disable negative caching for local.hass.io
When a name under local.hass.io is queried before Supervisor's hosts
file entry is picked up (e.g. right after an add-on started), the
resulting NXDOMAIN is negative-cached for ~5s, prolonging resolution
failures even after the hosts entry became visible.
Disable caching of denial responses for local.hass.io. Positive answers
are still cached, and entries for these names live in the local hosts
file anyway, so negative caching provides no benefit here.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 67ce413 commit 1298c59
1 file changed
Lines changed: 3 additions & 1 deletion
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| |||
0 commit comments