Freekers / automated-pihole

Automated Self-Updating (Public) Pi-hole Stack using unbound as recursive DNS server with Ansible
https://public-pihole.com
GNU General Public License v3.0
60 stars 10 forks source link

how would this handle 2 or 3 different instances? #6

Closed sudogreg closed 4 years ago

sudogreg commented 5 years ago

Lets say i ran a very small WISP and wanted to try this using 2 or 3 unique public IP addresses (say 23.100.100.11, 23.100.100.12, 23.100.100.13 for example) would the 3 be able to communicate or would there be any issues with them all sharing internal IP addresses as configured?

Freekers commented 5 years ago

If you are installing these 2 or 3 instances on all different Docker hosts, there should be no issue. If you are setting these up on the same Docker host, make sure to rename container and network names in the docker-compose.yml, else they will indeed cause conflicts.

Freekers commented 5 years ago

Also, I just realized, unless your host has the same amount of network adapters and IP addresses as the amount of instances you're trying to setup, it makes no sense to setup multiple instances on the same host due to port exhaustion. I.e. every port can be only assigned once.

sudogreg commented 5 years ago

that makes sense. i actually have 2 hyper-v physical hosts, each one will be running this project so i think it should be ok since they are on 2 different physical machines. i am trying your other comment now

Freekers commented 4 years ago

Closing, as there has been no activity on this issue for almost a year.