Unify Gateway: Content filter filters ALL DNS requests to ALL servers

revision d8922213e5c6a3e8cbcaeafe2bbce791d1e78c5c

raw

README.rst

Using dig @1.2.3.4 domain.tld is not sent to 1.2.3.4, but answered by the Unify Gateway. This prevents using custom DNS servers.

Note the similar TTL numbers for the requests to different DNS servers.

Disabling content filtering stops that behavior.

Using DoH (DNS over HTTPS) also gives correct results.

raw

dig-doh.sh

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
$ dig +nocomments @9.9.9.9 cweiske.de
 
; <<>> DiG 9.20.26-1~deb13u1-Debian <<>> +nocomments @9.9.9.9 cweiske.de
; (1 server found)
;; global options: +cmd
;cweiske.de.                    IN      A
cweiske.de.             3477    IN      A       159.195.22.112
;; Query time: 0 msec
;; SERVER: 9.9.9.9#53(9.9.9.9) (UDP)
;; WHEN: Fri Aug 21 15:10:07 CEST 2026
;; MSG SIZE  rcvd: 65
 
 
$ dig +https +nocomments @9.9.9.9 cweiske.de
 
; <<>> DiG 9.20.26-1~deb13u1-Debian <<>> +https +nocomments @9.9.9.9 cweiske.de
; (1 server found)
;; global options: +cmd
;cweiske.de.                    IN      A
cweiske.de.             43200   IN      A       159.195.22.112
;; Query time: 47 msec
;; SERVER: 9.9.9.9#443(9.9.9.9) (HTTPS)
;; WHEN: Fri Aug 21 15:10:11 CEST 2026
;; MSG SIZE  rcvd: 55
 
raw

dig.sh

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
$ dig +nocomments @8.8.8.8 cweiske.de
 
; <<>> DiG 9.20.26-1~deb13u1-Debian <<>> +nocomments @8.8.8.8 cweiske.de
; (1 server found)
;; global options: +cmd
;cweiske.de.                    IN      A
cweiske.de.             3600    IN      A       159.195.22.112
;; Query time: 23 msec
;; SERVER: 8.8.8.8#53(8.8.8.8) (UDP)
;; WHEN: Fri Aug 21 15:08:04 CEST 2026
;; MSG SIZE  rcvd: 65
 
$ dig +nocomments @1.1.1.1 cweiske.de
 
; <<>> DiG 9.20.26-1~deb13u1-Debian <<>> +nocomments @1.1.1.1 cweiske.de
; (1 server found)
;; global options: +cmd
;cweiske.de.                    IN      A
cweiske.de.             3594    IN      A       159.195.22.112
;; Query time: 3 msec
;; SERVER: 1.1.1.1#53(1.1.1.1) (UDP)
;; WHEN: Fri Aug 21 15:08:10 CEST 2026
;; MSG SIZE  rcvd: 65
 
$ dig +nocomments @9.9.9.9 cweiske.de
 
; <<>> DiG 9.20.26-1~deb13u1-Debian <<>> +nocomments @9.9.9.9 cweiske.de
; (1 server found)
;; global options: +cmd
;cweiske.de.                    IN      A
cweiske.de.             3588    IN      A       159.195.22.112
;; Query time: 3 msec
;; SERVER: 9.9.9.9#53(9.9.9.9) (UDP)
;; WHEN: Fri Aug 21 15:08:16 CEST 2026
;; MSG SIZE  rcvd: 65
 

History