Skip to content

fix(dnscaching): check dnsCache before init & support forceipv4 with caching#1910

Merged
fallenbagel merged 3 commits into
developfrom
fix-dnscache-forceipv4
Sep 18, 2025
Merged

fix(dnscaching): check dnsCache before init & support forceipv4 with caching#1910
fallenbagel merged 3 commits into
developfrom
fix-dnscache-forceipv4

Conversation

@fallenbagel
Copy link
Copy Markdown
Collaborator

@fallenbagel fallenbagel commented Sep 17, 2025

Description

Previously dnsCache was being initialized even if it was disabled because the previous check was always returning truthy.

In addition, this PR fixes dnsCache not respecting the forceIpv4 flag (this is fixed in the package itself)

Screenshot (if UI-related)

To-Dos

Issues Fixed or Closed

…ation

previously dnsCache was being initialized even if it was disabled because the previous check was
always returning truthy.

fix #1857
This will allow dns-caching to respect forceIpv4 flag.
@fallenbagel fallenbagel marked this pull request as ready for review September 17, 2025 11:21
gauthier-th
gauthier-th previously approved these changes Sep 17, 2025
@gauthier-th gauthier-th changed the title fix: ensure dnsCache is checked for when its enabled before initialization fix(dnscaching): ensure dnsCache is checked for when its enabled before initialization Sep 17, 2025
@fallenbagel fallenbagel marked this pull request as draft September 17, 2025 12:17
@fallenbagel
Copy link
Copy Markdown
Collaborator Author

forceIpv4 works now with dns-caching enabled

@fallenbagel fallenbagel marked this pull request as ready for review September 18, 2025 11:26
@fallenbagel fallenbagel enabled auto-merge (squash) September 18, 2025 11:27
@fallenbagel fallenbagel changed the title fix(dnscaching): ensure dnsCache is checked for when its enabled before initialization fix(dnscaching): check dnsCache before init & support forceipv4 with caching Sep 18, 2025
@fallenbagel fallenbagel merged commit 9e73757 into develop Sep 18, 2025
8 checks passed
@fallenbagel fallenbagel deleted the fix-dnscache-forceipv4 branch September 18, 2025 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Force IPv4 Resolution First network settings breaks DNS resolution

2 participants