[GH-ISSUE #1882] DNS is not working on Arch Linux with XRay #809

Open
opened 2026-10-13 20:29:00 +00:00 by bsakaguchi · 4 comments
Owner

Originally created by @indx0 on GitHub (Sep 26, 2025).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/1882

Describe the bug
When using XRay on arch linux, the DNS does not work. You can access sites by IP, but not by domain. I tried changing /etc/resolv.conf and it didn't help.

To Reproduce
Steps to reproduce the behavior:

  1. Connect to the VPN
  2. Try to access or ping any website by domain

Expected behavior
Sites open

Desktop:

  • OS: Arch Linux

Server :

  • OS: Ubuntu 24.04
Originally created by @indx0 on GitHub (Sep 26, 2025). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/1882 **Describe the bug** When using XRay on arch linux, the DNS does not work. You can access sites by IP, but not by domain. I tried changing /etc/resolv.conf and it didn't help. **To Reproduce** Steps to reproduce the behavior: 1. Connect to the VPN 2. Try to access or ping any website by domain **Expected behavior** Sites open **Desktop:** - OS: Arch Linux **Server :** - OS: Ubuntu 24.04
Author
Owner

@xddinsd commented on GitHub (Oct 15, 2025):

had same issue.

Linked to https://github.com/amnezia-vpn/amnezia-client/issues/708 I guess

<!-- gh-comment-id:3407120313 --> @xddinsd commented on GitHub (Oct 15, 2025): had same issue. Linked to https://github.com/amnezia-vpn/amnezia-client/issues/708 I guess
Author
Owner

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

same on nixos with

  programs.amnezia-vpn.enable = true;

amneziaWG works fine, but XRay not

<!-- gh-comment-id:3421839406 --> @Malefaro commented on GitHub (Oct 20, 2025): same on nixos with ```nix programs.amnezia-vpn.enable = true; ``` amneziaWG works fine, but XRay not
Author
Owner

@frankhval commented on GitHub (Oct 30, 2025):

can confirm, ubuntu 22.04, can ping by ips, but any dns search is failing.

same for amneziaws and xray. openvpn-over-ss works fine.

trying to do lookup results in:

nslookup google.com
;; communications error to 172.29.172.254#53: timed out
;; communications error to 172.29.172.254#53: timed out

all the magic with resolv.conf and enabling/disabling systemd-resolved from a linked thread didn't do a thing sadly.

<!-- gh-comment-id:3466121728 --> @frankhval commented on GitHub (Oct 30, 2025): can confirm, ubuntu 22.04, can ping by ips, but any dns search is failing. same for amneziaws and xray. openvpn-over-ss works fine. trying to do lookup results in: ``` nslookup google.com ;; communications error to 172.29.172.254#53: timed out ;; communications error to 172.29.172.254#53: timed out ``` all the magic with resolv.conf and enabling/disabling systemd-resolved from a linked thread didn't do a thing sadly.
Author
Owner

@AnxietySquid commented on GitHub (Feb 5, 2026):

CachyOS and EndevourOS are the same here. The connection itself is flawless, but DNS requests take a huge amount of time when using xRay
Server: Ubuntu 24.04

<!-- gh-comment-id:3855115591 --> @AnxietySquid commented on GitHub (Feb 5, 2026): CachyOS and EndevourOS are the same here. The connection itself is flawless, but DNS requests take a huge amount of time when using xRay Server: Ubuntu 24.04
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#809
No description provided.