[GH-ISSUE #708] Problem with DNS servers #183

Open
opened 2026-10-13 20:14:42 +00:00 by bsakaguchi · 25 comments
Owner

Originally created by @gilza888 on GitHub (Mar 22, 2024).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/708

I can’t access websites when VPN is enabled.
Pings IP addresses, but when trying to ping google.com or other domains it gives an error. VPN works on other devices

Amnezia: 4.4.0.0
Linux: KaOS rolling

Originally created by @gilza888 on GitHub (Mar 22, 2024). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/708 I can’t access websites when VPN is enabled. Pings IP addresses, but when trying to ping google.com or other domains it gives an error. VPN works on other devices Amnezia: 4.4.0.0 Linux: KaOS rolling
Author
Owner

@Guest007 commented on GitHub (Apr 6, 2024):

4.5.0.0 from github
Manjaro Linux
AmneziaWG - DNS not working. AmneziaDNS nor 8.8.8.8/1.1.1.1 etc
Amnezia OpenVPN over Cloak works well

<!-- gh-comment-id:2041099992 --> @Guest007 commented on GitHub (Apr 6, 2024): 4.5.0.0 from github Manjaro Linux AmneziaWG - DNS not working. AmneziaDNS nor 8.8.8.8/1.1.1.1 etc Amnezia OpenVPN over Cloak works well
Author
Owner

@pokamest commented on GitHub (Apr 22, 2024):

Please test https://github.com/amnezia-vpn/amnezia-client/releases/tag/4.5.3.0

<!-- gh-comment-id:2068328007 --> @pokamest commented on GitHub (Apr 22, 2024): Please test https://github.com/amnezia-vpn/amnezia-client/releases/tag/4.5.3.0
Author
Owner

@Guest007 commented on GitHub (Apr 22, 2024):

Please test https://github.com/amnezia-vpn/amnezia-client/releases/tag/4.5.3.0

Thank you. But it's not work for me now

Connect established, but dns not acceptable.

<!-- gh-comment-id:2068967390 --> @Guest007 commented on GitHub (Apr 22, 2024): > Please test https://github.com/amnezia-vpn/amnezia-client/releases/tag/4.5.3.0 Thank you. But it's not work for me now Connect established, but dns not acceptable.
Author
Owner

@DmitriyMolch commented on GitHub (May 30, 2024):

Not working for me
image
image

<!-- gh-comment-id:2140409055 --> @DmitriyMolch commented on GitHub (May 30, 2024): Not working for me ![image](https://github.com/amnezia-vpn/amnezia-client/assets/10967748/c57da621-47c5-4334-a890-d6daa1fb4a9b) ![image](https://github.com/amnezia-vpn/amnezia-client/assets/10967748/5f4d942b-67f6-4c02-beb5-a23e08d227f2)
Author
Owner

@evgeny-gerasimov commented on GitHub (Aug 1, 2024):

This problem also remains in version 4.6.0.3 (AmneziaWG).
OS: Manjaro linux 24.0.5.
01_08_2024_15-10-42
01_08_2024_15-10-26

<!-- gh-comment-id:2262891223 --> @evgeny-gerasimov commented on GitHub (Aug 1, 2024): This problem also remains in version 4.6.0.3 (AmneziaWG). OS: Manjaro linux 24.0.5. ![01_08_2024_15-10-42](https://github.com/user-attachments/assets/21c854bc-7a4f-43d9-a200-490fe5eabf53) ![01_08_2024_15-10-26](https://github.com/user-attachments/assets/e33004e4-b013-4b7a-aeeb-344df5466618)
Author
Owner

@GILLIBON commented on GitHub (Aug 2, 2024):

Same problem with Arch Linux.
AmneziaVPN version 4.6.0.3.
Unable to resolve domain names with OpenVPN and AmneziaWG. OpenVPN over Cloak works fine.

<!-- gh-comment-id:2264848456 --> @GILLIBON commented on GitHub (Aug 2, 2024): Same problem with Arch Linux. AmneziaVPN version 4.6.0.3. Unable to resolve domain names with OpenVPN and AmneziaWG. OpenVPN over Cloak works fine.
Author
Owner

@teamfighter commented on GitHub (Aug 5, 2024):

Same problem here.

<!-- gh-comment-id:2269024760 --> @teamfighter commented on GitHub (Aug 5, 2024): Same problem here.
Author
Owner

@FeorPrime commented on GitHub (Aug 7, 2024):

Linux 6.1.0-22-amd64 Debian 6.1.94-1 (2024-06-21) x86_64 GNU/Linux

both on 4.6.0.3 and 4.5.0.0 has the same problem.

Vpn on:

❯ nslookup google.com
;; communications error to 192.168.50.1#53: connection refused
;; communications error to 192.168.50.1#53: connection refused
;; communications error to 192.168.50.1#53: connection refused
;; communications error to 8.8.8.8#53: connection refused
;; communications error to 8.8.4.4#53: connection refused
;; no servers could be reached

and whithout vpn:

❯ nslookup google.com
Server:		192.168.50.1
Address:	192.168.50.1#53

Non-authoritative answer:
Name:	google.com
Address: 142.250.186.142
Name:	google.com
Address: 2a00:1450:4026:803::200e

i decided to check:

vpn off:

❯ nc -vz 142.250.186.142 443
Connection to 142.250.186.142 443 port [tcp/https] succeeded!
❯ nc -vz 142.250.186.142 80
Connection to 142.250.186.142 80 port [tcp/http] succeeded!
❯ nc -vz 8.8.8.8 53
Connection to 8.8.8.8 53 port [tcp/domain] succeeded!

vpn on:

❯ nc -vz 8.8.8.8 53
nc: connect to 8.8.8.8 port 53 (tcp) failed: Connection refused
❯ nc -vz 142.250.186.142 80
Connection to 142.250.186.142 80 port [tcp/http] succeeded!
❯ nc -vz 142.250.186.142 443
Connection to 142.250.186.142 443 port [tcp/https] succeeded!

TL;DR : so, my workaround was this:

❯ sudo iptables -L | grep DNS
Chain amnvpn.310.blockDNS (1 references)
Chain amnvpn.320.allowDNS (1 references)
Chain amnvpn.a.310.blockDNS (1 references)
amnvpn.310.blockDNS  all  --  anywhere             anywhere            
Chain amnvpn.a.320.allowDNS (1 references)
amnvpn.320.allowDNS  all  --  anywhere             anywhere            
amnvpn.a.320.allowDNS  all  --  anywhere             anywhere            
amnvpn.a.310.blockDNS  all  --  anywhere             anywhere 

I thought that it looks wierd, and i decide to delete some rules 1 by 1 (cuz i have no idea how iptables works):

sudo iptables -F amnvpn.a.310.blockDNS

and now everything is working, except amnezia dns:

❯ nc -vz 8.8.8.8 53
Connection to 8.8.8.8 53 port [tcp/domain] succeeded!
❯ nslookup google.com
Server:		192.168.50.1
Address:	192.168.50.1#53

Non-authoritative answer:
Name:	google.com
Address: 216.58.209.206
Name:	google.com
Address: 2a00:1450:4026:803::200e

Still need to hit sudo iptables -F amnvpn.a.310.blockDNS each time i need to use vpn!!

<!-- gh-comment-id:2274486287 --> @FeorPrime commented on GitHub (Aug 7, 2024): Linux 6.1.0-22-amd64 Debian 6.1.94-1 (2024-06-21) x86_64 GNU/Linux both on 4.6.0.3 and 4.5.0.0 has the same problem. Vpn on: ```sh ❯ nslookup google.com ;; communications error to 192.168.50.1#53: connection refused ;; communications error to 192.168.50.1#53: connection refused ;; communications error to 192.168.50.1#53: connection refused ;; communications error to 8.8.8.8#53: connection refused ;; communications error to 8.8.4.4#53: connection refused ;; no servers could be reached ``` and whithout vpn: ```sh ❯ nslookup google.com Server: 192.168.50.1 Address: 192.168.50.1#53 Non-authoritative answer: Name: google.com Address: 142.250.186.142 Name: google.com Address: 2a00:1450:4026:803::200e ``` i decided to check: ```sh vpn off: ❯ nc -vz 142.250.186.142 443 Connection to 142.250.186.142 443 port [tcp/https] succeeded! ❯ nc -vz 142.250.186.142 80 Connection to 142.250.186.142 80 port [tcp/http] succeeded! ❯ nc -vz 8.8.8.8 53 Connection to 8.8.8.8 53 port [tcp/domain] succeeded! vpn on: ❯ nc -vz 8.8.8.8 53 nc: connect to 8.8.8.8 port 53 (tcp) failed: Connection refused ❯ nc -vz 142.250.186.142 80 Connection to 142.250.186.142 80 port [tcp/http] succeeded! ❯ nc -vz 142.250.186.142 443 Connection to 142.250.186.142 443 port [tcp/https] succeeded! ``` ### TL;DR : so, my workaround was this: ```sh ❯ sudo iptables -L | grep DNS Chain amnvpn.310.blockDNS (1 references) Chain amnvpn.320.allowDNS (1 references) Chain amnvpn.a.310.blockDNS (1 references) amnvpn.310.blockDNS all -- anywhere anywhere Chain amnvpn.a.320.allowDNS (1 references) amnvpn.320.allowDNS all -- anywhere anywhere amnvpn.a.320.allowDNS all -- anywhere anywhere amnvpn.a.310.blockDNS all -- anywhere anywhere ``` I thought that it looks wierd, and i decide to delete some rules 1 by 1 (cuz i have no idea how iptables works): ```sh sudo iptables -F amnvpn.a.310.blockDNS ``` and now everything is working, except amnezia dns: ```sh ❯ nc -vz 8.8.8.8 53 Connection to 8.8.8.8 53 port [tcp/domain] succeeded! ❯ nslookup google.com Server: 192.168.50.1 Address: 192.168.50.1#53 Non-authoritative answer: Name: google.com Address: 216.58.209.206 Name: google.com Address: 2a00:1450:4026:803::200e ``` ### Still need to hit `sudo iptables -F amnvpn.a.310.blockDNS` each time i need to use vpn!!
Author
Owner

@f0ma commented on GitHub (Aug 22, 2024):

If I understand the logic in client/platforms/linux/daemon/dnsutilslinux.cpp correctly amnezia-client tries to send information about new DNS servers via DBUS to local resolver (systemd-resolved), and blocks all other DNS requests with the firewall rule amnvpn.a.310.blockDNS. If local resolver is disabled (default on Arch and Manjaro), it causes an error in DNS name resolution.

You can start systemd-resolved before connecting to VPN to fix this issue:
sudo systemctl start systemd-resolved

or enable it on system boot
sudo systemctl enable systemd-resolved

<!-- gh-comment-id:2304679111 --> @f0ma commented on GitHub (Aug 22, 2024): If I understand the logic in `client/platforms/linux/daemon/dnsutilslinux.cpp` correctly `amnezia-client` tries to send information about new DNS servers via DBUS to local resolver (`systemd-resolved`), and blocks all other DNS requests with the firewall rule `amnvpn.a.310.blockDNS`. If local resolver is disabled (default on Arch and Manjaro), it causes an error in DNS name resolution. You can start `systemd-resolved` before connecting to VPN to fix this issue: `sudo systemctl start systemd-resolved` or enable it on system boot `sudo systemctl enable systemd-resolved`
Author
Owner

@ghost commented on GitHub (Sep 2, 2024):

It didn't work for me with Kali Linux, I installed systemd-resolved and started service, it's running, but when I turn on VPN and try to find IP of google.com it writes:
nslookup google.com
Server: 127.0.0.53
Address: 127.0.0.53#53

** server can't find google.com: REFUSED

Moreover, after VPN turned off, DNS still was not working. I had to write nameservers to resolv.conf file manually to restore Internet without VPN.

<!-- gh-comment-id:2324426013 --> @ghost commented on GitHub (Sep 2, 2024): It didn't work for me with Kali Linux, I installed systemd-resolved and started service, it's running, but when I turn on VPN and try to find IP of google.com it writes: nslookup google.com Server: 127.0.0.53 Address: 127.0.0.53#53 ** server can't find google.com: REFUSED Moreover, after VPN turned off, DNS still was not working. I had to write nameservers to resolv.conf file manually to restore Internet without VPN.
Author
Owner

@ghost commented on GitHub (Sep 2, 2024):

I solved issue by changing nameserver 127.0.0.53 to nameserver 172.29.172.254 (it's the address of Amnezia DNS) in /etc/resolv/conf and not reloading systemd-resolved after making changes. It seems that there is no DNS leak and everything works fine.

<!-- gh-comment-id:2324441049 --> @ghost commented on GitHub (Sep 2, 2024): I solved issue by changing nameserver 127.0.0.53 to nameserver 172.29.172.254 (it's the address of Amnezia DNS) in /etc/resolv/conf and **not** reloading systemd-resolved after making changes. It seems that there is no DNS leak and everything works fine.
Author
Owner

@Guest007 commented on GitHub (Sep 3, 2024):

With 4.7.0.0 AmneziaWG started to work
OS: Manjaro Linux
Client app from Releases page here

<!-- gh-comment-id:2327391224 --> @Guest007 commented on GitHub (Sep 3, 2024): With 4.7.0.0 AmneziaWG started to work OS: Manjaro Linux Client app from Releases page here
Author
Owner

@Kolbasyatin commented on GitHub (Sep 21, 2024):

Doesn't work for me when the systemd-resolved and the VPN are active both.
I have to do systemctl disable systemd-resolved systemctl stop systemd-resolved and just then DNS resolve works again.
EndeavourOS
Amnezia 4.7.0.0

<!-- gh-comment-id:2365221619 --> @Kolbasyatin commented on GitHub (Sep 21, 2024): Doesn't work for me when the systemd-resolved and the VPN are active both. I have to do `systemctl disable systemd-resolved` `systemctl stop systemd-resolved` and just then DNS resolve works again. EndeavourOS Amnezia 4.7.0.0
Author
Owner

@odduck41 commented on GitHub (Oct 15, 2024):

The same problem...

<!-- gh-comment-id:2415295941 --> @odduck41 commented on GitHub (Oct 15, 2024): The same problem...
Author
Owner

@blobski commented on GitHub (Oct 22, 2024):

sudo apt install openvpn-systemd-resolved did it for me (Ubuntu 24).
Don't know what is DNS leak though :)

<!-- gh-comment-id:2429931038 --> @blobski commented on GitHub (Oct 22, 2024): `sudo apt install openvpn-systemd-resolved` did it for me (Ubuntu 24). Don't know what is DNS leak though :)
Author
Owner

@missingnx commented on GitHub (Oct 27, 2024):

I solved issue by changing nameserver 127.0.0.53 to nameserver 172.29.172.254 (it's the address of Amnezia DNS) in /etc/resolv/conf and not reloading systemd-resolved after making changes. It seems that there is no DNS leak and everything works fine.

@dsonozaki
Solve this on Kali by using 8.8.8.8 as nameserver in /etc/resolv.conf
It works w/ & w/o Amnezia

P.S.: May be this is insecure, idk. Sry, i'm newbie

<!-- gh-comment-id:2440108877 --> @missingnx commented on GitHub (Oct 27, 2024): > I solved issue by changing nameserver 127.0.0.53 to nameserver 172.29.172.254 (it's the address of Amnezia DNS) in /etc/resolv/conf and **not** reloading systemd-resolved after making changes. It seems that there is no DNS leak and everything works fine. @dsonozaki Solve this on Kali by using 8.8.8.8 as nameserver in `/etc/resolv.conf` It works w/ & w/o Amnezia P.S.: May be this is insecure, idk. Sry, i'm newbie
Author
Owner

@skydiver89 commented on GitHub (Dec 22, 2024):

Had same issue with XRay protocol (OpenVPN over Cloak worked fine) Amnezia 4.8.2.3, Amnezia 4.7.0.0 on Ubuntu 24.04.
Solution which helped for me: click button "Save" in "XRay server settings".

<!-- gh-comment-id:2558417831 --> @skydiver89 commented on GitHub (Dec 22, 2024): Had same issue with XRay protocol (OpenVPN over Cloak worked fine) Amnezia 4.8.2.3, Amnezia 4.7.0.0 on Ubuntu 24.04. Solution which helped for me: click button "Save" in "XRay server settings".
Author
Owner

@msgtv commented on GitHub (Dec 23, 2024):

I installed systemd-networkd and created a soft link to /etc/resolv.conf and it worked on Alt Linux Workstation 10

sudo apt-get install systemd-networkd
sudo systemctl enable systemd-resolved
sudo systemctl start systemd-resolved
sudo ln -sf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf
<!-- gh-comment-id:2559042706 --> @msgtv commented on GitHub (Dec 23, 2024): I installed `systemd-networkd` and created a soft link to `/etc/resolv.conf` and it worked on Alt Linux Workstation 10 ``` sudo apt-get install systemd-networkd sudo systemctl enable systemd-resolved sudo systemctl start systemd-resolved sudo ln -sf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf ```
Author
Owner

@seleniumforest commented on GitHub (Jun 3, 2025):

kubuntu 24.04, fresh install, this helped me

sudo systemctl stop systemd-resolved
sudo systemctl disable systemd-resolved
sudo apt remove systemd-resolved
sudo rm /etc/resolv.conf

then create new /etc/resolv.conf with contents:

nameserver 8.8.8.8
nameserver 1.1.1.1
<!-- gh-comment-id:2935568890 --> @seleniumforest commented on GitHub (Jun 3, 2025): kubuntu 24.04, fresh install, this helped me ``` sudo systemctl stop systemd-resolved sudo systemctl disable systemd-resolved sudo apt remove systemd-resolved sudo rm /etc/resolv.conf ``` then create new /etc/resolv.conf with contents: ``` nameserver 8.8.8.8 nameserver 1.1.1.1 ```
Author
Owner

@alex207212 commented on GitHub (Aug 22, 2025):

I noticed that DNS will not work if "/run/systemd/resolve/resolv.conf" only has the following:
nameserver 192.168.0.1
search .
I then disconnect/connect AmneziaVPN client until I see this:
nameserver 192.168.0.1
nameserver 8.8.8.8
nameserver 8.8.4.4
search .
It looks like the client sometimes fails to update the DNS on local machine (8.8.. servers are the ones I have configured inside the client).
systemd-resolved is running on my machine

<!-- gh-comment-id:3214302746 --> @alex207212 commented on GitHub (Aug 22, 2025): I noticed that DNS will not work if "/run/systemd/resolve/resolv.conf" only has the following: nameserver 192.168.0.1 search . I then disconnect/connect AmneziaVPN client until I see this: nameserver 192.168.0.1 nameserver 8.8.8.8 nameserver 8.8.4.4 search . It looks like the client sometimes fails to update the DNS on local machine (8.8.*.* servers are the ones I have configured inside the client). systemd-resolved is running on my machine
Author
Owner

@alexeykuzmin commented on GitHub (Oct 19, 2025):

On macOS make sure you're using a specific IP address in the client config's "Address" field, e.g. "10.0.0.2/32" (with 32 at the end), not a range like "10.0.0.2/24" (with 24 or anything else).

It seems like the macOS app parses the "Address" contents as a subnet, then takes the network prefix (e.g. "10.0.0.0") and uses it as a client IP address. Which works well only if the subnet consists of a single address.
github.com/amnezia-vpn/amnezia-client@f6e7d3ccf1/client/platforms/macos/daemon/iputilsmacos.cpp (L95-L97)

<!-- gh-comment-id:3419920460 --> @alexeykuzmin commented on GitHub (Oct 19, 2025): On macOS make sure you're using a specific IP address in the client config's "Address" field, e.g. "10.0.0.2/32" (with 32 at the end), not a range like "10.0.0.2/24" (with 24 or anything else). It seems like the macOS app parses the "Address" contents as a subnet, then takes the network prefix (e.g. "10.0.0.0") and uses it as a client IP address. Which works well only if the subnet consists of a single address. https://github.com/amnezia-vpn/amnezia-client/blob/f6e7d3ccf13afc23b1a4a73d650c03a187314d03/client/platforms/macos/daemon/iputilsmacos.cpp#L95-L97
Author
Owner

@alex207212 commented on GitHub (Oct 20, 2025):

What is it all about?

On Sun, Oct 19, 2025 at 11:07 PM Aleksei Kuzmin @.***>
wrote:

alexeykuzmin left a comment (amnezia-vpn/amnezia-client#708)
https://github.com/amnezia-vpn/amnezia-client/issues/708#issuecomment-3419920460

On macOS make sure you're using a specific IP address in the client
config's "Address" field, e.g. "10.0.0.2/32" (with 32 at the end), not a
range like "10.0.0.2/24" (with 24 or anything else).

It seems like the macOS app parses the "Address" contents as a subnet,
then takes the network prefix (e.g. "10.0.0.0") and uses it as a client IP
address.

github.com/amnezia-vpn/amnezia-client@f6e7d3ccf1/client/platforms/macos/daemon/iputilsmacos.cpp (L95-L97)

—
Reply to this email directly, view it on GitHub
https://github.com/amnezia-vpn/amnezia-client/issues/708#issuecomment-3419920460,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BV5PWFYJTXXO7PN6DK5QCRL3YPVQPAVCNFSM6AAAAAB6P6VKOGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTIMJZHEZDANBWGA
.
You are receiving this because you commented.Message ID:
@.***>

<!-- gh-comment-id:3423527374 --> @alex207212 commented on GitHub (Oct 20, 2025): What is it all about? On Sun, Oct 19, 2025 at 11:07 PM Aleksei Kuzmin ***@***.***> wrote: > *alexeykuzmin* left a comment (amnezia-vpn/amnezia-client#708) > <https://github.com/amnezia-vpn/amnezia-client/issues/708#issuecomment-3419920460> > > On macOS make sure you're using a specific IP address in the client > config's "Address" field, e.g. "10.0.0.2/32" (with 32 at the end), not a > range like "10.0.0.2/24" (with 24 or anything else). > > It seems like the macOS app parses the "Address" contents as a subnet, > then takes the network prefix (e.g. "10.0.0.0") and uses it as a client IP > address. > > https://github.com/amnezia-vpn/amnezia-client/blob/f6e7d3ccf13afc23b1a4a73d650c03a187314d03/client/platforms/macos/daemon/iputilsmacos.cpp#L95-L97 > > — > Reply to this email directly, view it on GitHub > <https://github.com/amnezia-vpn/amnezia-client/issues/708#issuecomment-3419920460>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/BV5PWFYJTXXO7PN6DK5QCRL3YPVQPAVCNFSM6AAAAAB6P6VKOGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTIMJZHEZDANBWGA> > . > You are receiving this because you commented.Message ID: > ***@***.***> >
Author
Owner

@andreysum commented on GitHub (Dec 18, 2025):

sudo apt install openvpn-systemd-resolved did it for me (Ubuntu 24). Don't know what is DNS leak though :)

Works for me (Ubuntu 22)

<!-- gh-comment-id:3671326821 --> @andreysum commented on GitHub (Dec 18, 2025): > `sudo apt install openvpn-systemd-resolved` did it for me (Ubuntu 24). Don't know what is DNS leak though :) Works for me (Ubuntu 22)
Author
Owner

@alex207212 commented on GitHub (Dec 21, 2025):

Here is what works for me:

  1. After turning on Amnezia check tail /run/systemd/resolve/resolv.conf (in my case the nameservers are at the end of a file)
  2. If you're missing DNS servers or see only 192.168.0.1 (maybe some other in your case like 192.168.xxx.xxx), then run the following script:
sudo systemctl restart systemd-resolved
sudo resolvectl dns wlp2s0 8.8.8.8 8.8.4.4
resolvectl status

Replace 8.8.8.8 8.8.4.4 with the servers you use and replace wlp2s0 with your interface name, run the following to see your interfaces:
ip -br a

<!-- gh-comment-id:3678541776 --> @alex207212 commented on GitHub (Dec 21, 2025): Here is what works for me: 1. After turning on Amnezia check `tail /run/systemd/resolve/resolv.conf` (in my case the nameservers are at the end of a file) 2. If you're missing DNS servers or see only 192.168.0.1 (maybe some other in your case like 192.168.xxx.xxx), then run the following script: ``` sudo systemctl restart systemd-resolved sudo resolvectl dns wlp2s0 8.8.8.8 8.8.4.4 resolvectl status ``` Replace 8.8.8.8 8.8.4.4 with the servers you use and replace wlp2s0 with your interface name, run the following to see your interfaces: `ip -br a`
Author
Owner

@tyrypyrking commented on GitHub (Jan 4, 2026):

What worked for me:
TL;DR: Turn off killswitch

With default configuration I see the following picture:

>nslookup google.com
;; communications error to 192.168.50.250#53: connection refused
;; communications error to 192.168.50.250#53: connection refused
;; communications error to 192.168.50.250#53: connection refused
;; no servers could be reached

192.168.50.250 is my local DNS server that I have in /etc/resolve.conf. Turning the vpn does not update this record.

How to fix this:
Cog icon (settings) -> Connection -> KillSwitch -> Turn it off

Try in now.
If you still wish to have both a killswitch and a local DNS then your best bet is setting custom DNS rules for local domains and removing iptables rule as suggested above to avoid this behavior.

<!-- gh-comment-id:3708522975 --> @tyrypyrking commented on GitHub (Jan 4, 2026): What worked for me: TL;DR: **Turn off killswitch** With default configuration I see the following picture: ``` >nslookup google.com ;; communications error to 192.168.50.250#53: connection refused ;; communications error to 192.168.50.250#53: connection refused ;; communications error to 192.168.50.250#53: connection refused ;; no servers could be reached ``` `192.168.50.250` is my local DNS server that I have in `/etc/resolve.conf`. Turning the vpn does not update this record. How to fix this: Cog icon (settings) -> Connection -> KillSwitch -> **Turn it off** Try in now. If you still wish to have both a killswitch and a local DNS then your best bet is setting custom DNS rules for local domains and removing `iptables` rule as suggested above to avoid this behavior.
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#183
No description provided.