-
Notifications
You must be signed in to change notification settings - Fork 11
wrong Admin Console URL when using two Pi-Holes #22
Comments
Hey @Th3M3, thanks for the heads up on this issue! Changing the address to As it stands though, this issue would be a very low priority for me (as I'm focusing most of my time directly on the Pi-hole codebase), and as a workaround, I might suggest that you set up a cron job to sync your Blacklist/Whitelist/Wildcards to your second Pi-hole daily? You could use this code as a reference for how to do that! 😄 |
As I understand it correctly, the Actually, I don't want to sync the Block/Whitelists. For testing, I changed the url in |
It will load, but are you able to whitelist, or blacklist anything? My knowledge of the workings of Admin Console aren't exactly current, but my understanding is that most functions that allow changes via the Admin Console will not work. |
I've tried it out and I can whitelist and blacklist domains, and changing Upstream DNS Server. For sure, because I do this on Pi No. 2(which is for development and not the client's standard DNS-Server), the changes will only used for the clients witch explicit use this Pi as DNS. What I want to avoid is that a link on one Pi directs me to the other. That shouldn't be and otherwise it confuses me and it could happen that I accidentally do the setting on the wrong Pi. |
I think I now understand what you mean. I have added But shouldn't there come up another message and tell me to flush my dns cache? When I follow the link and open up |
I've made changes that'll replace links to |
I am using two Raspberrys in my network with pi-hole installation.
No. 1 is for normal use and my DHCP-Server point to it
No. 2 for testing and development.
Now I get the following issue:
If I open my browser and type in the IP-Adress of Pi No. 2, then I get his "Website Blocked"-Page - as expected.
But if I click to the Admin Console Link (
Did you mean to go to Pi-hole Admin Console?
), I land on Raspberry No. 1, because it is the client's DNS Server andpi.hole
resolves to his IP-Adress.So what about changing the Admin Console URL to
/admin
instead of the absolute urlpi.hole
?The text was updated successfully, but these errors were encountered: