... | @@ -20,7 +20,7 @@ First Pi-Hole needs to be installed because it uses the dnsmasq service. |
... | @@ -20,7 +20,7 @@ First Pi-Hole needs to be installed because it uses the dnsmasq service. |
|
* `wget install.pi-hole.net -O pihole.sh`;
|
|
* `wget install.pi-hole.net -O pihole.sh`;
|
|
* Make it executable by using `chmod +x pihole.sh`;
|
|
* Make it executable by using `chmod +x pihole.sh`;
|
|
* Start the installation by using `./pihole.sh`;
|
|
* Start the installation by using `./pihole.sh`;
|
|
* Select custom DNS provider and use x.x.x.4 and 8.8.8.8 as IP-address;
|
|
* Select custom DNS provider and use x.x.x.x and 8.8.8.8 as IP-address;
|
|
* Change the password by using `pihole -a -p "****"`;
|
|
* Change the password by using `pihole -a -p "****"`;
|
|
|
|
|
|
### DNS server
|
|
### DNS server
|
... | @@ -39,7 +39,7 @@ resolv-file=/etc/resolvconf/resolv.conf.d/base |
... | @@ -39,7 +39,7 @@ resolv-file=/etc/resolvconf/resolv.conf.d/base |
|
interface=eth0
|
|
interface=eth0
|
|
|
|
|
|
listen-address=127.0.0.1
|
|
listen-address=127.0.0.1
|
|
listen-address=x.x.x.4 # My IP-address
|
|
listen-address=x.x.x.x # My IP-address
|
|
```
|
|
```
|
|
* Change `IGNORE_RESOLVECONF` into `yes` in `/etc/default/dnsmasq`;
|
|
* Change `IGNORE_RESOLVECONF` into `yes` in `/etc/default/dnsmasq`;
|
|
* Fill in the [`/etc/hosts`]() file to suit the networkdesign;
|
|
* Fill in the [`/etc/hosts`]() file to suit the networkdesign;
|
... | | ... | |