diff --git a/README.md b/README.md index dfb02a5..f5cbc6d 100644 --- a/README.md +++ b/README.md @@ -90,23 +90,23 @@ Test your configuration with dig > __Note__: change the IP to your new Pi-Hole's IP ```bash -dig google.com @192.168.1.248 +dig google.com @192.168.1.5 # Expecting "status: NOERROR" ``` You can also test for DNSSEC functionality: ```bash -dig sigfail.verteiltesysteme.net @192.168.1.248 +dig sigfail.verteiltesysteme.net @192.168.1.5 # Expecting "status: SERVFAIL" -dig sigok.verteiltesysteme.net @192.168.1.248 +dig sigok.verteiltesysteme.net @192.168.1.5 # Expecting "status: NOERROR" ``` ### Serve it! -If all looks good, configure your router/DHCP server to serve your new Pi-Hole IP address (`192.168.1.248`) to your clients. +If all looks good, configure your router/DHCP server to serve your new Pi-Hole IP address (`192.168.1.5`) to your clients. > Note: it may take some time for the current DHCP leases to renew and for clients to get the new DNS service info -- generally the default is 24 hours or less. diff --git a/docker-compose.yaml b/docker-compose.yaml index 907b234..d6c2185 100755 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -14,10 +14,11 @@ services: - 53/udp # - 67/udp # Uncomment if you want to use Pi-Hole for DHCP - 80/tcp + - 22/tcp environment: - ServerIP: 192.168.1.248 + ServerIP: 192.168.1.5 WEBPASSWORD: ${WEBPASSWORD} - DNS1: 192.168.1.249 + DNS1: 192.168.1.6 DNS2: 192.168.1.13 volumes: - /volume1/docker/pihole-unbound/pihole/volume:/etc/pihole:rw @@ -27,7 +28,7 @@ services: - /volume1/docker/pihole-unbound/pihole/config/pihole-FTL.conf:/etc/pihole/pihole-FTL.conf:ro networks: home: - ipv4_address: 192.168.1.248 + ipv4_address: 192.168.1.5 restart: always unbound: container_name: unbound @@ -39,7 +40,7 @@ services: - 53/udp networks: home: - ipv4_address: 192.168.1.249 + ipv4_address: 192.168.1.6 restart: always networks: @@ -51,4 +52,4 @@ networks: config: - subnet: 192.168.1.0/24 gateway: 192.168.1.1 - ip_range: 192.168.1.248/30 + ip_range: 192.168.1.5/30 # 192.168.1.5 and 192.168.1.6 diff --git a/pihole/config/dnsmasq.conf b/pihole/config/dnsmasq.conf index 8f77de7..d92b275 100755 --- a/pihole/config/dnsmasq.conf +++ b/pihole/config/dnsmasq.conf @@ -1,2 +1,2 @@ address=/gateway/192.168.1.1 -address=/pi-hole/pi-hole.local/192.168.1.248 \ No newline at end of file +address=/pi-hole/pi-hole.local/192.168.1.5 \ No newline at end of file diff --git a/pihole/config/hosts b/pihole/config/hosts index d0bbdde..c21bbf7 100755 --- a/pihole/config/hosts +++ b/pihole/config/hosts @@ -2,4 +2,4 @@ ::1 pi-hole 192.168.1.1 gateway -192.168.1.248 pi-hole \ No newline at end of file +192.168.1.5 pi-hole \ No newline at end of file