[GH-ISSUE #1046] AmneziaDNS not being used while connected #351

Open
opened 2026-10-13 20:19:44 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @disce-omnes on GitHub (Sep 5, 2024).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/1046

Describe the bug
Despite AmneziaDNS being installed and enabled it seems that it's not being used. Nor Cloudflare backups.

Desktop (please complete the following information):

  • OS: EndeavourOS

Additional context
I'm using Amnezia 4.7.0.0 with AmneziaWG

cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 192.168.1.1
nameserver fe80::1%wlan0

Adding nameservers manually like this doesn't work

cat /etc/resolv.conf
nameserver 1.1.1.1
nameserver 1.0.0.1

Overriding DNS settings on my computer generally works, I'm usually using Portmaster and it works without a problem. But it's doesn't play nice with Amnezia, that's why I'm using AmneziaDNS.

Dig output when connected

dig google.com
;; communications error to 192.168.1.1#53: connection refused
;; communications error to 192.168.1.1#53: connection refused
;; communications error to 192.168.1.1#53: connection refused

; <<>> DiG 9.20.1 <<>> google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16396
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;google.com.			IN	A

;; ANSWER SECTION:
google.com.		2	IN	A	142.250.180.78

;; Query time: 6 msec
;; SERVER: fe80::1%3#53(fe80::1%3%3) (UDP)
;; WHEN: Thu Sep 05 10:20:56 UTC 2024
;; MSG SIZE  rcvd: 55

Dig output when disconnected

dig google.com

; <<>> DiG 9.20.1 <<>> google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 46696
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;google.com.			IN	A

;; ANSWER SECTION:
google.com.		139	IN	A	142.251.143.78

;; Query time: 6 msec
;; SERVER: 192.168.1.1#53(192.168.1.1) (UDP)
;; WHEN: Thu Sep 05 10:21:24 UTC 2024
;; MSG SIZE  rcvd: 55
Originally created by @disce-omnes on GitHub (Sep 5, 2024). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/1046 **Describe the bug** Despite AmneziaDNS being installed and enabled it seems that it's not being used. Nor Cloudflare backups. **Desktop (please complete the following information):** - OS: EndeavourOS **Additional context** I'm using Amnezia 4.7.0.0 with AmneziaWG ``` cat /etc/resolv.conf # Generated by NetworkManager nameserver 192.168.1.1 nameserver fe80::1%wlan0 ``` Adding nameservers manually like this doesn't work ``` cat /etc/resolv.conf nameserver 1.1.1.1 nameserver 1.0.0.1 ``` Overriding DNS settings on my computer generally works, I'm usually using [Portmaster](https://safing.io/) and it works without a problem. But it's doesn't play nice with Amnezia, that's why I'm using AmneziaDNS. Dig output when connected ``` dig google.com ;; communications error to 192.168.1.1#53: connection refused ;; communications error to 192.168.1.1#53: connection refused ;; communications error to 192.168.1.1#53: connection refused ; <<>> DiG 9.20.1 <<>> google.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16396 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 512 ;; QUESTION SECTION: ;google.com. IN A ;; ANSWER SECTION: google.com. 2 IN A 142.250.180.78 ;; Query time: 6 msec ;; SERVER: fe80::1%3#53(fe80::1%3%3) (UDP) ;; WHEN: Thu Sep 05 10:20:56 UTC 2024 ;; MSG SIZE rcvd: 55 ``` Dig output when disconnected ``` dig google.com ; <<>> DiG 9.20.1 <<>> google.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 46696 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 512 ;; QUESTION SECTION: ;google.com. IN A ;; ANSWER SECTION: google.com. 139 IN A 142.251.143.78 ;; Query time: 6 msec ;; SERVER: 192.168.1.1#53(192.168.1.1) (UDP) ;; WHEN: Thu Sep 05 10:21:24 UTC 2024 ;; MSG SIZE rcvd: 55 ```
Author
Owner

@Ternvein commented on GitHub (Feb 1, 2026):

Issue is still relevant.

<!-- gh-comment-id:3831472409 --> @Ternvein commented on GitHub (Feb 1, 2026): Issue is still relevant.
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#351
No description provided.