Posts

Showing posts from December, 2017

DNS over HTTPS using Dingo

UPDATE:
It is easier to achive similiar result using systemd
Edit /etc/systemd/resolved.conf and change these lines:
FallbackDNS=8.8.8.8 8.8.4.4 2001:4860:4860::8888 2001:4860:4860::8844
DNSSEC=yes

systemctl daemon-reload
and use 8.8.8.8 as your dns in network manager


Download binary
https://github.com/pforemski/dingo

and copy to /usr/local/bin/

Create systemd unit

vim /etc/systemd/system


[Unit]
Description=Dingo
Wants=network.target

[Service]
Type=simple
ExecStart=/usr/local/bin/dingo-linux-amd64 -port 53 -gdns:auto
StandardOutput=null


Restart=on-abort

[Install]
WantedBy=multi-user.target



systemctl daemon-reload
systemctl enable dingo
systemctl start dingo

Use it in resolv.conf or enter in Network Manager
echo nameserver 127.0.0.1 > /etc/resolv.conf