MaTi Posted January 24, 2020 Share Posted January 24, 2020 Hi, I have been googling and searchign these forums, but to no avail. Maybe it's my poor Google/search skills. but still I hope someone can advise me. I succesfully run a docker container with Pihole. I also run several other VM's/dockers, ie Nextcloud. These work perfectly fine when approached from the outside, but when I try to access them from within the same LAN over their domain names, my pfsense blocks all due to suspected DNS rebind attacks and god knows what.. So, what I'd like to do is manually hard code some entries in the host file of the docker, ie: 192.168.0.100 www.thisismydomain.com If I understand correctly, there's no GUI option for this in Pihole. However, I also see that it seems to inherit the entries from the main host, so there I need to make the adjustments. After altering the hosts file on my unraid server, there a lookup of the domain did result in the prive IP. However, not on the docker, or it's clients requesting dns entries.. Also not after restarting the docker. Also, when rebooting my entire unraid host, the manual adjustments to the hosts file seemed to have disappeared as well.. Does anyone know how to get this fixed please? Thanks in advance! Quote Link to comment
MaTi Posted January 27, 2020 Author Share Posted January 27, 2020 Anyone, please? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.