Seji64 / SniDust

SmartDNS Proxy to hide your GeoLocation. Based on DnsDist and nginx
GNU General Public License v3.0
146 stars 39 forks source link

GeoLocation still exposed #2

Closed MTHCH closed 2 years ago

MTHCH commented 2 years ago

Hi there

I tried to hide my GeoLocation with it, however, it seems my GeoLocation is still exposed. When accessing Netflix, Netflix still detects my current country (Thailand), and not the country where my DNS proxy is hosted (Switzerland).

I performed the following steps

ubuntu@myproxy-2:~$ git clone https://github.com/Seji64/SniDust
Cloning into 'SniDust'...
remote: Enumerating objects: 58, done.
remote: Counting objects: 100% (58/58), done.
remote: Compressing objects: 100% (44/44), done.
remote: Total 58 (delta 20), reused 17 (delta 3), pack-reused 0
Unpacking objects: 100% (58/58), 24.53 KiB | 2.73 MiB/s, done.
ubuntu@myproxy-2:~$ cd SniDust/
sudo docker build . -t seji64/snidust
Sending build context to Docker daemon  218.6kB
Step 1/20 : FROM debian:11-slim
11-slim: Pulling from library/debian
214ca5fb9032: Pull complete 
Digest: sha256:fbaacd55d14bd0ae0c0441c2347217da77ad83c517054623357d1f9d07f79f5e
Status: Downloaded newer image for debian:11-slim
 ---> ed595c52174a
Step 2/20 : LABEl org.opencontainers.image.authors="seji@tihoda.de"
 ---> Running in c4e2c0b11486
Removing intermediate container c4e2c0b11486
 ---> 6b240f02d7be
Step 3/20 : ENV DEBIAN_FRONTEND="noninteractive"
 ---> Running in bc28b00877e1
Removing intermediate container bc28b00877e1
 ---> 51abaf893e48
Step 4/20 : ENV DNSDIST_BIND_IP=0.0.0.0
 ---> Running in 187af9291b46
Removing intermediate container 187af9291b46
 ---> 024088bfdc3d
Step 5/20 : ENV ALLOWED_CLIENTS=127.0.0.1
 ---> Running in f3af5c363b92
Removing intermediate container f3af5c363b92
 ---> 53b40102394b
Step 6/20 : ENV EXTERNAL_IP=
 ---> Running in e1659abe3293
Removing intermediate container e1659abe3293
 ---> 225443617f2b
Step 7/20 : EXPOSE 5300/udp
 ---> Running in 82d6dc5276de
Removing intermediate container 82d6dc5276de
 ---> 98905ab2f578
Step 8/20 : EXPOSE 80/tcp
 ---> Running in 7a1999d64e59
Removing intermediate container 7a1999d64e59
 ---> acde3dafcdd8
Step 9/20 : EXPOSE 443/tcp
 ---> Running in 075636474bb6
Removing intermediate container 075636474bb6
 ---> 1d9a91277389
Step 10/20 : RUN apt-get update && apt-get -y install sniproxy sed curl gnupg tini
 ---> Running in f687790812dd
Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB]
Get:2 http://security.debian.org/debian-security bullseye-security InRelease [44.1 kB]
Get:3 http://deb.debian.org/debian bullseye-updates InRelease [39.4 kB]
Get:4 http://deb.debian.org/debian bullseye/main amd64 Packages [8182 kB]
Get:5 http://security.debian.org/debian-security bullseye-security/main amd64 Packages [148 kB]
Get:6 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [2596 B]
Fetched 8533 kB in 1s (7379 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
sed is already the newest version (4.7-1).
sed set to manually installed.
The following additional packages will be installed:
  ca-certificates cron dirmngr exim4-base exim4-config exim4-daemon-light
  gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf
  gpgsm gsasl-common guile-2.2-libs libassuan0 libbrotli1 libcurl4 libev4
  libevent-2.1-7 libexpat1 libfribidi0 libgc1 libgnutls-dane0 libgpm2
  libgsasl7 libidn11 libksba8 libldap-2.4-2 libldap-common libltdl7
  libmailutils7 libmariadb3 libmpdec3 libncurses6 libncursesw6 libnghttp2-14
  libnpth0 libntlm0 libpopt0 libpsl5 libpython3.9 libpython3.9-minimal
  libpython3.9-stdlib libreadline8 librtmp1 libsasl2-2 libsasl2-modules
  libsasl2-modules-db libsqlite3-0 libssh2-1 libudns0 libunbound8 logrotate
  mailutils mailutils-common mariadb-common media-types mysql-common netbase
  openssl pinentry-curses psmisc publicsuffix readline-common sensible-utils
Suggested packages:
  anacron checksecurity dbus-user-session libpam-systemd pinentry-gnome3 tor
  exim4-doc-html | exim4-doc-info eximon4 file spf-tools-perl swaks parcimonie
  xloadimage scdaemon dns-root-data gpm libsasl2-modules-gssapi-mit
  | libsasl2-modules-gssapi-heimdal libsasl2-modules-ldap libsasl2-modules-otp
  libsasl2-modules-sql mailutils-mh mailutils-doc pinentry-doc readline-doc
The following NEW packages will be installed:
  ca-certificates cron curl dirmngr exim4-base exim4-config exim4-daemon-light
  gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server
  gpgconf gpgsm gsasl-common guile-2.2-libs libassuan0 libbrotli1 libcurl4
  libev4 libevent-2.1-7 libexpat1 libfribidi0 libgc1 libgnutls-dane0 libgpm2
  libgsasl7 libidn11 libksba8 libldap-2.4-2 libldap-common libltdl7
  libmailutils7 libmariadb3 libmpdec3 libncurses6 libncursesw6 libnghttp2-14
  libnpth0 libntlm0 libpopt0 libpsl5 libpython3.9 libpython3.9-minimal
  libpython3.9-stdlib libreadline8 librtmp1 libsasl2-2 libsasl2-modules
  libsasl2-modules-db libsqlite3-0 libssh2-1 libudns0 libunbound8 logrotate
  mailutils mailutils-common mariadb-common media-types mysql-common netbase
  openssl pinentry-curses psmisc publicsuffix readline-common sensible-utils
  sniproxy tini
0 upgraded, 71 newly installed, 0 to remove and 1 not upgraded.
Need to get 29.1 MB of archives.
After this operation, 107 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bullseye/main amd64 sensible-utils all 0.0.14 [14.8 kB]
Get:2 http://deb.debian.org/debian bullseye/main amd64 cron amd64 3.0pl1-137 [99.6 kB]
Get:3 http://security.debian.org/debian-security bullseye-security/main amd64 openssl amd64 1.1.1n-0+deb11u2 [852 kB]
Get:4 http://deb.debian.org/debian bullseye/main amd64 readline-common all 8.1-1 [73.7 kB]
Get:5 http://deb.debian.org/debian bullseye/main amd64 libreadline8 amd64 8.1-1 [169 kB]
Get:6 http://deb.debian.org/debian bullseye/main amd64 libpopt0 amd64 1.18-2 [49.6 kB]
Get:7 http://deb.debian.org/debian bullseye/main amd64 logrotate amd64 3.18.0-2 [72.0 kB]
Get:8 http://deb.debian.org/debian bullseye/main amd64 netbase all 6.3 [19.9 kB]
Get:9 http://deb.debian.org/debian bullseye/main amd64 ca-certificates all 20210119 [158 kB]
Get:10 http://deb.debian.org/debian bullseye/main amd64 media-types all 4.0.0 [30.3 kB]
Get:11 http://deb.debian.org/debian bullseye/main amd64 libbrotli1 amd64 1.0.9-2+b2 [279 kB]
Get:12 http://deb.debian.org/debian bullseye/main amd64 libsasl2-modules-db amd64 2.1.27+dfsg-2.1+deb11u1 [69.1 kB]
Get:13 http://deb.debian.org/debian bullseye/main amd64 libsasl2-2 amd64 2.1.27+dfsg-2.1+deb11u1 [106 kB]
Get:14 http://deb.debian.org/debian bullseye/main amd64 libnghttp2-14 amd64 1.43.0-1 [77.1 kB]
Get:15 http://deb.debian.org/debian bullseye/main amd64 libpsl5 amd64 0.21.0-1.2 [57.3 kB]
Get:16 http://deb.debian.org/debian bullseye/main amd64 librtmp1 amd64 2.4+20151223.gitfa8646d.1-2+b2 [60.8 kB]
Get:17 http://deb.debian.org/debian bullseye/main amd64 libssh2-1 amd64 1.9.0-2 [156 kB]
Get:18 http://deb.debian.org/debian bullseye/main amd64 libcurl4 amd64 7.74.0-1.3+deb11u1 [341 kB]
Get:19 http://deb.debian.org/debian bullseye/main amd64 curl amd64 7.74.0-1.3+deb11u1 [267 kB]
Get:20 http://deb.debian.org/debian bullseye/main amd64 libassuan0 amd64 2.5.3-7.1 [50.5 kB]
Get:21 http://deb.debian.org/debian bullseye/main amd64 gpgconf amd64 2.2.27-2+deb11u1 [548 kB]
Get:22 http://deb.debian.org/debian bullseye/main amd64 libksba8 amd64 1.5.0-3 [123 kB]
Get:23 http://security.debian.org/debian-security bullseye-security/main amd64 libldap-2.4-2 amd64 2.4.57+dfsg-3+deb11u1 [232 kB]
Get:24 http://security.debian.org/debian-security bullseye-security/main amd64 libldap-common all 2.4.57+dfsg-3+deb11u1 [95.8 kB]
Get:25 http://deb.debian.org/debian bullseye/main amd64 libnpth0 amd64 1.6-3 [19.0 kB]
Get:26 http://deb.debian.org/debian bullseye/main amd64 dirmngr amd64 2.2.27-2+deb11u1 [763 kB]
Get:27 http://deb.debian.org/debian bullseye/main amd64 exim4-config all 4.94.2-7 [335 kB]
Get:28 http://deb.debian.org/debian bullseye/main amd64 exim4-base amd64 4.94.2-7 [1175 kB]
Get:29 http://deb.debian.org/debian bullseye/main amd64 libevent-2.1-7 amd64 2.1.12-stable-1 [188 kB]
Get:30 http://deb.debian.org/debian bullseye/main amd64 libunbound8 amd64 1.13.1-1 [504 kB]
Get:31 http://deb.debian.org/debian bullseye/main amd64 libgnutls-dane0 amd64 3.7.1-5 [394 kB]
Get:32 http://deb.debian.org/debian bullseye/main amd64 libidn11 amd64 1.33-3 [116 kB]
Get:33 http://deb.debian.org/debian bullseye/main amd64 exim4-daemon-light amd64 4.94.2-7 [658 kB]
Get:34 http://deb.debian.org/debian bullseye/main amd64 gnupg-l10n all 2.2.27-2+deb11u1 [1085 kB]
Get:35 http://deb.debian.org/debian bullseye/main amd64 gnupg-utils amd64 2.2.27-2+deb11u1 [905 kB]
Get:36 http://deb.debian.org/debian bullseye/main amd64 libsqlite3-0 amd64 3.34.1-3 [797 kB]
Get:37 http://deb.debian.org/debian bullseye/main amd64 gpg amd64 2.2.27-2+deb11u1 [928 kB]
Get:38 http://deb.debian.org/debian bullseye/main amd64 libncursesw6 amd64 6.2+20201114-2 [132 kB]
Get:39 http://deb.debian.org/debian bullseye/main amd64 pinentry-curses amd64 1.1.0-4 [64.9 kB]
Get:40 http://deb.debian.org/debian bullseye/main amd64 gpg-agent amd64 2.2.27-2+deb11u1 [669 kB]
Get:41 http://deb.debian.org/debian bullseye/main amd64 gpg-wks-client amd64 2.2.27-2+deb11u1 [524 kB]
Get:42 http://deb.debian.org/debian bullseye/main amd64 gpg-wks-server amd64 2.2.27-2+deb11u1 [516 kB]
Get:43 http://deb.debian.org/debian bullseye/main amd64 gpgsm amd64 2.2.27-2+deb11u1 [645 kB]
Get:44 http://deb.debian.org/debian bullseye/main amd64 gnupg all 2.2.27-2+deb11u1 [825 kB]
Get:45 http://deb.debian.org/debian bullseye/main amd64 gsasl-common all 1.10.0-4 [175 kB]
Get:46 http://deb.debian.org/debian bullseye/main amd64 libgc1 amd64 1:8.0.4-3 [239 kB]
Get:47 http://deb.debian.org/debian bullseye/main amd64 libltdl7 amd64 2.4.6-15 [391 kB]
Get:48 http://deb.debian.org/debian bullseye/main amd64 guile-2.2-libs amd64 2.2.7+1-6 [4980 kB]
Get:49 http://deb.debian.org/debian bullseye/main amd64 libev4 amd64 1:4.33-1 [43.2 kB]
Get:50 http://deb.debian.org/debian bullseye/main amd64 libexpat1 amd64 2.2.10-2+deb11u3 [98.5 kB]
Get:51 http://deb.debian.org/debian bullseye/main amd64 libfribidi0 amd64 1.0.8-2 [64.8 kB]
Get:52 http://deb.debian.org/debian bullseye/main amd64 libgpm2 amd64 1.20.7-8 [35.6 kB]
Get:53 http://deb.debian.org/debian bullseye/main amd64 libntlm0 amd64 1.6-3 [84.7 kB]
Get:54 http://deb.debian.org/debian bullseye/main amd64 libgsasl7 amd64 1.10.0-4 [195 kB]
Get:55 http://deb.debian.org/debian bullseye/main amd64 mailutils-common all 1:3.10-3 [728 kB]
Get:56 http://deb.debian.org/debian bullseye/main amd64 mysql-common all 5.8+1.0.7 [7464 B]
Get:57 http://deb.debian.org/debian bullseye/main amd64 mariadb-common all 1:10.5.15-0+deb11u1 [36.7 kB]
Get:58 http://deb.debian.org/debian bullseye/main amd64 libmariadb3 amd64 1:10.5.15-0+deb11u1 [176 kB]
Get:59 http://deb.debian.org/debian bullseye/main amd64 libpython3.9-minimal amd64 3.9.2-1 [801 kB]
Get:60 http://deb.debian.org/debian bullseye/main amd64 libmpdec3 amd64 2.5.1-1 [87.7 kB]
Get:61 http://deb.debian.org/debian bullseye/main amd64 libpython3.9-stdlib amd64 3.9.2-1 [1684 kB]
Get:62 http://deb.debian.org/debian bullseye/main amd64 libpython3.9 amd64 3.9.2-1 [1691 kB]
Get:63 http://deb.debian.org/debian bullseye/main amd64 libmailutils7 amd64 1:3.10-3+b1 [893 kB]
Get:64 http://deb.debian.org/debian bullseye/main amd64 libncurses6 amd64 6.2+20201114-2 [102 kB]
Get:65 http://deb.debian.org/debian bullseye/main amd64 libsasl2-modules amd64 2.1.27+dfsg-2.1+deb11u1 [104 kB]
Get:66 http://deb.debian.org/debian bullseye/main amd64 libudns0 amd64 0.4-1+b1 [24.9 kB]
Get:67 http://deb.debian.org/debian bullseye/main amd64 mailutils amd64 1:3.10-3+b1 [576 kB]
Get:68 http://deb.debian.org/debian bullseye/main amd64 psmisc amd64 23.4-2 [198 kB]
Get:69 http://deb.debian.org/debian bullseye/main amd64 publicsuffix all 20211207.1025-0+deb11u1 [125 kB]
Get:70 http://deb.debian.org/debian bullseye/main amd64 sniproxy amd64 0.6.0-2 [40.7 kB]
Get:71 http://deb.debian.org/debian bullseye/main amd64 tini amd64 0.19.0-1 [255 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 29.1 MB in 0s (98.2 MB/s)
Selecting previously unselected package sensible-utils.
(Reading database ... 6653 files and directories currently installed.)
Preparing to unpack .../00-sensible-utils_0.0.14_all.deb ...
Unpacking sensible-utils (0.0.14) ...
Selecting previously unselected package cron.
Preparing to unpack .../01-cron_3.0pl1-137_amd64.deb ...
Unpacking cron (3.0pl1-137) ...
Selecting previously unselected package readline-common.
Preparing to unpack .../02-readline-common_8.1-1_all.deb ...
Unpacking readline-common (8.1-1) ...
Selecting previously unselected package libreadline8:amd64.
Preparing to unpack .../03-libreadline8_8.1-1_amd64.deb ...
Unpacking libreadline8:amd64 (8.1-1) ...
Selecting previously unselected package libpopt0:amd64.
Preparing to unpack .../04-libpopt0_1.18-2_amd64.deb ...
Unpacking libpopt0:amd64 (1.18-2) ...
Selecting previously unselected package logrotate.
Preparing to unpack .../05-logrotate_3.18.0-2_amd64.deb ...
Unpacking logrotate (3.18.0-2) ...
Selecting previously unselected package netbase.
Preparing to unpack .../06-netbase_6.3_all.deb ...
Unpacking netbase (6.3) ...
Selecting previously unselected package openssl.
Preparing to unpack .../07-openssl_1.1.1n-0+deb11u2_amd64.deb ...
Unpacking openssl (1.1.1n-0+deb11u2) ...
Selecting previously unselected package ca-certificates.
Preparing to unpack .../08-ca-certificates_20210119_all.deb ...
Unpacking ca-certificates (20210119) ...
Selecting previously unselected package media-types.
Preparing to unpack .../09-media-types_4.0.0_all.deb ...
Unpacking media-types (4.0.0) ...
Selecting previously unselected package libbrotli1:amd64.
Preparing to unpack .../10-libbrotli1_1.0.9-2+b2_amd64.deb ...
Unpacking libbrotli1:amd64 (1.0.9-2+b2) ...
Selecting previously unselected package libsasl2-modules-db:amd64.
Preparing to unpack .../11-libsasl2-modules-db_2.1.27+dfsg-2.1+deb11u1_amd64.deb ...
Unpacking libsasl2-modules-db:amd64 (2.1.27+dfsg-2.1+deb11u1) ...
Selecting previously unselected package libsasl2-2:amd64.
Preparing to unpack .../12-libsasl2-2_2.1.27+dfsg-2.1+deb11u1_amd64.deb ...
Unpacking libsasl2-2:amd64 (2.1.27+dfsg-2.1+deb11u1) ...
Selecting previously unselected package libldap-2.4-2:amd64.
Preparing to unpack .../13-libldap-2.4-2_2.4.57+dfsg-3+deb11u1_amd64.deb ...
Unpacking libldap-2.4-2:amd64 (2.4.57+dfsg-3+deb11u1) ...
Selecting previously unselected package libnghttp2-14:amd64.
Preparing to unpack .../14-libnghttp2-14_1.43.0-1_amd64.deb ...
Unpacking libnghttp2-14:amd64 (1.43.0-1) ...
Selecting previously unselected package libpsl5:amd64.
Preparing to unpack .../15-libpsl5_0.21.0-1.2_amd64.deb ...
Unpacking libpsl5:amd64 (0.21.0-1.2) ...
Selecting previously unselected package librtmp1:amd64.
Preparing to unpack .../16-librtmp1_2.4+20151223.gitfa8646d.1-2+b2_amd64.deb ...
Unpacking librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2+b2) ...
Selecting previously unselected package libssh2-1:amd64.
Preparing to unpack .../17-libssh2-1_1.9.0-2_amd64.deb ...
Unpacking libssh2-1:amd64 (1.9.0-2) ...
Selecting previously unselected package libcurl4:amd64.
Preparing to unpack .../18-libcurl4_7.74.0-1.3+deb11u1_amd64.deb ...
Unpacking libcurl4:amd64 (7.74.0-1.3+deb11u1) ...
Selecting previously unselected package curl.
Preparing to unpack .../19-curl_7.74.0-1.3+deb11u1_amd64.deb ...
Unpacking curl (7.74.0-1.3+deb11u1) ...
Selecting previously unselected package libassuan0:amd64.
Preparing to unpack .../20-libassuan0_2.5.3-7.1_amd64.deb ...
Unpacking libassuan0:amd64 (2.5.3-7.1) ...
Selecting previously unselected package gpgconf.
Preparing to unpack .../21-gpgconf_2.2.27-2+deb11u1_amd64.deb ...
Unpacking gpgconf (2.2.27-2+deb11u1) ...
Selecting previously unselected package libksba8:amd64.
Preparing to unpack .../22-libksba8_1.5.0-3_amd64.deb ...
Unpacking libksba8:amd64 (1.5.0-3) ...
Selecting previously unselected package libnpth0:amd64.
Preparing to unpack .../23-libnpth0_1.6-3_amd64.deb ...
Unpacking libnpth0:amd64 (1.6-3) ...
Selecting previously unselected package dirmngr.
Preparing to unpack .../24-dirmngr_2.2.27-2+deb11u1_amd64.deb ...
Unpacking dirmngr (2.2.27-2+deb11u1) ...
Selecting previously unselected package exim4-config.
Preparing to unpack .../25-exim4-config_4.94.2-7_all.deb ...
Unpacking exim4-config (4.94.2-7) ...
Selecting previously unselected package exim4-base.
Preparing to unpack .../26-exim4-base_4.94.2-7_amd64.deb ...
Unpacking exim4-base (4.94.2-7) ...
Selecting previously unselected package libevent-2.1-7:amd64.
Preparing to unpack .../27-libevent-2.1-7_2.1.12-stable-1_amd64.deb ...
Unpacking libevent-2.1-7:amd64 (2.1.12-stable-1) ...
Selecting previously unselected package libunbound8:amd64.
Preparing to unpack .../28-libunbound8_1.13.1-1_amd64.deb ...
Unpacking libunbound8:amd64 (1.13.1-1) ...
Selecting previously unselected package libgnutls-dane0:amd64.
Preparing to unpack .../29-libgnutls-dane0_3.7.1-5_amd64.deb ...
Unpacking libgnutls-dane0:amd64 (3.7.1-5) ...
Selecting previously unselected package libidn11:amd64.
Preparing to unpack .../30-libidn11_1.33-3_amd64.deb ...
Unpacking libidn11:amd64 (1.33-3) ...
Selecting previously unselected package exim4-daemon-light.
Preparing to unpack .../31-exim4-daemon-light_4.94.2-7_amd64.deb ...
Unpacking exim4-daemon-light (4.94.2-7) ...
Selecting previously unselected package gnupg-l10n.
Preparing to unpack .../32-gnupg-l10n_2.2.27-2+deb11u1_all.deb ...
Unpacking gnupg-l10n (2.2.27-2+deb11u1) ...
Selecting previously unselected package gnupg-utils.
Preparing to unpack .../33-gnupg-utils_2.2.27-2+deb11u1_amd64.deb ...
Unpacking gnupg-utils (2.2.27-2+deb11u1) ...
Selecting previously unselected package libsqlite3-0:amd64.
Preparing to unpack .../34-libsqlite3-0_3.34.1-3_amd64.deb ...
Unpacking libsqlite3-0:amd64 (3.34.1-3) ...
Selecting previously unselected package gpg.
Preparing to unpack .../35-gpg_2.2.27-2+deb11u1_amd64.deb ...
Unpacking gpg (2.2.27-2+deb11u1) ...
Selecting previously unselected package libncursesw6:amd64.
Preparing to unpack .../36-libncursesw6_6.2+20201114-2_amd64.deb ...
Unpacking libncursesw6:amd64 (6.2+20201114-2) ...
Selecting previously unselected package pinentry-curses.
Preparing to unpack .../37-pinentry-curses_1.1.0-4_amd64.deb ...
Unpacking pinentry-curses (1.1.0-4) ...
Selecting previously unselected package gpg-agent.
Preparing to unpack .../38-gpg-agent_2.2.27-2+deb11u1_amd64.deb ...
Unpacking gpg-agent (2.2.27-2+deb11u1) ...
Selecting previously unselected package gpg-wks-client.
Preparing to unpack .../39-gpg-wks-client_2.2.27-2+deb11u1_amd64.deb ...
Unpacking gpg-wks-client (2.2.27-2+deb11u1) ...
Selecting previously unselected package gpg-wks-server.
Preparing to unpack .../40-gpg-wks-server_2.2.27-2+deb11u1_amd64.deb ...
Unpacking gpg-wks-server (2.2.27-2+deb11u1) ...
Selecting previously unselected package gpgsm.
Preparing to unpack .../41-gpgsm_2.2.27-2+deb11u1_amd64.deb ...
Unpacking gpgsm (2.2.27-2+deb11u1) ...
Selecting previously unselected package gnupg.
Preparing to unpack .../42-gnupg_2.2.27-2+deb11u1_all.deb ...
Unpacking gnupg (2.2.27-2+deb11u1) ...
Selecting previously unselected package gsasl-common.
Preparing to unpack .../43-gsasl-common_1.10.0-4_all.deb ...
Unpacking gsasl-common (1.10.0-4) ...
Selecting previously unselected package libgc1:amd64.
Preparing to unpack .../44-libgc1_1%3a8.0.4-3_amd64.deb ...
Unpacking libgc1:amd64 (1:8.0.4-3) ...
Selecting previously unselected package libltdl7:amd64.
Preparing to unpack .../45-libltdl7_2.4.6-15_amd64.deb ...
Unpacking libltdl7:amd64 (2.4.6-15) ...
Selecting previously unselected package guile-2.2-libs:amd64.
Preparing to unpack .../46-guile-2.2-libs_2.2.7+1-6_amd64.deb ...
Unpacking guile-2.2-libs:amd64 (2.2.7+1-6) ...
Selecting previously unselected package libev4:amd64.
Preparing to unpack .../47-libev4_1%3a4.33-1_amd64.deb ...
Unpacking libev4:amd64 (1:4.33-1) ...
Selecting previously unselected package libexpat1:amd64.
Preparing to unpack .../48-libexpat1_2.2.10-2+deb11u3_amd64.deb ...
Unpacking libexpat1:amd64 (2.2.10-2+deb11u3) ...
Selecting previously unselected package libfribidi0:amd64.
Preparing to unpack .../49-libfribidi0_1.0.8-2_amd64.deb ...
Unpacking libfribidi0:amd64 (1.0.8-2) ...
Selecting previously unselected package libgpm2:amd64.
Preparing to unpack .../50-libgpm2_1.20.7-8_amd64.deb ...
Unpacking libgpm2:amd64 (1.20.7-8) ...
Selecting previously unselected package libntlm0:amd64.
Preparing to unpack .../51-libntlm0_1.6-3_amd64.deb ...
Unpacking libntlm0:amd64 (1.6-3) ...
Selecting previously unselected package libgsasl7:amd64.
Preparing to unpack .../52-libgsasl7_1.10.0-4_amd64.deb ...
Unpacking libgsasl7:amd64 (1.10.0-4) ...
Selecting previously unselected package libldap-common.
Preparing to unpack .../53-libldap-common_2.4.57+dfsg-3+deb11u1_all.deb ...
Unpacking libldap-common (2.4.57+dfsg-3+deb11u1) ...
Selecting previously unselected package mailutils-common.
Preparing to unpack .../54-mailutils-common_1%3a3.10-3_all.deb ...
Unpacking mailutils-common (1:3.10-3) ...
Selecting previously unselected package mysql-common.
Preparing to unpack .../55-mysql-common_5.8+1.0.7_all.deb ...
Unpacking mysql-common (5.8+1.0.7) ...
Selecting previously unselected package mariadb-common.
Preparing to unpack .../56-mariadb-common_1%3a10.5.15-0+deb11u1_all.deb ...
Unpacking mariadb-common (1:10.5.15-0+deb11u1) ...
Selecting previously unselected package libmariadb3:amd64.
Preparing to unpack .../57-libmariadb3_1%3a10.5.15-0+deb11u1_amd64.deb ...
Unpacking libmariadb3:amd64 (1:10.5.15-0+deb11u1) ...
Selecting previously unselected package libpython3.9-minimal:amd64.
Preparing to unpack .../58-libpython3.9-minimal_3.9.2-1_amd64.deb ...
Unpacking libpython3.9-minimal:amd64 (3.9.2-1) ...
Selecting previously unselected package libmpdec3:amd64.
Preparing to unpack .../59-libmpdec3_2.5.1-1_amd64.deb ...
Unpacking libmpdec3:amd64 (2.5.1-1) ...
Selecting previously unselected package libpython3.9-stdlib:amd64.
Preparing to unpack .../60-libpython3.9-stdlib_3.9.2-1_amd64.deb ...
Unpacking libpython3.9-stdlib:amd64 (3.9.2-1) ...
Selecting previously unselected package libpython3.9:amd64.
Preparing to unpack .../61-libpython3.9_3.9.2-1_amd64.deb ...
Unpacking libpython3.9:amd64 (3.9.2-1) ...
Selecting previously unselected package libmailutils7:amd64.
Preparing to unpack .../62-libmailutils7_1%3a3.10-3+b1_amd64.deb ...
Unpacking libmailutils7:amd64 (1:3.10-3+b1) ...
Selecting previously unselected package libncurses6:amd64.
Preparing to unpack .../63-libncurses6_6.2+20201114-2_amd64.deb ...
Unpacking libncurses6:amd64 (6.2+20201114-2) ...
Selecting previously unselected package libsasl2-modules:amd64.
Preparing to unpack .../64-libsasl2-modules_2.1.27+dfsg-2.1+deb11u1_amd64.deb ...
Unpacking libsasl2-modules:amd64 (2.1.27+dfsg-2.1+deb11u1) ...
Selecting previously unselected package libudns0:amd64.
Preparing to unpack .../65-libudns0_0.4-1+b1_amd64.deb ...
Unpacking libudns0:amd64 (0.4-1+b1) ...
Selecting previously unselected package mailutils.
Preparing to unpack .../66-mailutils_1%3a3.10-3+b1_amd64.deb ...
Unpacking mailutils (1:3.10-3+b1) ...
Selecting previously unselected package psmisc.
Preparing to unpack .../67-psmisc_23.4-2_amd64.deb ...
Unpacking psmisc (23.4-2) ...
Selecting previously unselected package publicsuffix.
Preparing to unpack .../68-publicsuffix_20211207.1025-0+deb11u1_all.deb ...
Unpacking publicsuffix (20211207.1025-0+deb11u1) ...
Selecting previously unselected package sniproxy.
Preparing to unpack .../69-sniproxy_0.6.0-2_amd64.deb ...
Unpacking sniproxy (0.6.0-2) ...
Selecting previously unselected package tini.
Preparing to unpack .../70-tini_0.19.0-1_amd64.deb ...
Unpacking tini (0.19.0-1) ...
Setting up libksba8:amd64 (1.5.0-3) ...
Setting up libexpat1:amd64 (2.2.10-2+deb11u3) ...
Setting up media-types (4.0.0) ...
Setting up mysql-common (5.8+1.0.7) ...
update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode
Setting up libpsl5:amd64 (0.21.0-1.2) ...
Setting up libgpm2:amd64 (1.20.7-8) ...
Setting up psmisc (23.4-2) ...
Setting up libpython3.9-minimal:amd64 (3.9.2-1) ...
Setting up libev4:amd64 (1:4.33-1) ...
Setting up libbrotli1:amd64 (1.0.9-2+b2) ...
Setting up libsqlite3-0:amd64 (3.34.1-3) ...
Setting up libsasl2-modules:amd64 (2.1.27+dfsg-2.1+deb11u1) ...
Setting up libnghttp2-14:amd64 (1.43.0-1) ...
Setting up libnpth0:amd64 (1.6-3) ...
Setting up libassuan0:amd64 (2.5.3-7.1) ...
Setting up libldap-common (2.4.57+dfsg-3+deb11u1) ...
Setting up libsasl2-modules-db:amd64 (2.1.27+dfsg-2.1+deb11u1) ...
Setting up mariadb-common (1:10.5.15-0+deb11u1) ...
update-alternatives: using /etc/mysql/mariadb.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode
Setting up gnupg-l10n (2.2.27-2+deb11u1) ...
Setting up libntlm0:amd64 (1.6-3) ...
Setting up librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2+b2) ...
Setting up libidn11:amd64 (1.33-3) ...
Setting up libncurses6:amd64 (6.2+20201114-2) ...
Setting up libfribidi0:amd64 (1.0.8-2) ...
Setting up tini (0.19.0-1) ...
Setting up libevent-2.1-7:amd64 (2.1.12-stable-1) ...
Setting up mailutils-common (1:3.10-3) ...
Setting up libmariadb3:amd64 (1:10.5.15-0+deb11u1) ...
Setting up libncursesw6:amd64 (6.2+20201114-2) ...
Setting up libgc1:amd64 (1:8.0.4-3) ...
Setting up libltdl7:amd64 (2.4.6-15) ...
Setting up libsasl2-2:amd64 (2.1.27+dfsg-2.1+deb11u1) ...
Setting up sensible-utils (0.0.14) ...
Setting up exim4-config (4.94.2-7) ...
Adding system-user for exim (v4)
Setting up libmpdec3:amd64 (2.5.1-1) ...
Setting up libssh2-1:amd64 (1.9.0-2) ...
Setting up netbase (6.3) ...
Setting up gsasl-common (1.10.0-4) ...
Setting up openssl (1.1.1n-0+deb11u2) ...
Setting up readline-common (8.1-1) ...
Setting up publicsuffix (20211207.1025-0+deb11u1) ...
Setting up libpopt0:amd64 (1.18-2) ...
Setting up libudns0:amd64 (0.4-1+b1) ...
Setting up pinentry-curses (1.1.0-4) ...
Setting up libreadline8:amd64 (8.1-1) ...
Setting up cron (3.0pl1-137) ...
Adding group `crontab' (GID 102) ...
Done.
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
Setting up libgsasl7:amd64 (1.10.0-4) ...
Setting up libldap-2.4-2:amd64 (2.4.57+dfsg-3+deb11u1) ...
Setting up ca-certificates (20210119) ...
Updating certificates in /etc/ssl/certs...
129 added, 0 removed; done.
Setting up libunbound8:amd64 (1.13.1-1) ...
Setting up gpgconf (2.2.27-2+deb11u1) ...
Setting up libcurl4:amd64 (7.74.0-1.3+deb11u1) ...
Setting up curl (7.74.0-1.3+deb11u1) ...
Setting up sniproxy (0.6.0-2) ...
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
Setting up gpg (2.2.27-2+deb11u1) ...
Setting up guile-2.2-libs:amd64 (2.2.7+1-6) ...
Setting up libpython3.9-stdlib:amd64 (3.9.2-1) ...
Setting up gnupg-utils (2.2.27-2+deb11u1) ...
Setting up logrotate (3.18.0-2) ...
Setting up libgnutls-dane0:amd64 (3.7.1-5) ...
Setting up exim4-base (4.94.2-7) ...
exim: DB upgrade, deleting hints-db
Setting up gpg-agent (2.2.27-2+deb11u1) ...
Setting up gpgsm (2.2.27-2+deb11u1) ...
Setting up dirmngr (2.2.27-2+deb11u1) ...
Setting up libpython3.9:amd64 (3.9.2-1) ...
Setting up gpg-wks-server (2.2.27-2+deb11u1) ...
Setting up exim4-daemon-light (4.94.2-7) ...
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
Setting up libmailutils7:amd64 (1:3.10-3+b1) ...
Setting up gpg-wks-client (2.2.27-2+deb11u1) ...
Setting up gnupg (2.2.27-2+deb11u1) ...
Setting up mailutils (1:3.10-3+b1) ...
update-alternatives: using /usr/bin/frm.mailutils to provide /usr/bin/frm (frm) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/frm.1.gz because associated file /usr/share/man/man1/frm.mailutils.1.gz (of link group frm) doesn't exist
update-alternatives: using /usr/bin/from.mailutils to provide /usr/bin/from (from) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/from.1.gz because associated file /usr/share/man/man1/from.mailutils.1.gz (of link group from) doesn't exist
update-alternatives: using /usr/bin/messages.mailutils to provide /usr/bin/messages (messages) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/messages.1.gz because associated file /usr/share/man/man1/messages.mailutils.1.gz (of link group messages) doesn't exist
update-alternatives: using /usr/bin/movemail.mailutils to provide /usr/bin/movemail (movemail) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/movemail.1.gz because associated file /usr/share/man/man1/movemail.mailutils.1.gz (of link group movemail) doesn't exist
update-alternatives: using /usr/bin/readmsg.mailutils to provide /usr/bin/readmsg (readmsg) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/readmsg.1.gz because associated file /usr/share/man/man1/readmsg.mailutils.1.gz (of link group readmsg) doesn't exist
update-alternatives: using /usr/bin/dotlock.mailutils to provide /usr/bin/dotlock (dotlock) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/dotlock.1.gz because associated file /usr/share/man/man1/dotlock.mailutils.1.gz (of link group dotlock) doesn't exist
update-alternatives: using /usr/bin/mail.mailutils to provide /usr/bin/mailx (mailx) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/mailx.1.gz because associated file /usr/share/man/man1/mail.mailutils.1.gz (of link group mailx) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/mail.1.gz because associated file /usr/share/man/man1/mail.mailutils.1.gz (of link group mailx) doesn't exist
Processing triggers for libc-bin (2.31-13+deb11u3) ...
Processing triggers for ca-certificates (20210119) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
Removing intermediate container f687790812dd
 ---> ddde0ea6034c
Step 11/20 : COPY pdns.list /etc/apt/sources.list.d/pdns.list
 ---> 50809914fb14
Step 12/20 : COPY dnsdist_preference /etc/apt/preferences.d/dnsdist
 ---> b96332c6b1e2
Step 13/20 : RUN curl -sL https://repo.powerdns.com/FD380FBB-pub.asc | apt-key add - && apt-get update && apt-get -y install dnsdist && apt-get dist-upgrade -y && apt-get clean -y && rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/*
 ---> Running in bd1d7565210c
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
OK
Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
Hit:2 http://deb.debian.org/debian bullseye InRelease
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
Get:4 http://repo.powerdns.com/debian bullseye-dnsdist-17 InRelease [1792 B]
Get:5 http://repo.powerdns.com/debian bullseye-dnsdist-17/main amd64 Packages [894 B]
Fetched 2686 B in 0s (8462 B/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  libbsd0 libcap2 libcdb1 libedit2 libfstrm0 libgdbm-compat4 libgdbm6
  libh2o-evloop0.13 liblmdb0 libluajit-5.1-2 libluajit-5.1-common libmd0
  libpci3 libperl5.32 libre2-9 libsensors-config libsensors5 libsnmp-base
  libsnmp40 libsodium23 libwrap0 libwslay1 pci.ids perl perl-modules-5.32
Suggested packages:
  gdbm-l10n lm-sensors snmp-mibs-downloader perl-doc libterm-readline-gnu-perl
  | libterm-readline-perl-perl make libtap-harness-archive-perl
The following NEW packages will be installed:
  dnsdist libbsd0 libcap2 libcdb1 libedit2 libfstrm0 libgdbm-compat4 libgdbm6
  libh2o-evloop0.13 liblmdb0 libluajit-5.1-2 libluajit-5.1-common libmd0
  libpci3 libperl5.32 libre2-9 libsensors-config libsensors5 libsnmp-base
  libsnmp40 libsodium23 libwrap0 libwslay1 pci.ids perl perl-modules-5.32
0 upgraded, 26 newly installed, 0 to remove and 1 not upgraded.
Need to get 15.2 MB of archives.
After this operation, 68.0 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bullseye/main amd64 perl-modules-5.32 all 5.32.1-4+deb11u2 [2823 kB]
Get:2 http://repo.powerdns.com/debian bullseye-dnsdist-17/main amd64 dnsdist amd64 1.7.1-1pdns.bullseye [2031 kB]
Get:3 http://deb.debian.org/debian bullseye/main amd64 libgdbm6 amd64 1.19-2 [64.9 kB]
Get:4 http://deb.debian.org/debian bullseye/main amd64 libgdbm-compat4 amd64 1.19-2 [44.7 kB]
Get:5 http://deb.debian.org/debian bullseye/main amd64 libperl5.32 amd64 5.32.1-4+deb11u2 [4106 kB]
Get:6 http://deb.debian.org/debian bullseye/main amd64 perl amd64 5.32.1-4+deb11u2 [293 kB]
Get:7 http://deb.debian.org/debian bullseye/main amd64 libcap2 amd64 1:2.44-1 [23.6 kB]
Get:8 http://deb.debian.org/debian bullseye/main amd64 libcdb1 amd64 0.78+b1 [13.2 kB]
Get:9 http://deb.debian.org/debian bullseye/main amd64 libmd0 amd64 1.0.3-3 [28.0 kB]
Get:10 http://deb.debian.org/debian bullseye/main amd64 libbsd0 amd64 0.11.3-1 [108 kB]
Get:11 http://deb.debian.org/debian bullseye/main amd64 libedit2 amd64 3.1-20191231-2+b1 [96.7 kB]
Get:12 http://deb.debian.org/debian bullseye/main amd64 libfstrm0 amd64 0.6.0-1+b1 [21.5 kB]
Get:13 http://deb.debian.org/debian bullseye/main amd64 libwslay1 amd64 1.1.1-2 [11.7 kB]
Get:14 http://deb.debian.org/debian bullseye/main amd64 libh2o-evloop0.13 amd64 2.2.5+dfsg2-6 [182 kB]
Get:15 http://deb.debian.org/debian bullseye/main amd64 liblmdb0 amd64 0.9.24-1 [45.0 kB]
Get:16 http://deb.debian.org/debian bullseye/main amd64 libluajit-5.1-common all 2.1.0~beta3+dfsg-5.3 [46.9 kB]
Get:17 http://deb.debian.org/debian bullseye/main amd64 libluajit-5.1-2 amd64 2.1.0~beta3+dfsg-5.3 [241 kB]
Get:18 http://deb.debian.org/debian bullseye/main amd64 libre2-9 amd64 20210201+dfsg-1 [170 kB]
Get:19 http://deb.debian.org/debian bullseye/main amd64 pci.ids all 0.0~2021.02.08-1 [224 kB]
Get:20 http://deb.debian.org/debian bullseye/main amd64 libpci3 amd64 1:3.7.0-5 [62.7 kB]
Get:21 http://deb.debian.org/debian bullseye/main amd64 libsensors-config all 1:3.6.0-7 [32.3 kB]
Get:22 http://deb.debian.org/debian bullseye/main amd64 libsensors5 amd64 1:3.6.0-7 [52.3 kB]
Get:23 http://deb.debian.org/debian bullseye/main amd64 libwrap0 amd64 7.6.q-31 [59.0 kB]
Get:24 http://deb.debian.org/debian bullseye/main amd64 libsnmp-base all 5.9+dfsg-3 [1736 kB]
Get:25 http://deb.debian.org/debian bullseye/main amd64 libsnmp40 amd64 5.9+dfsg-3+b1 [2550 kB]
Get:26 http://deb.debian.org/debian bullseye/main amd64 libsodium23 amd64 1.0.18-1 [161 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 15.2 MB in 0s (67.0 MB/s)
Selecting previously unselected package perl-modules-5.32.
(Reading database ... 9407 files and directories currently installed.)
Preparing to unpack .../00-perl-modules-5.32_5.32.1-4+deb11u2_all.deb ...
Unpacking perl-modules-5.32 (5.32.1-4+deb11u2) ...
Selecting previously unselected package libgdbm6:amd64.
Preparing to unpack .../01-libgdbm6_1.19-2_amd64.deb ...
Unpacking libgdbm6:amd64 (1.19-2) ...
Selecting previously unselected package libgdbm-compat4:amd64.
Preparing to unpack .../02-libgdbm-compat4_1.19-2_amd64.deb ...
Unpacking libgdbm-compat4:amd64 (1.19-2) ...
Selecting previously unselected package libperl5.32:amd64.
Preparing to unpack .../03-libperl5.32_5.32.1-4+deb11u2_amd64.deb ...
Unpacking libperl5.32:amd64 (5.32.1-4+deb11u2) ...
Selecting previously unselected package perl.
Preparing to unpack .../04-perl_5.32.1-4+deb11u2_amd64.deb ...
Unpacking perl (5.32.1-4+deb11u2) ...
Selecting previously unselected package libcap2:amd64.
Preparing to unpack .../05-libcap2_1%3a2.44-1_amd64.deb ...
Unpacking libcap2:amd64 (1:2.44-1) ...
Selecting previously unselected package libcdb1:amd64.
Preparing to unpack .../06-libcdb1_0.78+b1_amd64.deb ...
Unpacking libcdb1:amd64 (0.78+b1) ...
Selecting previously unselected package libmd0:amd64.
Preparing to unpack .../07-libmd0_1.0.3-3_amd64.deb ...
Unpacking libmd0:amd64 (1.0.3-3) ...
Selecting previously unselected package libbsd0:amd64.
Preparing to unpack .../08-libbsd0_0.11.3-1_amd64.deb ...
Unpacking libbsd0:amd64 (0.11.3-1) ...
Selecting previously unselected package libedit2:amd64.
Preparing to unpack .../09-libedit2_3.1-20191231-2+b1_amd64.deb ...
Unpacking libedit2:amd64 (3.1-20191231-2+b1) ...
Selecting previously unselected package libfstrm0:amd64.
Preparing to unpack .../10-libfstrm0_0.6.0-1+b1_amd64.deb ...
Unpacking libfstrm0:amd64 (0.6.0-1+b1) ...
Selecting previously unselected package libwslay1:amd64.
Preparing to unpack .../11-libwslay1_1.1.1-2_amd64.deb ...
Unpacking libwslay1:amd64 (1.1.1-2) ...
Selecting previously unselected package libh2o-evloop0.13:amd64.
Preparing to unpack .../12-libh2o-evloop0.13_2.2.5+dfsg2-6_amd64.deb ...
Unpacking libh2o-evloop0.13:amd64 (2.2.5+dfsg2-6) ...
Selecting previously unselected package liblmdb0:amd64.
Preparing to unpack .../13-liblmdb0_0.9.24-1_amd64.deb ...
Unpacking liblmdb0:amd64 (0.9.24-1) ...
Selecting previously unselected package libluajit-5.1-common.
Preparing to unpack .../14-libluajit-5.1-common_2.1.0~beta3+dfsg-5.3_all.deb ...
Unpacking libluajit-5.1-common (2.1.0~beta3+dfsg-5.3) ...
Selecting previously unselected package libluajit-5.1-2:amd64.
Preparing to unpack .../15-libluajit-5.1-2_2.1.0~beta3+dfsg-5.3_amd64.deb ...
Unpacking libluajit-5.1-2:amd64 (2.1.0~beta3+dfsg-5.3) ...
Selecting previously unselected package libre2-9:amd64.
Preparing to unpack .../16-libre2-9_20210201+dfsg-1_amd64.deb ...
Unpacking libre2-9:amd64 (20210201+dfsg-1) ...
Selecting previously unselected package pci.ids.
Preparing to unpack .../17-pci.ids_0.0~2021.02.08-1_all.deb ...
Unpacking pci.ids (0.0~2021.02.08-1) ...
Selecting previously unselected package libpci3:amd64.
Preparing to unpack .../18-libpci3_1%3a3.7.0-5_amd64.deb ...
Unpacking libpci3:amd64 (1:3.7.0-5) ...
Selecting previously unselected package libsensors-config.
Preparing to unpack .../19-libsensors-config_1%3a3.6.0-7_all.deb ...
Unpacking libsensors-config (1:3.6.0-7) ...
Selecting previously unselected package libsensors5:amd64.
Preparing to unpack .../20-libsensors5_1%3a3.6.0-7_amd64.deb ...
Unpacking libsensors5:amd64 (1:3.6.0-7) ...
Selecting previously unselected package libwrap0:amd64.
Preparing to unpack .../21-libwrap0_7.6.q-31_amd64.deb ...
Unpacking libwrap0:amd64 (7.6.q-31) ...
Selecting previously unselected package libsnmp-base.
Preparing to unpack .../22-libsnmp-base_5.9+dfsg-3_all.deb ...
Unpacking libsnmp-base (5.9+dfsg-3) ...
Selecting previously unselected package libsnmp40:amd64.
Preparing to unpack .../23-libsnmp40_5.9+dfsg-3+b1_amd64.deb ...
Unpacking libsnmp40:amd64 (5.9+dfsg-3+b1) ...
Selecting previously unselected package libsodium23:amd64.
Preparing to unpack .../24-libsodium23_1.0.18-1_amd64.deb ...
Unpacking libsodium23:amd64 (1.0.18-1) ...
Selecting previously unselected package dnsdist.
Preparing to unpack .../25-dnsdist_1.7.1-1pdns.bullseye_amd64.deb ...
Unpacking dnsdist (1.7.1-1pdns.bullseye) ...
Setting up liblmdb0:amd64 (0.9.24-1) ...
Setting up libre2-9:amd64 (20210201+dfsg-1) ...
Setting up pci.ids (0.0~2021.02.08-1) ...
Setting up libsodium23:amd64 (1.0.18-1) ...
Setting up libcdb1:amd64 (0.78+b1) ...
Setting up libsnmp-base (5.9+dfsg-3) ...
Setting up perl-modules-5.32 (5.32.1-4+deb11u2) ...
Setting up libfstrm0:amd64 (0.6.0-1+b1) ...
Setting up libsensors-config (1:3.6.0-7) ...
Setting up libcap2:amd64 (1:2.44-1) ...
Setting up libwrap0:amd64 (7.6.q-31) ...
Setting up libluajit-5.1-common (2.1.0~beta3+dfsg-5.3) ...
Setting up libsensors5:amd64 (1:3.6.0-7) ...
Setting up libpci3:amd64 (1:3.7.0-5) ...
Setting up libmd0:amd64 (1.0.3-3) ...
Setting up libbsd0:amd64 (0.11.3-1) ...
Setting up libgdbm6:amd64 (1.19-2) ...
Setting up libwslay1:amd64 (1.1.1-2) ...
Setting up libedit2:amd64 (3.1-20191231-2+b1) ...
Setting up libluajit-5.1-2:amd64 (2.1.0~beta3+dfsg-5.3) ...
Setting up libgdbm-compat4:amd64 (1.19-2) ...
Setting up libperl5.32:amd64 (5.32.1-4+deb11u2) ...
Setting up libh2o-evloop0.13:amd64 (2.2.5+dfsg2-6) ...
Setting up perl (5.32.1-4+deb11u2) ...
Setting up libsnmp40:amd64 (5.9+dfsg-3+b1) ...
Setting up dnsdist (1.7.1-1pdns.bullseye) ...
Processing triggers for libc-bin (2.31-13+deb11u3) ...
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages will be upgraded:
  libssl1.1
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 1558 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://security.debian.org/debian-security bullseye-security/main amd64 libssl1.1 amd64 1.1.1n-0+deb11u2 [1558 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 1558 kB in 0s (23.0 MB/s)
(Reading database ... 11654 files and directories currently installed.)
Preparing to unpack .../libssl1.1_1.1.1n-0+deb11u2_amd64.deb ...
Unpacking libssl1.1:amd64 (1.1.1n-0+deb11u2) over (1.1.1n-0+deb11u1) ...
Setting up libssl1.1:amd64 (1.1.1n-0+deb11u2) ...
Processing triggers for libc-bin (2.31-13+deb11u3) ...
Removing intermediate container bd1d7565210c
 ---> 25bb3dccf4ac
Step 14/20 : COPY configs/dnsdist/dnsdist.conf /etc/dnsdist/dnsdist.conf
 ---> 9f2384e65527
Step 15/20 : COPY configs/dnsdist/conf.d/SniDust.conf /etc/dnsdist/conf.d/SniDust.conf
 ---> c3e7808a3d6a
Step 16/20 : COPY configs/sniproxy/sniproxy.conf /etc/sniproxy.conf
 ---> 8f5450c66d59
Step 17/20 : COPY domains.lst /tmp/domains.lst
 ---> f856b5b910c8
Step 18/20 : COPY entrypoint.sh /entrypoint.sh
 ---> b84396273578
Step 19/20 : RUN chmod +x /entrypoint.sh
 ---> Running in 0002b82a40a6
Removing intermediate container 0002b82a40a6
 ---> 5ccdfe7052fd
Step 20/20 : ENTRYPOINT ["/usr/bin/tini", "--", "/entrypoint.sh"]
 ---> Running in 6f9645453ef2
Removing intermediate container 6f9645453ef2
 ---> 461c24b378f5
Successfully built 461c24b378f5
Successfully tagged seji64/snidust:latest`
ubuntu@myproxy-2:~/SniDust$ sudo docker image list
REPOSITORY       TAG       IMAGE ID       CREATED         SIZE
seji64/snidust   latest    461c24b378f5   3 seconds ago   259MB
debian           11-slim   ed595c52174a   2 weeks ago     80.4MB
ubuntu@myproxy-2:~/SniDust$ sudo docker run -dit -e ALLOWED_CLIENTS="127.0.0.1, 171.4.236.109" -e EXTERNAL_IP=185.79.235.218 -p 443:443 -p 80:80 -p 53:5300/udp 461c24b378f5
d576db33afa51be12ba469df95041fe08b46079178ff176fa956490cc060dc8a
docker: Error response from daemon: driver failed programming external connectivity on endpoint sleepy_snyder (b12e27e7da384445be9908bc825686ebbe0c7f186799ad47385ed02c0cbe179d): Error starting userland proxy: listen udp4 0.0.0.0:53: bind: address already in use.
ubuntu@myproxy-2:~/SniDust$ sudo systemctl stop systemd-resolved
ubuntu@myproxy-2:~/SniDust$ sudo systemctl disable systemd-resolved
Removed /etc/systemd/system/multi-user.target.wants/systemd-resolved.service.
Removed /etc/systemd/system/dbus-org.freedesktop.resolve1.service.
ubuntu@myproxy-2:~/SniDust$ sudo docker run -dit -e ALLOWED_CLIENTS="127.0.0.1, 171.4.236.109" -e EXTERNAL_IP=185.79.235.230 -p 443:443 -p 80:80 -p 53:5300/udp 461c24b378f5
3c8a9c9ffb64469e0528e595d031eb4bf5e098f547a409178d6e930742960b4c
ubuntu@myproxy-2:~/SniDust$ sudo docker container list
CONTAINER ID   IMAGE          COMMAND                  CREATED         STATUS         PORTS                                                                                                             NAMES
3c8a9c9ffb64   461c24b378f5   "/usr/bin/tini -- /e…"   5 seconds ago   Up 4 seconds   0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp, 0.0.0.0:53->5300/udp, :::53->5300/udp   gracious_leakey

Afterwards, I added the DNS server to my network settings on my client and performed a NSLOOKUP for confirming it uses my new DNS server

nslookup google.ch
Server:     185.79.235.230
Address:    185.79.235.230#53

Non-authoritative answer:
Name:   google.ch
Address: 216.58.196.3

For me, it looks like my DNS server is running and is able to resolve the DNS request. I tried to access Netflix.com in the hope that it will show me the Swiss movie collection. However, it still shows the Thai collection.

Can you provide any guidance on troubleshooting?

Thank you!

Seji64 commented 2 years ago

I didn‘t test it with Netflix. Did you use a new private Window? If you visit Netflix.com - get you redirected to Netflix.com/ch ?

MTHCH commented 2 years ago

It works with Netflix now. I didn't use a new private window, which was the issue.

I am still struggling for making it work with SRF Live though. It looks like they got some sophisicated detection in place.

Seji64 commented 2 years ago

I don‘t the have a netter detection as netflix. Propably the just Not serving the stream over the Srf.ch Domain. So i think the correct domain is missing. Maybe i find time at the weekend to have a Look at This issue

Seji64 commented 2 years ago

i found the specifc domains. See Commit 088e059. Works well for me in chrome. Firefox did not work in my case.

MTHCH commented 2 years ago

Thank you for looking into it!

I just did a new installation, but it still doesn't work for me. I also added a bunch of other domains to the list, which I identified when I analyzed the traffic:

srf.ch
ws.srf.ch
il.srgssr.ch
srfzwei-euwe.akamaized.net
srg.live.ott.irdeto.com
cdn.rts.ch
end.mpod.ch
ping.chartbeat.net
sb.scorecardresearch.com
srgsnitch.herokuapp.comh
srgssr01.wt-eu02.net
tp.srgssr.ch
gstatic.com
srf1-euwe.akamaized.net

Which Cloud Provider did you use?

Seji64 commented 2 years ago

Can you Post the Logs of the Container? docker logs CONTAINERNAME

Seji64 commented 2 years ago

I will close the Ticket. Feel free to reopen it if needed