From 630e965343803e90cdbeeb30a06cae9edc61db4e Mon Sep 17 00:00:00 2001 From: Silvino Silva Date: Sun, 16 Oct 2016 23:24:52 +0100 Subject: tools network revision --- tools/conf/etc/dnsmasq.conf | 2 ++ tools/conf/etc/rc.d/dnscrypt-proxy | 9 ++------- tools/conf/etc/resolv.conf | 9 +++++++++ 3 files changed, 13 insertions(+), 7 deletions(-) create mode 100644 tools/conf/etc/resolv.conf (limited to 'tools/conf') diff --git a/tools/conf/etc/dnsmasq.conf b/tools/conf/etc/dnsmasq.conf index f09b6a6..dc48d99 100644 --- a/tools/conf/etc/dnsmasq.conf +++ b/tools/conf/etc/dnsmasq.conf @@ -112,6 +112,8 @@ interface=br0 # Or you can specify which interface _not_ to listen on except-interface=wlp7s0 +except-interface=enp8s0 + # Or which to listen on by address (remember to include 127.0.0.1 if # you use this.) listen-address=127.0.0.1 diff --git a/tools/conf/etc/rc.d/dnscrypt-proxy b/tools/conf/etc/rc.d/dnscrypt-proxy index 3f4feea..0874fa6 100755 --- a/tools/conf/etc/rc.d/dnscrypt-proxy +++ b/tools/conf/etc/rc.d/dnscrypt-proxy @@ -16,15 +16,10 @@ USER=nobody PATH=/usr/sbin:/usr/bin:/sbin:/bin DAEMON=/usr/sbin/dnscrypt-proxy NAME=dnscrypt-proxy +RESOLVER=dnscrypt.eu-dk ADDRESS1=77.66.84.233 -ADDRESS2=176.56.237.171 -ADDRESS3=77.66.84.233.443 PNAME1=2.dnscrypt-cert.resolver2.dnscrypt.eu -PNAME2=2.dnscrypt-cert.resolver1.dnscrypt.eu PKEY1=3748:5585:E3B9:D088:FD25:AD36:B037:01F5:520C:D648:9E9A:DD52:1457:4955:9F0A:9955 -PKEY2=67C0:0F2C:21C5:5481:45DD:7CB4:6A27:1AF2:EB96:9931:40A3:09B6:2B8D:1653:1185:9C66 -PKEY2=67C0:0F2C:21C5:5481:45DD:7CB4:6A27:1AF2:EB96:9931:40A3:09B6:2B8D:1653:1185:9C66 -PKEY2=3748:5585:E3B9:D088:FD25:AD36:B037:01F5:520C:D648:9E9A:DD52:1457:4955:9F0A:9955 case "$1" in start) @@ -33,7 +28,7 @@ case "$1" in --resolver-address=$ADDRESS3 \ --provider-name=$PNAME1 \ --provider-key=$PKEY3 \ - --resolver-name="dnscrypt.eu-dk" + --resolver-name=$RESOLVER ;; stop) echo "Stopping $NAME" diff --git a/tools/conf/etc/resolv.conf b/tools/conf/etc/resolv.conf new file mode 100644 index 0000000..b568a6c --- /dev/null +++ b/tools/conf/etc/resolv.conf @@ -0,0 +1,9 @@ +# Generated by dhcpcd from wlp7s0.dhcp +# /etc/resolv.conf.head can replace this line +nameserver 127.0.0.1 +# CCC server +# nameserver 213.73.91.35 +# OpenNIC Servers +# nameserver 192.71.249.83 +# nameserver 5.135.183.146 +# /etc/resolv.conf.tail can replace this line -- cgit 1.4.1-2-gfad0