Nits

Frank Denis 2020-05-21 22:28:57 +02:00
parent 6015f954b1
commit e7f5dafb76
2 changed files with 5 additions and 6 deletions

@ -2,7 +2,7 @@
Note: these instructions are for users familiar with the command line.
The easiest way to use `dnscrypt-proxy` on Windows is via [Simple DNSCrypt](https://simplednscrypt.org/) or <br/>[YogaDNS](https://yogadns.com/) (not opensource) instead.
The easiest way to use `dnscrypt-proxy` on Windows is via [Simple DNSCrypt](https://simplednscrypt.org/) or [YogaDNS](https://yogadns.com/) (not opensource) instead.
Another way for cmd user [LESSLOAD-DNSCrypt](https://github.com/lessload/LESSLOAD-DNSCrypt) (script support Web Portal login).

@ -189,20 +189,19 @@ sudo service network-manager restart
sudo service dnscrypt-proxy restart
```
### Configure .socket (e.g. to change port)
### The `dnscrypt-proxy.socket` file (e.g. to change the local port)
The package from the PPA use .socket instead of .service, so if you want to change the port or customize other options you have to edit this file
The package from the PPA uses unsupported systemd sockets to accept connections. In order to configure the local port, the `dnscrypt-proxy.socket` file needs to be edited instead of the standard `dnscrypt-proxy.toml` file:
```sh
sudo nano /lib/systemd/system/dnscrypt-proxy.socket
```
## Test
```sh
dnscrypt-proxy -resolve github.com
dig dnscrypt.info | grep SERVER # Must show matching nameserver, e.g. 127.0.0.1#53, in resolv.conf
ping -c1 google.com # Should show matching IP and ping successfully
sudo tcpdump # Should show specific resolver if it is not rotating
```
sudo tcpdump -n dst port 443 # Should show specific resolver if it is not rotating
```