[PR #2461] fix: dns resolve and reconnection issue #2819

Open
opened 2026-10-14 21:05:30 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/amnezia-vpn/amnezia-client/pull/2461
Author: @NickVs2015
Created: 4/10/2026
Status: 🔄 Open

Base: dev ← Head: fix/dns_reconnection_issue


📝 Commits (10+)

  • 316e641 fix: add linux reconnection
  • bd554fb fix: Dbus error, fix race conditional
  • 214b18f fix: improve reeconnection
  • af0d561 fix: add dns load/unload
  • 6d1e10a feat: catch state changed via check gateway
  • 646b156 revert: restore linuxfirewall.cpp
  • f680645 fix: restore reconnect time
  • 560c407 fix: add NM_STATE_DISABLED and check getGatewayAndIface more carefully
  • c6a40b0 fix: reconnect
  • 7c07562 fix: revert wireguardutilslinux

📊 Changes

15 files changed (+353 additions, -344 deletions)

View changed files

📝 client/core/networkUtilities.cpp (+73 -87)
📝 client/daemon/daemon.cpp (+20 -4)
📝 client/daemon/daemon.h (+1 -0)
📝 client/platforms/linux/daemon/dnsutilslinux.cpp (+117 -164)
📝 client/platforms/linux/daemon/dnsutilslinux.h (+10 -15)
📝 client/platforms/linux/daemon/linuxfirewall.cpp (+29 -16)
📝 client/platforms/linux/daemon/linuxroutemonitor.cpp (+6 -1)
📝 client/platforms/linux/linuxnetworkwatcher.cpp (+3 -0)
📝 client/platforms/linux/linuxnetworkwatcherworker.cpp (+16 -5)
📝 client/platforms/linux/linuxnetworkwatcherworker.h (+3 -0)
📝 client/vpnconnection.cpp (+47 -27)
📝 client/vpnconnection.h (+2 -1)
📝 service/server/killswitch.cpp (+11 -4)
📝 service/server/killswitch.h (+1 -1)
📝 service/server/router_linux.cpp (+14 -19)

📄 Description

add vpn connection async
fix dns
fix reconnection when NM down/up actions
fix killswitch


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/amnezia-vpn/amnezia-client/pull/2461 **Author:** [@NickVs2015](https://github.com/NickVs2015) **Created:** 4/10/2026 **Status:** 🔄 Open **Base:** `dev` ← **Head:** `fix/dns_reconnection_issue` --- ### 📝 Commits (10+) - [`316e641`](https://github.com/amnezia-vpn/amnezia-client/commit/316e64122eb82a49771b5790378284521fa18317) fix: add linux reconnection - [`bd554fb`](https://github.com/amnezia-vpn/amnezia-client/commit/bd554fb730769ab2af4a71768aadfd13027b2c0f) fix: Dbus error, fix race conditional - [`214b18f`](https://github.com/amnezia-vpn/amnezia-client/commit/214b18f65ff0c019e01f351e09354696027fadae) fix: improve reeconnection - [`af0d561`](https://github.com/amnezia-vpn/amnezia-client/commit/af0d561c5c4def2067b95e569301d0fbdf3bcb30) fix: add dns load/unload - [`6d1e10a`](https://github.com/amnezia-vpn/amnezia-client/commit/6d1e10a2e3cc5bf7a03f2c22f12eed2b25ec447e) feat: catch state changed via check gateway - [`646b156`](https://github.com/amnezia-vpn/amnezia-client/commit/646b1561f8b5ad01c48f703a8691640625122c31) revert: restore linuxfirewall.cpp - [`f680645`](https://github.com/amnezia-vpn/amnezia-client/commit/f6806459fd318bf8d29d3826fda9b268d89a073f) fix: restore reconnect time - [`560c407`](https://github.com/amnezia-vpn/amnezia-client/commit/560c4070b462d5f28c9c9024bda6d222ea6d0d62) fix: add NM_STATE_DISABLED and check getGatewayAndIface more carefully - [`c6a40b0`](https://github.com/amnezia-vpn/amnezia-client/commit/c6a40b09c95b3dde690af00f218d71860c79251f) fix: reconnect - [`7c07562`](https://github.com/amnezia-vpn/amnezia-client/commit/7c075625d28536c6bd7f92969b2f7a6bea16041b) fix: revert wireguardutilslinux ### 📊 Changes **15 files changed** (+353 additions, -344 deletions) <details> <summary>View changed files</summary> 📝 `client/core/networkUtilities.cpp` (+73 -87) 📝 `client/daemon/daemon.cpp` (+20 -4) 📝 `client/daemon/daemon.h` (+1 -0) 📝 `client/platforms/linux/daemon/dnsutilslinux.cpp` (+117 -164) 📝 `client/platforms/linux/daemon/dnsutilslinux.h` (+10 -15) 📝 `client/platforms/linux/daemon/linuxfirewall.cpp` (+29 -16) 📝 `client/platforms/linux/daemon/linuxroutemonitor.cpp` (+6 -1) 📝 `client/platforms/linux/linuxnetworkwatcher.cpp` (+3 -0) 📝 `client/platforms/linux/linuxnetworkwatcherworker.cpp` (+16 -5) 📝 `client/platforms/linux/linuxnetworkwatcherworker.h` (+3 -0) 📝 `client/vpnconnection.cpp` (+47 -27) 📝 `client/vpnconnection.h` (+2 -1) 📝 `service/server/killswitch.cpp` (+11 -4) 📝 `service/server/killswitch.h` (+1 -1) 📝 `service/server/router_linux.cpp` (+14 -19) </details> ### 📄 Description add vpn connection async fix dns fix reconnection when NM down/up actions fix killswitch --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amnezia-client#2819
No description provided.